[Nut-upsuser] make errors on solaris express dev 02/07

Charles Lepple clepple at gmail.com
Tue Mar 6 16:44:12 CET 2007


Peter,

I will look at this more later, but do you know why configure.in is
checking for "printf" in -lnsl?

checking for printf in -lnsl... yes
checking for printf in -lsocket... yes

It seems like it should be checking for a socket function instead.

Zoltan, can you send the config.out generated by configure? Please
gzip it - it will probably be big.

On 3/6/07, Zoltan Farkas <zoly at daxtechnologies.com> wrote:
> See attached the configure.out file for the configure output.
>
> Thanks
>
> --zoly
>
> -----Original Message-----
> From: Charles Lepple [mailto:clepple at gmail.com]
> Sent: Monday, March 05, 2007 11:19 PM
> To: Zoltan Farkas
> Cc: nut-upsuser at lists.alioth.debian.org
> Subject: Re: [Nut-upsuser] make errors on solaris express dev 02/07
>
> On 3/5/07, Zoltan Farkas <zoly at daxtechnologies.com> wrote:
> >
> > make fails at drivers:
> >
> > make[1]: Entering directory
> > `/export/home/zoly/Documents/trunk/drivers'
> > /bin/sh ../libtool --tag=CC --mode=link gcc -I../include
> > -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0
> > -I/usr/lib/dbus-1.0/include -I/usr/sfw/include -g -Dsolaris2 -I.
> > -I/usr/sfw/include -O -Wall -Wsign-compare -o al175 al175.o
> > ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o
> > ../common/state.o main.o dstate.o serial.o
> > gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal
> > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/sfw/include -g
> > -Dsolaris2 -I. -I/usr/sfw/include -O -Wall -Wsign-compare -o al175 al175.o
> > ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o
> > serial.o ../common/libcommon.a
> > Undefined first referenced
> >  symbol in file
> > bind dstate.o
> > accept dstate.o
> > listen dstate.o
> > socket dstate.o
> > ld: fatal: Symbol referencing errors. No output written to al175
> > collect2: ld returned 1 exit status
> > make[1]: *** [al175] Error 1
> > make[1]: Leaving directory
> > `/export/home/zoly/Documents/trunk/drivers'
> > make: *** [all-recursive] Error 1
>
> I believe those symbols are pulled in from "-lnsl" on the linker
> command line, but I don't see that in the output above.
>
> Can you cut-and-paste the output from when you ran "./configure" ? (it
> is safe to re-run it with the same options if you don't still have the
> output.)
>
> Also, please do not sent HTML mail to the list (unless it is necessary
> to highlight logs, etc.)
>
> --
> - Charles Lepple
>
>


-- 
- Charles Lepple



More information about the Nut-upsuser mailing list