Longina, Good spot I hadn't noticed the cc (dur!). However, after removing cc so it can't get picked up it still fails the same:
gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -g -W -W all -Werror -Wno-unused -DHAVE_CONFIG_H -c -o lpf.o ./common/lpf.c common/lpf.c:191: warning: conflicting types for built-in function `log' make[1]: *** [lpf.o] Error 1 make[1]: Leaving directory `/var/spool/pkg/LPRng-3.8.21/src' make: *** [src] Error 2 Still stumped. Mike. -- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Longina Przybyszewska Sent: Tuesday, 26 August 2003 20:43 To: [EMAIL PROTECTED] Subject: Re: LPRng: unable to make lprng on solaris8 On Tue, 26 Aug 2003, Mike Bowman wrote: > Any help with the following would be most appreciated. > > I try to make LPRng-3.8.21 on our only Solaris8 machine and make fails > after compiling many modules with: > > cc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused ^^^^^^^ try to compile with gcc compiler; I had no problems compiling on Solaris{6,7,8,9} with gcc. Longina -- Longina Przybyszewska, system programmer Dept. of Math. & Comp. Sci. - IMADA University of Southern Denmark, Odense Campusvej 55,DK-5230 Odense M, Denmark tel: +45 6550 2359 - http://www.imada.sdu.dk email: [EMAIL PROTECTED] -- > -g -W -Wa > ll -Werror -Wno-unused -DHAVE_CONFIG_H -c -o lpf.o ./common/lpf.c > common/lpf.c:191: warning: conflicting types for built-in function `log' > make[1]: *** [lpf.o] Error 1 > make[1]: Leaving directory `/var/spool/pkg/LPRng-3.8.21/src' > make: *** [src] Error 2 > > Line 191 of lpf.c is: > void log( char *msg, ... ); > > Solaris8 machine contains all recommended Solaris8 patches, gcc, libgcc, > gnu make and all other bits and bobs LPRng requires. > > I am using default LPRng ./configure > > PATH=/usr/local/bin:/usr/ccs/bin:/etc:/bin:/sbin:/usr/bin:/usr/sbin > > I have tried a few older versions of LPRng on Solaris8, always fails the > same way. > Have also tried specifying different paths, tried a few options, but > always fails the same. > This works fine on all our Solaris7 machines. > I have searched the web and newsgroups for ideas to no avail. > Has anyone else had this? Am I doing something obviously stupid? > > Thanks, > Mike. > (unix sys admin, Western Australia) > > > ------------------------------------------------------------------------ ----- > 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. ------------------------------------------------------------------------ ----- ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
