On Wed, 27 Aug 2003 07:48:02 +0800
"Mike Bowman" <[EMAIL PROTECTED]> wrote:
> 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
I've had similar problems in the past. Note the message is a "warning"
from GCC, which looks to be quite new.
I'd recommend one of the following:
- use an older GCC (we use 3.2.1 here, but 3.1 or 3.2 series
compilers ought to work)
- remove "-Werror" that will cause the make to fail on any warnings
--
============================================================================
John Perkins | University of Wisconsin-Madison
Associate Researcher | Department of Computer Science
[EMAIL PROTECTED] | 1210 W. Dayton St.
608-262-0438/608-262-9997 FAX | Madison, WI 53706-1685
============================================================================
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------