Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2008 15:21:45 -0400
From:      Steven Friedrich <freebsd@insightbb.com>
To:        freebsd-questions@freebsd.org
Subject:   hal port fails to build
Message-ID:  <200805041521.45206.freebsd@insightbb.com>

next in thread | raw e-mail | index | archive | help
Why is hal failing to build on my machine?  I checked pointyhat and it says it 
builds fine.  I even tried pkg_deinstall -f and then went to sysutils/hal and 
invoked make. I recovered by portupgrade -PPN hal.

Here's the tail of the build:
 
cc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LOCALSTATEDIR=\"/var\" -I../.. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/PolicyKit -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT 
hf-usb.lo -MD -MP -MF .deps/hf-usb.Tpo -c 
hf-usb.c  -fPIC -DPIC -o .libs/hf-usb.o
hf-usb.c:663: warning: 'struct usb_event' declared inside parameter list
hf-usb.c:663: warning: its scope is only this definition or declaration, which 
is probably not what you want
hf-usb.c: In function 'hf_usb_process_event':
hf-usb.c:667: error: dereferencing pointer to incomplete type
hf-usb.c:669: error: 'USB_EVENT_CTRLR_ATTACH' undeclared (first use in this 
function)
hf-usb.c:669: error: (Each undeclared identifier is reported only once
hf-usb.c:669: error: for each function it appears in.)
hf-usb.c:670: error: dereferencing pointer to incomplete type
hf-usb.c:675: error: 'USB_EVENT_CTRLR_DETACH' undeclared (first use in this 
function)
hf-usb.c:676: error: dereferencing pointer to incomplete type
hf-usb.c:681: error: 'USB_EVENT_DEVICE_ATTACH' undeclared (first use in this 
function)
hf-usb.c:685: error: dereferencing pointer to incomplete type
hf-usb.c:685: error: dereferencing pointer to incomplete type
hf-usb.c:688: error: dereferencing pointer to incomplete type
hf-usb.c:693: error: dereferencing pointer to incomplete type
hf-usb.c:695: error: dereferencing pointer to incomplete type
hf-usb.c:700: error: 'USB_EVENT_DEVICE_DETACH' undeclared (first use in this 
function)
hf-usb.c:704: error: dereferencing pointer to incomplete type
hf-usb.c:704: error: dereferencing pointer to incomplete type
hf-usb.c:708: error: dereferencing pointer to incomplete type
hf-usb.c:709: error: dereferencing pointer to incomplete type
hf-usb.c:724: error: 'USB_EVENT_DRIVER_ATTACH' undeclared (first use in this 
function)
hf-usb.c:728: error: 'USB_EVENT_DRIVER_DETACH' undeclared (first use in this 
function)
hf-usb.c:733: error: dereferencing pointer to incomplete type
hf-usb.c: In function 'hf_usb_event_cb':
hf-usb.c:741: error: storage size of 'event' isn't known
hf-usb.c:741: warning: unused variable 'event'
gmake[5]: *** [hf-usb.lo] Error 1
gmake[5]: Leaving directory 
`/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald/freebsd'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/hal/work/hal-0.5.11rc2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/hal.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805041521.45206.freebsd>