> From [EMAIL PROTECTED] Fri Jul 19 14:34:35 2002 > Date: Fri, 19 Jul 2002 13:41:48 -0700 (PDT) > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: LPRng: Compiling LPRng-3.8.12 HPUX10.20 > > > Has anyone been able to compile LPRng-3.8.12 on HPUX10.20 > > I'm using gmake3.70 gcc3.02 and I'm getting > > the following errors. > > Can anyone help? > > gcc -I.. -I./include -I./common -D_HPUX_SOURCE=1 -g -W -Wall -Werror > -Wno-unused -g -O2 -D_HPUX_SOURCE=1 -g -W -Wall -Werror -Wno-unused > -DHAVE_CONFIG_H -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=\"/bin:/usr/bin:/usr/local/bin\" > -DLD_LIBRARY_PATH=\"/lib:/usr/lib:/usr/local/lib\" > -DLOCKFILE=\"/var/run/lpd\" -DCLEAR=\"/bin/clear\" -DUSERID=\"daemon\" > -DGROUPID=\"daemon\" -DLOCALEDIR=\"/usr/share/locale\" -DDONE_JOBS=\"1\" > -DDONE_JOBS_MAX_AGE=\"0\" -DUNIXSOCKETPATH=\"/var/run/lprng\" > -DPRUTIL=\"/bin/pr\" -c ./common/linksupport.c -fPIC -DPIC -o > .libs/linksupport.lo > cc1: warnings being treated as errors > common/linksupport.c: In function `Link_send': > common/linksupport.c:959: warning: passing arg 2 of `select' from > incompatible pointer type
I suspect that the new version of configure I am using is screwing up again. Check to see what the select() system requires. ># man select OR look in /usr/include/*.h for select. and find out what the parameters are. Next, look in conf.h and see if HPUX is defined and what its value is: Here is the code in LPRng/src/include/portable.h that handles this problem: #if defined(HPUX) && HPUX<110 # undef NONBLOCK # define NONBLOCK (O_NONBLOCK) # undef FD_SET_FIX # define FD_SET_FIX(X) (int *) #endif The possibilities are: 1. HPUX is not defined 2. HPUX has wrong value 3. the (int *) should be something else. Patrick ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
