> If I accept the defaults for ./configure then I can't get it to compile. Here's
> why
> - If I try CC=cc before configure then I get a CC internal assertion error
> trying to compile getopt.c
> - If I let ./configure find Gcc V2.95.3 then I get the following:
> 
> gcc -I.. -I. -I./include -I./common -DAES_SOURCE -g -W -Wall -Werror -Wno-unused
>  -DAES_SOURCE -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c
> ./common/gethostinfo.c  -DPIC -o .libs/gethostinfo.lo
> In file included from ./common/gethostinfo.c:241:
> /usr/include/sys/systeminfo.h:74: warning: `ARCHITECTURE' redefined
> ../config.h:27: warning: this is the location of the previous definition
> gmake[1]: *** [gethostinfo.lo] Error 1

I can't speak to the configure issues Justin brought up.  As for the above error, we 
got a similar error when building on DUX 4.0F:

gcc -I.. -I. -I../../../LPRng-3.8.13/src/include -I../../../LPRng-3.8.13/src/com
mon -I/s/krb5-1.2.1/include -DAES_SOURCE -g -W -Wall -Werror -Wno-unused   -DAES
_SOURCE -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H   -c -o lpr.o ../../../
LPRng-3.8.13/src/common/lpr.c
cc1: warnings being treated as errors
../../../LPRng-3.8.13/src/common/lpr.c: In function `is_exec':
../../../LPRng-3.8.13/src/common/lpr.c:1321: warning: comparison between signed 
and unsigned
../../../LPRng-3.8.13/src/common/lpr.c:1328: warning: comparison between signed 
and unsigned
make[1]: *** [lpr.o] Error 1

(Yes, we are using GNU make.  GCC is version 3.0.3.)

I found editing src/Makefile by hand and removing -Werror allowed the suite of 
programs to build just fine.  Maybe not what the Dr. intended, but it did build.
============================================================================
   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.
-----------------------------------------------------------------------------

Reply via email to