This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bluez-libs (under uclinux)


Now my configure seems to work , I mean I haven't got
any errors. But make doesn't.I send you the message
error of make in the file make.log



 --- David Querbach <querbach at realtime dot bc dot ca>
escribió: > On Tue, Apr 22, 2003 at 01:55:17PM +0200,
Ignacio
> Uria wrote:
> 
> > /usr/local/arm-elf/bin/arm-elf-gcc -shared 
> > bluetooth.lo hci.lo   -Wl,-soname -Wl, -o .libs/
> 
> Several things look suspicious in the above line:
> 
>   - The second -Wl, has no argument.  Arguments to
> the -Wl, switch must
>     follow immediately without intervening spaces. 
> As written, the second
>     -Wl, argument passes nothing to the linker.
> 
>   - The -o option specifies the output file name,
> and thus must be a file
>     name, not a directory.  That's confirmed by the
> error message.
> 
> To fix this problem, find the line in the Makefile
> which generates the
> broken command.  Figure out what's supposed to be
> generated and you'll
> probably get some idea what went wrong.  These sorts
> of problems often
> involve broken text substitution of some kind.
> 
> Regards,
> 
> David Querbach
> Real-Time Systems Inc.
> 
> 

> ATTACHMENT part 2 application/pgp-signature 
 

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es
Making all in include
make[1]: Entering directory `/targets/LxNETES/project/apps/bluez-libs-2.4/include'
make[1]: No se hace nada para `all'.
make[1]: Leaving directory `/targets/LxNETES/project/apps/bluez-libs-2.4/include'
Making all in src
make[1]: Entering directory `/targets/LxNETES/project/apps/bluez-libs-2.4/src'
/bin/sh ../libtool --mode=link /usr/local/arm-elf/bin/arm-elf-gcc  -Wall -g -O2  -o libbluetooth.la -rpath /usr/local/LxNETES/linux/lib -version-info 1:2:0 bluetooth.lo hci.lo  
rm -fr .libs/libbluetooth.la .libs/libbluetooth.* .libs/libbluetooth.*
/usr/local/arm-elf/bin/arm-elf-gcc -shared  bluetooth.lo hci.lo   -Wl,-soname -Wl, -o .libs/libbluetooth.la
/usr/local/arm-elf/arm-elf/lib/crt0.o: In function `_start':
/usr/local/arm-elf/arm-elf/lib/crt0.o(.text+0x10): undefined reference to `__uClibc_main'
bluetooth.lo: In function `batostr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:49: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:53: undefined reference to `sprintf'
bluetooth.lo: In function `strtoba':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:64: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:69: undefined reference to `strtol'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:70: undefined reference to `strchr'
bluetooth.lo: In function `ba2str':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:82: undefined reference to `sprintf'
bluetooth.lo: In function `str2ba':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:93: undefined reference to `strtol'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/bluetooth.c:94: undefined reference to `strchr'
hci.lo: In function `hci_bit2str':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:56: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:65: undefined reference to `sprintf'
hci.lo: In function `hci_str2bit':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:77: undefined reference to `strdup'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:84: undefined reference to `strcasecmp'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:89: undefined reference to `strsep'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:90: undefined reference to `free'
hci.lo: In function `hci_uint2str':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:97: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:106: undefined reference to `sprintf'
hci.lo: In function `hci_str2uint':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:123: undefined reference to `strdup'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:127: undefined reference to `strcasecmp'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:132: undefined reference to `strsep'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:133: undefined reference to `free'
hci.lo: In function `hci_dflagstostr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:173: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:183: undefined reference to `sprintf'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:187: undefined reference to `sprintf'
hci.lo: In function `hci_lmtostr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:245: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:251: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:259: undefined reference to `strcat'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:260: undefined reference to `free'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:255: undefined reference to `free'
hci.lo: In function `lmp_featurestostr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:330: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:339: undefined reference to `sprintf'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:347: undefined reference to `sprintf'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:350: undefined reference to `sprintf'
hci.lo: In function `hci_for_each_dev':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:368: undefined reference to `socket'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:372: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:374: undefined reference to `close'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:381: undefined reference to `ioctl'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:393: undefined reference to `close'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:394: undefined reference to `free'
hci.lo: In function `__other_bdaddr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:400: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:401: undefined reference to `ioctl'
hci.lo: In function `__other_bdaddr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/bluetooth.h:96: undefined reference to `memcmp'
hci.lo: In function `__same_bdaddr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:408: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:409: undefined reference to `ioctl'
hci.lo: In function `__same_bdaddr':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/bluetooth.h:96: undefined reference to `memcmp'
hci.lo: In function `hci_devid':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:427: undefined reference to `strncmp'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:427: undefined reference to `strlen'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:428: undefined reference to `atoi'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:432: undefined reference to `__errno_location'
hci.lo: In function `hci_devinfo':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:443: undefined reference to `socket'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:448: undefined reference to `ioctl'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:449: undefined reference to `close'
hci.lo: In function `hci_devba':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/bluetooth.h:100: undefined reference to `memcpy'
hci.lo: In function `hci_devba':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:462: undefined reference to `__errno_location'
hci.lo: In function `hci_inquiry':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:480: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:484: undefined reference to `socket'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:488: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:490: undefined reference to `close'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:501: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:508: undefined reference to `ioctl'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:509: undefined reference to `close'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:515: undefined reference to `malloc'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:518: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:523: undefined reference to `free'
hci.lo: In function `hci_open_dev':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:535: undefined reference to `socket'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:542: undefined reference to `bind'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:548: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:549: undefined reference to `close'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:550: undefined reference to `__errno_location'
hci.lo: In function `hci_close_dev':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:556: undefined reference to `close'
hci.lo: In function `hci_send_cmd':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:585: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:585: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:588: undefined reference to `writev'
hci.lo: In function `hci_send_req':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:601: undefined reference to `getsockopt'
hci.lo: In function `hci_send_req':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/hci_lib.h:122: undefined reference to `memset'
hci.lo: In function `hci_send_req':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:610: undefined reference to `setsockopt'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:627: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:627: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:630: undefined reference to `poll'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:643: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:643: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:646: undefined reference to `read'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:660: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:675: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:687: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:690: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:691: undefined reference to `setsockopt'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:692: undefined reference to `__errno_location'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:683: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:696: undefined reference to `setsockopt'
hci.lo: In function `hci_create_connection':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:706: undefined reference to `memset'
hci.lo: In function `hci_create_connection':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/bluetooth.h:100: undefined reference to `memcpy'
hci.lo: In function `hci_create_connection':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:712: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:725: undefined reference to `__errno_location'
hci.lo: In function `hci_disconnect':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:739: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:743: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:756: undefined reference to `__errno_location'
hci.lo: In function `hci_read_local_name':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:772: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:787: undefined reference to `strncpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:782: undefined reference to `__errno_location'
hci.lo: In function `hci_write_local_name':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:796: undefined reference to `strncpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:797: undefined reference to `memset'
hci.lo: In function `hci_read_remote_name':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:819: undefined reference to `memset'
hci.lo: In function `hci_read_remote_name':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/../include/bluetooth.h:100: undefined reference to `memcpy'
hci.lo: In function `hci_read_remote_name':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:822: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:840: undefined reference to `strncpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:835: undefined reference to `__errno_location'
hci.lo: In function `hci_read_remote_features':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:853: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:870: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:866: undefined reference to `__errno_location'
hci.lo: In function `hci_read_remote_version':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:883: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:896: undefined reference to `__errno_location'
hci.lo: In function `hci_read_local_version':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:911: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:921: undefined reference to `__errno_location'
hci.lo: In function `hci_read_class_of_dev':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:939: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:953: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:949: undefined reference to `__errno_location'
hci.lo: In function `hci_write_class_of_dev':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:962: undefined reference to `memset'
hci.lo: In function `hci_read_voice_setting':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:978: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:988: undefined reference to `__errno_location'
hci.lo: In function `hci_write_voice_setting':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1001: undefined reference to `memset'
hci.lo: In function `hci_read_current_iac_lap':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1015: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1030: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1025: undefined reference to `__errno_location'
hci.lo: In function `hci_write_current_iac_lap':
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1039: undefined reference to `memset'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1041: undefined reference to `memcpy'
/targets/LxNETES/project/apps/bluez-libs-2.4/src/hci.c:1043: undefined reference to `memset'
collect2: ld returned 1 exit status
make[1]: *** [libbluetooth.la] Error 1
make[1]: Leaving directory `/targets/LxNETES/project/apps/bluez-libs-2.4/src'
make: *** [all-recursive] Error 1

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]