Hi Josh --
--- In "notnerdyenough" <> wrote:
>
> Hi Charlie-
>
> What other modifications did you make to complete the build of the backport?
> I copied the bluetooth directories from a more recent tree but am not sure
> where to go from there. I get a variety of errors during make...
>
To be clear, I didn't do the backport, only made some suggestions. When this
thread started, it was 2.6.23 --> 2.6.21-TS, but now we're up to 2.6.31 and
there could be substantial differences in the source tree layout. That said,
if you need to stay with 2.6.21-TS:
* Errors below look like you may have the wrong include file. Verify you
copied the BT include files your newer kernel too. Maybe other (non-BT)
headers have changed too?
* Or, get an older kernel like 2.6.23, and backport *that* BT stack to
2.6.21-TS.
What kind of BT errors are you seeing with 2.6.21-TS? I find it's often easier
in the long run to go forward with a current kernel rather than back.
regards, ...... Charlie
> ----------------------------------------------
> CHK include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
> CHK include/linux/utsrelease.h
> CHK include/linux/compile.h
> LD block/built-in.o
> CC [M] block/deadline-iosched.o
> CC [M] block/cfq-iosched.o
> LD drivers/ata/built-in.o
> CC [M] drivers/ata/libata-core.o
> LD sound/built-in.o
> CC net/socket.o
> drivers/ata/libata-core.c: In function `ata_dev_configure':
> drivers/ata/libata-core.c:1788: warning: comparison of distinct pointer types
> lacks a cast
> CC net/802/sysctl_net_802.o
> LD net/802/built-in.o
> LD net/bluetooth/built-in.o
> CC [M] net/bluetooth/af_bluetooth.o
> net/bluetooth/af_bluetooth.c:129: warning: "struct net" declared inside
> parameter list
> net/bluetooth/af_bluetooth.c:129: warning: its scope is only this definition
> or declaration, which is probably not what you want
> net/bluetooth/af_bluetooth.c: In function `bt_sock_create':
> net/bluetooth/af_bluetooth.c:133: error: `init_net' undeclared (first use in
> this function)
> net/bluetooth/af_bluetooth.c:133: error: (Each undeclared identifier is
> reported only once
> net/bluetooth/af_bluetooth.c:133: error: for each function it appears in.)
> net/bluetooth/af_bluetooth.c:147: warning: passing arg 2 of pointer to
> function makes integer from pointer without a cast
> net/bluetooth/af_bluetooth.c:147: error: too many arguments to function
> net/bluetooth/af_bluetooth.c: In function `bt_sock_recvmsg':
> net/bluetooth/af_bluetooth.c:257: warning: implicit declaration of function
> `skb_reset_transport_header'
> net/bluetooth/af_bluetooth.c: In function `bt_sock_ioctl':
> net/bluetooth/af_bluetooth.c:340: warning: implicit declaration of function
> `sk_wmem_alloc_get'
> net/bluetooth/af_bluetooth.c:361: error: `SIOCGSTAMPNS' undeclared (first use
> in this function)
> net/bluetooth/af_bluetooth.c:362: warning: implicit declaration of function
> `sock_get_timestampns'
> net/bluetooth/af_bluetooth.c: At top level:
> net/bluetooth/af_bluetooth.c:412: warning: initialization from incompatible
> pointer type
> net/bluetooth/af_bluetooth.c:52: warning: 'bt_key_strings' defined but not
> used
> net/bluetooth/af_bluetooth.c:64: warning: 'bt_slock_key_strings' defined but
> not used
> make[2]: *** [net/bluetooth/af_bluetooth.o] Error 1
> make[1]: *** [net/bluetooth] Error 2
> make: *** [net] Error 2
> make: *** Waiting for unfinished jobs....
> CC [M] drivers/ata/libata-scsi.o
> CC [M] drivers/ata/libata-sff.o
> CC [M] drivers/ata/libata-eh.o
> LD drivers/auxdisplay/built-in.o
> CC drivers/base/core.o
> CC drivers/base/sys.o
> CC drivers/base/bus.o
> LD [M] drivers/ata/libata.o
> CC drivers/block/rd.o
> CC drivers/base/dd.o
> CC drivers/block/loop.o
> CC drivers/base/driver.o
> CC drivers/base/class.o
> CC drivers/base/platform.o
> LD drivers/block/built-in.o
> LD drivers/bluetooth/built-in.o
> CC [M] drivers/bluetooth/hci_vhci.o
> CC drivers/base/cpu.o
> CC drivers/base/firmware.o
> CC [M] drivers/bluetooth/hci_ldisc.o
> CC drivers/base/init.o
> CC drivers/base/map.o
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_tx_wakeup':
> drivers/bluetooth/hci_ldisc.c:141: error: structure has no member named `ops'
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_flush':
> drivers/bluetooth/hci_ldisc.c:188: warning: implicit declaration of function
> `tty_driver_flush_buffer'
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_tty_open':
> drivers/bluetooth/hci_ldisc.c:280: error: invalid type argument of `->'
> drivers/bluetooth/hci_ldisc.c:281: error: invalid type argument of `->'
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_tty_receive':
> drivers/bluetooth/hci_ldisc.c:368: warning: implicit declaration of function
> `tty_unthrottle'
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_tty_ioctl':
> drivers/bluetooth/hci_ldisc.c:481: warning: implicit declaration of function
> `n_tty_ioctl_helper'
> drivers/bluetooth/hci_ldisc.c: In function `hci_uart_init':
> drivers/bluetooth/hci_ldisc.c:511: error: storage size of 'hci_uart_ldisc'
> isn't known
> drivers/bluetooth/hci_ldisc.c:511: warning: unused variable `hci_uart_ldisc'
> drivers/bluetooth/hci_ldisc.c:511: error: storage size of `hci_uart_ldisc'
> isn't known
> make[2]: *** [drivers/bluetooth/hci_ldisc.o] Error 1
> make[1]: *** [drivers/bluetooth] Error 2
> make[1]: *** Waiting for unfinished jobs....
> CC drivers/base/dmapool.o
> CC drivers/base/dma-mapping.o
> CC drivers/base/devres.o
> CC drivers/base/attribute_container.o
> CC drivers/base/transport_class.o
> CC drivers/base/power/shutdown.o
> CC [M] drivers/base/firmware_class.o
> LD drivers/base/power/built-in.o
> LD drivers/base/built-in.o
> make: *** [drivers] Error 2
>
> ----------------------------------------------
>
> Anyone able to point me in the right direction?
>
> Thanks,
> josh
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|