[Nut-upsuser] Make fails on solaris for latest trunk

Zoltan Farkas zoly at daxtechnologies.com
Mon Apr 2 21:31:26 UTC 2007


. -I/usr/sfw/include -I/usr/sfw/include -DMEGATEC_SUBDRV -O -Wall -Wsign-compare -MT megatec_usb-megatec_usb.o -MD -MP -MF ".deps/megatec_usb-megatec_usb.Tpo" -c -o megatec_usb-megatec_usb.o `test -f 'megatec_usb.c' || echo './'`megatec_usb.c; \
then mv -f ".deps/megatec_usb-megatec_usb.Tpo" ".deps/megatec_usb-megatec_usb.Po"; else rm -f ".deps/megatec_usb-megatec_usb.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -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 -I/usr/sfw/include -DMEGATEC_SUBDRV -O -Wall -Wsign-compare -MT megatec_usb-libusb.o -MD -MP -MF ".deps/megatec_usb-libusb.Tpo" -c -o megatec_usb-libusb.o `test -f 'libusb.c' || echo './'`libusb.c; \
then mv -f ".deps/megatec_usb-libusb.Tpo" ".deps/megatec_usb-libusb.Po"; else rm -f ".deps/megatec_usb-libusb.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -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 -I/usr/sfw/include -DMEGATEC_SUBDRV -O -Wall -Wsign-compare -MT megatec_usb-libhid.o -MD -MP -MF ".deps/megatec_usb-libhid.Tpo" -c -o megatec_usb-libhid.o `test -f 'libhid.c' || echo './'`libhid.c; \
then mv -f ".deps/megatec_usb-libhid.Tpo" ".deps/megatec_usb-libhid.Po"; else rm -f ".deps/megatec_usb-libhid.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -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 -I/usr/sfw/include -DMEGATEC_SUBDRV -O -Wall -Wsign-compare -MT megatec_usb-hidparser.o -MD -MP -MF ".deps/megatec_usb-hidparser.Tpo" -c -o megatec_usb-hidparser.o `test -f 'hidparser.c' || echo './'`hidparser.c; \
then mv -f ".deps/megatec_usb-hidparser.Tpo" ".deps/megatec_usb-hidparser.Po"; else rm -f ".deps/megatec_usb-hidparser.Tpo"; exit 1; fi
/bin/bash ../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 megatec_usb  megatec_usb-megatec.o megatec_usb-megatec_usb.o megatec_usb-libusb.o megatec_usb-libhid.o megatec_usb-hidparser.o ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o -R/usr/sfw/lib -L/usr/sfw/lib -lusb -lsocket -lnsl
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 megatec_usb megatec_usb-megatec.o megatec_usb-megatec_usb.o megatec_usb-libusb.o megatec_usb-libhid.o megatec_usb-hidparser.o ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o  ../common/libcommon.a -L/usr/sfw/lib -lusb -lsocket -lnsl -R/usr/sfw/lib
if gcc -DHAVE_CONFIG_H -I. -I. -I../include    -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 -MT main-hal.o -MD -MP -MF ".deps/main-hal.Tpo" -c -o main-hal.o main-hal.c; \
then mv -f ".deps/main-hal.Tpo" ".deps/main-hal.Po"; else rm -f ".deps/main-hal.Tpo"; exit 1; fi
main-hal.c: In function `main':
main-hal.c:454: error: `HAL_USER' undeclared (first use in this function)
main-hal.c:454: error: (Each undeclared identifier is reported only once
main-hal.c:454: error: for each function it appears in.)
make[1]: *** [main-hal.o] Error 1
make[1]: Leaving directory `/export/home/zoly/Projects/opensource/nut/trunk/drivers'
make: *** [all-recursive] Error 1

--zoly




More information about the Nut-upsuser mailing list