Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83492

Summary: net-wireless/opd emerging fails
Product: Gentoo Linux Reporter: Bash <bash83>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ticho
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full opd ebuild patch

Description Bash 2005-02-27 12:36:13 UTC
gcc -I.   -c -o main.o main.c
gcc -I.   -c -o lib.o lib.c
gcc -I.   -c -o obex_handler.o obex_handler.c
obex_handler.c: In function `Handle_OBEX_CMD_PUT':
obex_handler.c:367: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c: In function `Handle_OBEX_CMD_GET':
obex_handler.c:502: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:507: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:516: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:525: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:529: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:535: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:559: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c:561: warning: concatenation of string literals with __FUNCTION__ is deprecated
obex_handler.c: In function `Handle_ServerRequest':
obex_handler.c:621: warning: concatenation of string literals with __FUNCTION__ is deprecated
gcc -o opd -I. main.o lib.o obex_handler.o -lopenobex -lbluetooth -lsdp 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp
collect2: ld returned 1 exit status
make: *** [opd] Error 1

Solushion: there's no sdp shared librarie :)
---%<---------------------------------------------------------------------------
--- Makefile.orig       2005-02-27 21:07:00.684873760 +0300
+++ Makefile    2005-02-27 21:07:10.145435536 +0300
@@ -21,7 +21,7 @@ BIPD_OBJECTS =                        \
 
 
 opd : $(BIPD_OBJECTS)
-       $(CC) -o opd $(CFLAGS) $(BIPD_OBJECTS) -lopenobex -lbluetooth -lsdp $(LDFLAGS)
+       $(CC) -o opd $(CFLAGS) $(BIPD_OBJECTS) -lopenobex -lbluetooth $(LDFLAGS)
 
 
 clean:
---%<---------------------------------------------------------------------------
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-27 13:20:26 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee.
Comment 2 Bash 2005-03-07 13:04:28 UTC
Ok 8)
Comment 3 Bash 2005-03-07 14:31:43 UTC
Created attachment 52869 [details, diff]
full opd ebuild patch
Comment 4 Henrik Brix Andersen 2005-05-16 08:14:37 UTC
Adding ticho to CC:
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2005-05-16 10:39:10 UTC

*** This bug has been marked as a duplicate of 83110 ***