> From [EMAIL PROTECTED] Wed May 1 19:51:22 2002 > Date: Wed, 01 May 2002 20:07:16 -0600 (MDT) > From: Richard Loken <[EMAIL PROTECTED]> > Subject: LPRng: Compile probles with 3.8.10 on Tru64 Unix Version 5.1A > To: LPRng Mailing List <[EMAIL PROTECTED]> > > I am here late compiling 3.8.10 and I had three compile problems and I am > very suspicious that I am doing something wrong here. If these were real > problems then somebody else would have seen them before but only one is > documented. What am I doing wrong? > > I am using gcc 3.0.4 and gmake 3.79.1 and I had the following incidents: > > complained about implicit definition of setenv() and unsetenv() > in common/initialize.c > > I undefined HAVE_SETENV and HAVE_UNSETENV in config.h > > didn't like casting void * to int in common/lpd_jobs.c > > This is okay, Craig Small found it first and Patrick acknowledged it. > > cannot compare unsigned to int in common/lpr.c > if (n = sizeof... > > I edited the file to cast n to unsigned int. > > I am very suspicious of the whole business... > > Richard Loken VE6BSV, Systems Programmer - VMS : "...underneath those > Athabasca University : tuques we wear, our heads > Athabasca, Alberta Canada : are naked!" > ** [EMAIL PROTECTED] ** : - Arthur Black > > > ___ > This communication is intended for the use of the recipient to whom it > is addressed, and may contain confidential, personal, and or privileged > information. Please contact us immediately if you are not the intended > recipient of this communication, and do not copy, distribute, or take > action relying on it. Any communications received in error, or > subsequent reply, should be deleted or destroyed. > ---
You have just encountered the Curse of True64. The 'HAVE_SETENV' was set because 'configure' found them . The bad news is that they are not defined in stdlib.h (C standard library) OR they are defined as a macro that is being abused in some way. The 'casting' and signed to unsigned compares should be fixed in the next release If somebody gave me one of these machines it sure would help. Or even network access... Patrick Powell Astart Technologies, [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
