Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2008 13:57:00 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        gnome@freebsd.org
Subject:   Re: Problem updating hal
Message-ID:  <486A6FEC.9010105@freebsd.org>
In-Reply-To: <20080701141347.22595aczid6zva0w@webmail.leidinger.net>
References:  <20080701141347.22595aczid6zva0w@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:
> Hi,
> 
> I try to update HAL, but I stumble upon this:
> ---snip---
> /bin/sh /var/ports/import/ports/sysutils/hal/work/gnome-libtool 
> --tag=CC   --mode=link cc  -O1 -fno-strict-aliasing -pipe 
> -march=pentium3 -Wall -Wchar-subscripts -Wmissing-declarations 
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare  
> -Wl,--as-needed -L/usr/local/lib -o hald-addon-storage addon-storage.o 
> ../../../hald/freebsd/libprobe/libhald_freebsd_probe.la
> mkdir .libs
> cc -O1 -fno-strict-aliasing -pipe -march=pentium3 -Wall 
> -Wchar-subscripts -Wmissing-declarations -Wnested-externs 
> -Wpointer-arith -Wcast-align -Wsign-compare -Wl,--as-needed -o 
> .libs/hald-addon-storage addon-storage.o  -L/usr/local/lib 
> ../../../hald/freebsd/libprobe/.libs/libhald_freebsd_probe.so -pthread 
> -lcam  -Wl,--rpath -Wl,/usr/local/lib
> addon-storage.o(.text+0xe1): In function `poll_for_media':
> : undefined reference to `libhal_device_is_locked_by_others'
> addon-storage.o(.text+0x564): In function `main':
> : undefined reference to `libhal_device_addon_is_ready'
> addon-storage.o(.text+0x6ea): In function `main':
> : undefined reference to `libhal_device_claim_interface'
> gmake[5]: *** [hald-addon-storage] Fehler 1
> gmake[5]: Leaving directory 
> `/var/ports/import/ports/sysutils/hal/work/hal-0.5.11/hald/freebsd/addons'
> ---snip---
> 
> Grepping for the first undefined reference shows that this is in a newly 
> generated libhal, but it doesn't look like it is used. Is this some 
> srtange thing on my system?

Looks like it, as hal builds fine for me.  Could be an issue with your 
CFLAGS.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



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