hi,
try the SUN cc-compiler, this worked for me:
--with-cc=/opt/SUNWspro/bin/cc
regards
~christoph
On Thu, 3 Jan 2002, David L. R. Houston wrote:
> I'm trying to make LPRng-3.8.4 on a Solaris box running Solaris 8.
>
> I've ensured the correct path (/usr/local/bin/ and then /usr/ccs/bin); I
> have gcc running fine (have built a number of things on this same box).
>
> Anyway I try it, I get this after make:
>
> ./common/lpd_dispatch.c: In function `Service_connection':
> ./common/lpd_dispatch.c:180: `AF_LOCAL' undeclared (first use in this function)
> ./common/lpd_dispatch.c:180: (Each undeclared identifier is reported only once
> ./common/lpd_dispatch.c:180: for each function it appears in.)
> make[1]: *** [lpd_dispatch.lo] Error 1
> make[1]: Leaving directory `/usr/local/src/LPRng-3.8.4/src'
> make: *** [src] Error 2
>
> I tried configure with the --with-cc=gcc option - no change. I tried
> adding in the cppopts & ldopts (step 3 of the Installation problems on the
> web page) - no change.
>
> I'm running the Sun ld - I believe that's correct. Running GNU Make
> version 3.79.1.
>
> I'll admit I am not the sysadmin wiz that many others are. Any insight is
> appreciated.
>
> David Houston
> CIT Client Services Coordinator
> University of Vermont
>
>
>
>
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
>
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------