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

RE: [bluetooth-dev] Hard Hat LINUX Bluetooth



I assume this is a big endian processor, or I cannot see how this could
happen.

Look in the local.h file in linux/include/linux/bluetooth.
There are the definition/declaration of cpu_to_le16().
For big endian machines this is declared as an inline function.
Try changing the extern inline to static inline.
If that does not help, replace the inline function with this
(untested) macro:

#define cpu_to_le16(x) ((((x) << 8) & 0xFF00) | (((x) >> 8) & 0xFF))

I hope that helps. Please tell us either way.

//Peter

> -----Original Message-----
> From: Nagamori Isao [mailto:i_nagamori@xxxxxxx.jp]
> Sent: Thursday, August 30, 2001 06:40
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Hard Hat LINUX Bluetooth
> 
> 
> Hello All,
> 
> My name is isao nagamori.
> I am installing open blue tooth (openbt) with my sandpoint
> (MPC8240) evaluation
> board which Hard Hat LINUX 2.0 (HHL) was installed with.
> Then I have a trouble.
> 
> When I execute "make", the "make" stoped with error
> messages.
> 
> I got version 0.0.6 openbt from 
> http://sourceforge.net/projects/openbt  .
> 
> And because HHL uses "ncurses" instead of "thermcap", I
> modified following lines
> of Makefile from -ltermcap to -lnucrses.
> 
> 	openbt/apps/bluetooth/userstack/Makefile
> 	openbt/apps/bluetooth/btd/Makefile
> 
> If you have information or idea to fix it, please let me
> know.
> 
> Thank you very much.
> Regards,
> 
> isao
> 
> --------- error  -------------
> 
> root@xxxxxxx.100:/src/BTDRIVE/openbt# make
> make -C linux/drivers/char/bluetooth
> make[1]: Entering directory
> `/src/BTDRIVE/openbt/linux/drivers/char/bluetooth'
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o bluetooth.o
> bluetooth.c
> bluetooth.c: In function `bt_disconnect':
> bluetooth.c:2127: warning: `line' might be used
> uninitialized in this function
> bluetooth.c: In function `bt_init_stack':
> bluetooth.c:2605: warning: label `init_failed_exit0'
> defined but not used
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o bt_proc.o
> bt_proc.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o btdebug.o
> btdebug.c
> btdebug.c: In function `print_time':
> btdebug.c:88: warning: int format, suseconds_t arg (arg 4)
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o btmem.o btmem.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o hci.o hci.c
> hci.c:2340: warning: `role_discovery' defined but not used
> hci.c:2595: warning: `write_inquiryscan_activity' defined
> but not used
> hci.c:2792: warning: `write_automatic_flush_timeout'
> defined but not used
> hci.c:2812: warning:
> `hci_set_host_controller_flow_control' defined but not
> used
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o hci_vendor.o
> hci_vendor.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o l2cap.o l2cap.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o l2cap_con.o
> l2cap_con.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o l2cap_sec.o
> l2cap_sec.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o rfcomm.o rfcomm.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o rfcomm_sec.o
> rfcomm_sec.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o sec_client.o
> sec_client.c
> sec_client.c:648: warning: `sec_man_proc_dir_entry_read'
> defined but not used
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o sdp.o sdp.c
> sdp.c:898: warning: `sdp_proc_dir_entry_read' defined but
> not used
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o tcs.o tcs.c
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-proto
> types -O2 -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include /usr/
> include/linux/modversions.h -MD   -c -o test.o test.c
> ld -r -o bt.o bluetooth.o bt_proc.o btdebug.o btmem.o
> hci.o hci_vendor.o l2cap.o
>  l2cap_con.o l2cap_sec.o rfcomm.o rfcomm_sec.o
> sec_client.o sdp.o tcs.o test.o
> make[1]: Leaving directory
> `/src/BTDRIVE/openbt/linux/drivers/char/bluetooth'
> make -C libs install
> make[1]: Entering directory `/src/BTDRIVE/openbt/libs'
> Making install in expat for
> make[2]: Entering directory
> `/src/BTDRIVE/openbt/libs/expat'
> Making install in xmltok for
> make[3]: Entering directory
> `/src/BTDRIVE/openbt/libs/expat/xmltok'
> cc -Wall -O0 -g -Wall   -c -o xmltok.o xmltok.c
> xmltok.c: In function `initScan':
> xmltok.c:1494: warning: subscript has type `char'
> cc -Wall -O0 -g -Wall   -c -o xmlrole.o xmlrole.c
> ar ucvr libxmltok.a xmltok.o xmlrole.o
> a - xmltok.o
> a - xmlrole.o
> ranlib libxmltok.a
> install -d /src/BTDRIVE/openbt/hroot/lib
> install -d /src/BTDRIVE/openbt/hroot/include
> install -m 0644 libxmltok.a /src/BTDRIVE/openbt/hroot/lib/
> install -m 0644 xmltok.h
> /src/BTDRIVE/openbt/hroot/include/
> make[3]: Leaving directory
> `/src/BTDRIVE/openbt/libs/expat/xmltok'
> Making install in xmlparse for
> make[3]: Entering directory
> `/src/BTDRIVE/openbt/libs/expat/xmlparse'
> cc -Wall -O0 -g -Wall  -I../xmltok   -c -o xmlparse.o
> xmlparse.c
> xmlparse.c: In function `storeEntityValue':
> xmlparse.c:2486: warning: unused variable `internalEnc'
> xmlparse.c: At top level:
> xmlparse.c:2341: warning: `errorProcessor' defined but not
> used
> cc -Wall -O0 -g -Wall  -I../xmltok   -c -o hashtable.o
> hashtable.c
> ar ucvr libxmlparse.a xmlparse.o hashtable.o
> a - xmlparse.o
> a - hashtable.o
> ranlib libxmlparse.a
> install -d /src/BTDRIVE/openbt/hroot/lib
> install -d /src/BTDRIVE/openbt/hroot/include
> install -m 0644 libxmlparse.a
> /src/BTDRIVE/openbt/hroot/lib/
> install -m 0644 xmlparse.h
> /src/BTDRIVE/openbt/hroot/include/
> make[3]: Leaving directory
> `/src/BTDRIVE/openbt/libs/expat/xmlparse'
> make[2]: Leaving directory
> `/src/BTDRIVE/openbt/libs/expat'
> make[1]: Leaving directory `/src/BTDRIVE/openbt/libs'
> make -C apps/bluetooth/userstack links
> make[1]: Entering directory
> `/src/BTDRIVE/openbt/apps/bluetooth/userstack'
> make[1]: Leaving directory
> `/src/BTDRIVE/openbt/apps/bluetooth/userstack'
> make -C apps/bluetooth
> make[1]: Entering directory
> `/src/BTDRIVE/openbt/apps/bluetooth'
> Making all in btd for
> make[2]: Entering directory
> `/src/BTDRIVE/openbt/apps/bluetooth/btd'
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE
> -I/src/BTDRIVE/openbt/hroot/include -MD
>     btd.c  -lreadline -lncurses -o btd
> make[2]: Leaving directory
> `/src/BTDRIVE/openbt/apps/bluetooth/btd'
> Making all in sdp_server for
> make[2]: Entering directory
> `/src/BTDRIVE/openbt/apps/bluetooth/sdp_server'
> cc -Wall -O0 -g -I/src/BTDRIVE/openbt/hroot/include -MD  
> -c -o sdp_server.o sdp
> _server.c
> cc -Wall -O0 -g -I/src/BTDRIVE/openbt/hroot/include -MD  
> -c -o sdp_parser.o sdp
> _parser.c
> cc -L/src/BTDRIVE/openbt/hroot/lib  sdp_server.o
> sdp_parser.o  -lxmlparse -lxmlt
> ok -o sdp_server
> make[2]: Leaving directory
> `/src/BTDRIVE/openbt/apps/bluetooth/sdp_server'
> Making all in userstack for
> make[2]: Entering directory
> `/src/BTDRIVE/openbt/apps/bluetooth/userstack'
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o btd.o btd.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o btdebug.o btdeb
> ug.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o btmem.o btmem.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o hci.o hci.c
> hci.c:2340: warning: `role_discovery' defined but not used
> hci.c:2595: warning: `write_inquiryscan_activity' defined
> but not used
> hci.c:2792: warning: `write_automatic_flush_timeout'
> defined but not used
> hci.c:2812: warning:
> `hci_set_host_controller_flow_control' defined but not
> used
> hci.c:4025: warning: `start_inq_timer' defined but not
> used
> hci.c:311: warning: `hci_inq_aborted' defined but not used
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o l2cap.o l2cap.c
> l2cap.c:1944: warning: `l2cap_rtx_timeout' defined but not
> used
> l2cap.c:2000: warning: `l2cap_ertx_timeout' defined but
> not used
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o l2cap_con.o l2c
> ap_con.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o rfcomm.o rfcomm
> .c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o sdp.o sdp.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o tcs.o tcs.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o test.o test.c
> test.c:190: warning: `test_timeout' defined but not used
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o bt_proc.o bt_pr
> oc.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o hci_vendor.o hc
> i_vendor.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o sec_client.o se
> c_client.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o l2cap_sec.o l2c
> ap_sec.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK  
> -c -o rfcomm_sec.o rf
> comm_sec.c
> rfcomm_sec.c: In function
> `rfcomm_process_sec_man_response':
> rfcomm_sec.c:110: warning: implicit declaration of
> function `bt_register_rfcomm'
> rfcomm_sec.c:111: warning: implicit declaration of
> function `bt_connect_cfm'
> cc  -pthread  btd.o btdebug.o btmem.o hci.o l2cap.o
> l2cap_con.o rfcomm.o sdp.o t
> cs.o test.o bt_proc.o hci_vendor.o sec_client.o
> l2cap_sec.o rfcomm_sec.o -lutil -lreadline -lncurses -o
> btduser
> hci.o: In function `hci_inquiry':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:1978:
> undefined reference to`cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:1978:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `create_connection':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2006:
> undefined reference to`cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2006:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_add_sco_connection':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2028:
> undefined reference to`cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2028:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `disconnect':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2048:
> undefined reference to`cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2048:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `accept_connection_request':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2068:
> undefined reference to`cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2068:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o:/src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2090:
> more undefined re
> ferences to `cpu_to_le16' follow
> hci.o: In function `reject_connection_request':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2090:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_link_key_request_reply':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2110:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_link_key_request_negative_reply':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2135:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_pin_code_request_reply':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2164:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_pin_code_request_negative_reply':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2191:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `change_connection_packet_type':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2220:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_authentication_requested':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2269:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_set_connection_encryption':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2309:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_switch_role':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2328:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `role_discovery':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2344:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `write_link_policy_settings':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2359:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `remote_name_request':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2380:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_flush':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2416:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_create_new_unit_link_key':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2432:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_stored_link_key':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2451:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_stored_link_key':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2472:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_delete_stored_link_key':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2494:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_change_local_name':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2515:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_scan_enable':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2533:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_scan_enable':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2557:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_pagescan_activity':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2576:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `write_inquiryscan_activity':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2598:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_authentication_enable':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2615:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_authentication_enable':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2643:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_encryption_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2664:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_encryption_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2684:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_class_of_device':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2712:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_update_load_factor':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2762:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_set_event_filter':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2778:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `write_automatic_flush_timeout':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2796:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_power_transmit_level':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2833:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_link_supervision_to':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2907:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_link_supervision_to':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2920:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_buffer_size':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2947:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_country_code':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:2994:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_local_bd':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3016:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_reset':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3034:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_hold_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3047:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_sniff_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3066:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_exit_sniff_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3090:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_park_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3105:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_exit_park_mode':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3124:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_enable_dut':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3198:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_page_to':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3245:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_hold_mode_activity':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3257:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_write_connection_accept_to':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3267:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_inquiry_cancel':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3277:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_clock_offset':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3285:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `hci_read_rssi':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3295:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le16
> hci.o: In function `set_acl_hdr':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3527:
> undefined reference to`cpu_to_le32'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci.c:3527:
> relocation truncated to
>  fit: R_PPC_REL24 cpu_to_le32
> l2cap.o: In function `l2cap_receive_data':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:536:
> undefined reference to
>  `cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:536:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:537:
> undefined reference to
>  `cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:537:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:579:
> undefined reference to
>  `cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:579:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:580:
> undefined reference to
>  `cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:580:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> l2cap.o: In function `signal_handler':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:641:
> undefined reference to
>  `cpu_to_le16'
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:641:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> l2cap.o:/src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:670:
> more undefined
>  references to `cpu_to_le16' follow
> l2cap.o: In function `signal_handler':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:670:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> l2cap.o: In function `process_request':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:693:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/l2cap.c:694:
> relocation truncated t
> o fit: R_PPC_REL24 cpu_to_le16
>  to fit: R_PPC_REL24 cpu_to_le16
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/rfcomm.c:2063:
> relocation truncated to fit: R_PPC_REL24 cpu_to_le16
> rfcomm.o: In function `send_pn_msg':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/rfcomm.c:2320:
> relocation truncated to fit: R_PPC_REL24 cpu_to_le16
> hci_vendor.o: In function `hci_set_bd_addr':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci_vendor.c:129:
> relocation truncated to fit: R_PPC_REL24 cpu_to_le16
> hci_vendor.o: In function `hci_read_firmware_rev_info':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci_vendor.c:141:
> relocation truncated to fit: R_PPC_REL24 cpu_to_le16
> hci_vendor.o: In function `hci_set_baudrate':
> /src/BTDRIVE/openbt/apps/bluetooth/userstack/hci_vendor.c:156:
> relocation truncated to fit: R_PPC_REL24 cpu_to_le16
> collect2: ld returned 1 exit status
> make[2]: *** [btduser] Error 1
> make[2]: Leaving directory
> `/src/BTDRIVE/openbt/apps/bluetooth/userstack'
> make[1]: *** [all-recurse] Error 1
> make[1]: Leaving directory
> `/src/BTDRIVE/openbt/apps/bluetooth'
> make: *** [all] Error 2
> root@xxxxxxx.100:/src/BTDRIVE/openbt#
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! BB is Broadband by Yahoo!
> http://bb.yahoo.co.jp/
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com