ports using sdp when mpeg4ip is installed
Guido Falsi
mad at madpilot.net
Wed Feb 18 12:31:59 PST 2009
Maksim Yevmenkin wrote:
> thanks for keeping the ports up to date!
>
That's a pleasure, when time is available :)
> i think the only reasonable solution is to move sdp.h (and bluetooth.h
> while we at it) into /usr/include/bluetooth/
>
> i will see what can be done here. it should be much easier to move
> files now when we have svn :)
I second this idea and it sure will solve the includes problem.
It will not solve the problem with libsdp.so though.
Look at the following log:
/bin/sh ../libtool --tag=CC --mode=link cc -I../include -O2
-fno-strict-aliasing -pipe -march=athlon-xp -Wall -Wno-pointer-sign
-fvisibility=hidden -fno-strict-aliasing -L/usr/local/lib -o gnokii
gnokii-gnokii.o gnokii-gnokii-calendar.o gnokii-gnokii-dial.o
gnokii-gnokii-file.o gnokii-gnokii-logo.o gnokii-gnokii-monitor.o
gnokii-gnokii-other.o gnokii-gnokii-phonebook.o gnokii-gnokii-profile.o
gnokii-gnokii-ringtone.o gnokii-gnokii-security.o
gnokii-gnokii-settings.o gnokii-gnokii-sms.o gnokii-gnokii-todo.o
gnokii-gnokii-utils.o gnokii-gnokii-wap.o ../common/libgnokii.la -lintl
-lreadline -lncurses
mkdir .libs
cc -I../include -O2 -fno-strict-aliasing -pipe -march=athlon-xp -Wall
-Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -o
.libs/gnokii gnokii-gnokii.o gnokii-gnokii-calendar.o
gnokii-gnokii-dial.o gnokii-gnokii-file.o gnokii-gnokii-logo.o
gnokii-gnokii-monitor.o gnokii-gnokii-other.o gnokii-gnokii-phonebook.o
gnokii-gnokii-profile.o gnokii-gnokii-ringtone.o
gnokii-gnokii-security.o gnokii-gnokii-settings.o gnokii-gnokii-sms.o
gnokii-gnokii-todo.o gnokii-gnokii-utils.o gnokii-gnokii-wap.o
-L/usr/local/lib ../common/.libs/libgnokii.so /usr/local/lib/libusb.so
/usr/local/lib/libsdp.so /usr/local/lib/libmp4v2.so
/usr/local/lib/libmp4av.so /usr/local/lib/libmpeg4ip_gnu.so -pthread
-lbluetooth /usr/local/lib/libXpm.so /usr/local/lib/libX11.so
/usr/local/lib/libxcb.so /usr/local/lib/libXau.so
/usr/local/lib/libXdmcp.so -lrpcsvc -lroken -lcrypt
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lreadline
-lncurses -Wl,--rpath -Wl,/usr/local/lib
../common/.libs/libgnokii.so: undefined reference to `sdp_close'
../common/.libs/libgnokii.so: undefined reference to `sdp_error'
../common/.libs/libgnokii.so: undefined reference to `sdp_search'
../common/.libs/libgnokii.so: undefined reference to `sdp_open'
gmake[1]: *** [gnokii] Error 1
gmake[1]: Leaving directory
`/usr/home/mad/src/gnokii/work/gnokii-0.6.27/gnokii'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop in /usr/home/mad/src/gnokii.
*** Error code 1
Stop in /usr/home/mad/src/gnokii.
After fixing the include(by hardcoding the path for now) I got this
error. As you can see libtool prefers libsdp.so found in localbase.
I'm not sure what a solution to this could be. in fact having two
libraries with the same name looks like a problem anyway.
I don't like the idea of FreeBSD adopting to any software which happens
to name a library like ours...But I don't know who to blame.
--
Guido Falsi <mad at madpilot.net>
More information about the freebsd-bluetooth
mailing list