LPRng: compile fails

Torsten Westermann westermann at linux-provider.net
Mon Jan 22 16:38:53 PST 2001


I have errors to compile LPRng in 'chroot':

../configure --prefix=/usr --sysconfdir=/etc --disable-setuid 
--disable-kerberos-checks
make

then later:

gcc -O3 -mcpu=k6 -march=k6 -Wall -Werror -DHAVE_CONFIG_H -I.. -I./include 
-I./common -DCHOWN=\"/bin/chown\" -DCHGRP=\"/bin/chgrp\" 
-DPRINTCAP_PATH=\"/etc/printcap\" -DLPD_PRINTCAP_PATH=\"/etc/lpd_printcap\" 
-DLPD_PERMS_PATH=\"/etc/lpd.perms\" -DLPD_CONF_PATH=\"/etc/lpd.conf\" 
-DREQUIRE_CONFIGFILES=\"1\" -DFILTER_PATH=\"\" -DLD_LIBRARY_PATH=\"\" 
-DLOCKFILE=\"/var/run/lpd\" -DCLEAR=\"/usr/bin/clear\" -DUSERID=\"daemon\" 
-DGROUPID=\"daemon\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o linksupport.o 
../common/linksupport.c
cc1: warnings being treated as errors
../common/linksupport.c: In function `getconnection':
../common/linksupport.c:222: warning: variable `sock' might be clobbered by 
`longjmp' or `vfork'
../common/linksupport.c:226: warning: variable `maxportno' might be clobbered 
by `longjmp' or `vfork'
../common/linksupport.c:226: warning: variable `minportno' might be clobbered 
by `longjmp' or `vfork'
../common/linksupport.c:231: warning: variable `port_count' might be clobbered 
by `longjmp' or `vfork'
../common/linksupport.c:232: warning: variable `connect_count' might be 
clobbered by `longjmp' or `vfork'
../common/linksupport.c:233: warning: variable `port_number' might be 
clobbered by `longjmp' or `vfork'
../common/linksupport.c:236: warning: variable `address_count' might be 
clobbered by `longjmp' or `vfork'
../common/linksupport.c:404: warning: variable `sock' might be clobbered by 
`longjmp' or `vfork'
../common/linksupport.c:429: warning: variable `sock' might be clobbered by 
`longjmp' or `vfork'
../common/linksupport.c:456: warning: variable `sock' might be clobbered by 
`longjmp' or `vfork'
make[1]: *** [linksupport.o] Error 1
make[1]: Leaving directory `/usr/src/LPRng-3.7.4/src'
make: *** [src] Error 2

I have gcc-2.95.2.1, glibc-2.2.1, 2.4 kernel and LPRng-3.7.4.
I haven't got installed kerberos 5 installed.
What is wrong on my system.

double_u

-- 
Torsten Westermann
http://www.linux-provider.net
westermann at linux-provider.net
Mainz / Germany



-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list