Hi Mike,

if I remember it right I had some  problems too, but it worked out with
the SUN cc compiler which is in the package SUNWspro...

best regards
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


On Thu, 28 Aug 2003, Mike Bowman wrote:

> The make instructions were indeed followed to the letter.
>
> For the record if anyone reads this from the lprng team, versions of
> relevant packages are:
> gcc v3.3, libgcc v3.3, LPRng v3.8.21 (although older versions also tried
> with same result) and gnu make v3.80
>
> After trawling the code, I could not find the offending log function
> defined in lpf.c actually used anywhere, all logging being done using
> syslog functions (log appears to be used in much older versions).  I
> renamed the 'log' function to 'newlog' as a test and tried again.  It
> now compiles up.
>
> Its puzzling why other people haven't had this problem though.
> The Solaris8 box is a SparcStation5 with standard install and no
> significant additions or mods.
>
> Many thanks to those who replied.
>
> Regards,
> Mike.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Longina Przybyszewska
> Sent: Wednesday, 27 August 2003 16:06
> To: [EMAIL PROTECTED]
> Subject: RE: LPRng: unable to make lprng on solaris8
>
>
> Did you run 'make distclean' first?
>
> longina
>
> --
> Longina Przybyszewska, system programmer
> Dept. of Math. & Comp. Sci. - IMADA
> University of Southern Denmark, Odense
> Campusvej 55,DK-5230 Odense M, Denmark
>
> tel: +45 6550 2359 - http://www.imada.sdu.dk         email:
> [EMAIL PROTECTED]
> --
>
> On Wed, 27 Aug 2003, Mike Bowman wrote:
>
> > Longina,
> > 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
> >
> > Still stumped.
> >
> > Mike.
> > --
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of
> > Longina Przybyszewska
> > Sent: Tuesday, 26 August 2003 20:43
> > To: [EMAIL PROTECTED]
> > Subject: Re: LPRng: unable to make lprng on solaris8
> >
> >
> >
> > On Tue, 26 Aug 2003, Mike Bowman wrote:
> >
> > > Any help with the following would be most appreciated.
> > >
> > > I try to make LPRng-3.8.21 on our only Solaris8 machine and make
> fails
> > > after compiling many modules with:
> > >
> > > cc -I.. -I. -I./include -I./common -g -W -Wall  -Werror  -Wno-unused
> >
> > ^^^^^^^
> > try to compile with gcc compiler; I had no problems compiling on
> > Solaris{6,7,8,9} with gcc.
> >
> > Longina
> >
> > --
> > Longina Przybyszewska, system programmer
> > Dept. of Math. & Comp. Sci. - IMADA
> > University of Southern Denmark, Odense
> > Campusvej 55,DK-5230 Odense M, Denmark
> >
> > tel: +45 6550 2359 - http://www.imada.sdu.dk         email:
> > [EMAIL PROTECTED]
> > --
> > > -g -W -Wa
> > > ll  -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
> > >
> > > Line 191 of lpf.c is:
> > > void log( char *msg, ... );
> > >
> > > Solaris8 machine contains all recommended Solaris8 patches, gcc,
> > libgcc,
> > > gnu make and all other bits and bobs LPRng requires.
> > >
> > > I am using default LPRng ./configure
> > >
> > > PATH=/usr/local/bin:/usr/ccs/bin:/etc:/bin:/sbin:/usr/bin:/usr/sbin
> > >
> > > I have tried a few older versions of LPRng on Solaris8, always fails
> > the
> > > same way.
> > > Have also tried specifying different paths, tried a few options, but
> > > always fails the same.
> > > This works fine on all our Solaris7 machines.
> > > I have searched the web and newsgroups for ideas to no avail.
> > > Has anyone else had this? Am I doing something obviously stupid?
> > >
> > > Thanks,
> > > Mike.
> > > (unix sys admin, Western Australia)
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > -----
> > > 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.
> > >
> >
> ------------------------------------------------------------------------
> > -----
> > >
> >
> >
> ------------------------------------------------------------------------
> > -----
> > 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.
> >
> ------------------------------------------------------------------------
> > -----
> >
> >
> >
> ------------------------------------------------------------------------
> -----
> > 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.
> >
> ------------------------------------------------------------------------
> -----
> >
>
> ------------------------------------------------------------------------
> -----
> 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.
> ------------------------------------------------------------------------
> -----
>
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>


-----------------------------------------------------------------------------
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