[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Make problem with Mandrake 8.0



Hi,

I have several problem when building the last available stack (20010507) on a 
Mandrake 8.0.

The first one come during compilation with the following error message:

make[1]: Entering directory `/home/dpraca/openbt/apps/bluetooth/sdp_server'
cc -DBTD_USERSTACK -Wall -O0 -g -I/home/dpraca/openbt/hroot/include -MD 
-L/home/dpraca/openbt/hroot/lib sdp_server.c sdp_parser.c -lxmlparse -lxmltok 
-o sdp_user
cpp0: Too many filenames. Type cpp0 --help for usage info
cpp0: Too many filenames. Type cpp0 --help for usage info
cpp0: Too many filenames. Type cpp0 --help for usage info
make[1]: *** [sdp_user] Error 1
make[1]: Leaving directory `/home/dpraca/openbt/apps/bluetooth/sdp_server'
make: *** [all] Error 2

It appends not only with sdp but also with btd.
I found a turnarround by manual compilation by explicitely specifying the 
extension of the output file (sdp_user.o in this case).

The second problem comes during link:

make[2]: Entering directory `/home/dpraca/openbt/apps/bluetooth/btd' cc   
btd.o  -lreadline -ltermcap -o btd btd.o: In function `unknown_init_hw': 
/home/dpraca/openbt/apps/bluetooth/btd/btd.c:3588: multiple definition of 
`__dso_handle' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/crtbegin.o(.data+0x0): first 
defined here btd.o: In function `_init': btd.o(.init+0x0): multiple 
definition of `_init' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crti.o(.init+0x0): first 
defined here btd.o: In function `_start': btd.o(.text+0x0): multiple 
definition of `_start' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crt1.o(.text+0x0): first 
defined here btd.o: In function `unknown_init_hw': 
/home/dpraca/openbt/apps/bluetooth/btd/btd.c:3588: multiple definition of 
`_fini' /usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crti.o(.fini+0x0): 
first defined here btd.o: In function `unknown_init_hw': 
/home/dpraca/openbt/apps/bluetooth/btd/btd.c:3588: multiple definition of 
`_GLOBAL_OFFSET_TABLE_' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crti.o(.got.plt+0x0): 
first defined here btd.o: In function `unknown_init_hw': 
/home/dpraca/openbt/apps/bluetooth/btd/btd.c:3588: multiple definition of 
`_IO_stdin_used' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crt1.o(.rodata+0x4): first 
defined here btd.o: In function `unknown_init_hw': 
/home/dpraca/openbt/apps/bluetooth/btd/btd.c:3588: multiple definition of 
`__data_start' 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crt1.o(.data+0x0): first 
defined here 
/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../../crti.o(.dynamic+0x0): 
multiple definition of `_DYNAMIC'


Can someone help me!!!

Denis.
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com