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

Charles Lepple clepple at gmail.com
Tue Mar 6 05:18:48 CET 2007

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

Also, please do not sent HTML mail to the list (unless it is necessary
to highlight logs, etc.)

- Charles Lepple

More information about the Nut-upsuser mailing list