From owner-freebsd-questions@FreeBSD.ORG Sun May 4 19:21:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BDD7106566C for ; Sun, 4 May 2008 19:21:50 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf09.insightbb.com (mxsf09.insightbb.com [74.128.0.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5A0BC8FC0A for ; Sun, 4 May 2008 19:21:50 +0000 (UTC) (envelope-from freebsd@insightbb.com) X-IronPort-AV: E=Sophos;i="4.27,435,1204520400"; d="scan'208";a="348974458" Received: from unknown (HELO asav00.insightbb.com) ([172.31.249.124]) by mxsf09.insightbb.com with ESMTP; 04 May 2008 15:21:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYBAD6pHUjQLicL/2dsb2JhbAAIqRI X-IronPort-AV: E=Sophos;i="4.27,435,1204520400"; d="scan'208";a="5926769" Received: from 208-46-39-11.dia.static.qwest.net (HELO [10.7.44.57]) ([208.46.39.11]) by asavout00.insightbb.com with ESMTP; 04 May 2008 15:21:48 -0400 From: Steven Friedrich To: freebsd-questions@freebsd.org User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Disposition: inline Date: Sun, 4 May 2008 15:21:45 -0400 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200805041521.45206.freebsd@insightbb.com> Subject: hal port fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2008 19:21:50 -0000 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.