Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60830 - bluez-kernel-2.3: sandbox, jobserver and compile/include errors
Summary: bluez-kernel-2.3: sandbox, jobserver and compile/include errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 17:40 UTC by Harm Geerts
Modified: 2004-09-21 16:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harm Geerts 2004-08-18 17:40:39 UTC
Not sure where to start this time.
1. include errors in hci_usb.(c|h)
2. jobserver unavailable warnings (this is silenced with MAKEOPTS="-j1" which is forced anyway)
3. sandbox errors when creating the module directories (DESTDIR unset?)

the source in /usr/src/linux is vanilla-sources-2.4.27
I have used the bluez-kernel modules with vanilla-sources-2.4.26 before without any problems but it gives the same errors with the current ebuild.
Unfortunately I can't determine which version of bluez-kernel I used with 2.4.26 as it has been removed from the package database. (the modules still exist but there is no record of them in portage as far as qpkg -f /path/to/module knows)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
# emerge bluez-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/bluez-kernel-2.3 to /
>>> md5 src_uri ;-) bluez-kernel-2.3.tar.gz
>>> Unpacking source...
>>> Unpacking bluez-kernel-2.3.tar.gz to /var/tmp/portage/bluez-kernel-2.3/work
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -Os -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon-xp -Os -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gawk... gawk
checking for a BSD compatible install... /bin/install -c
checking for ld... ld
checking for ar... ar
updating cache ./config.cache
creating ./config.status
creating Makefile
creating include/Makefile
creating core/Makefile
creating drivers/Makefile
creating rfcomm/Makefile
creating bnep/Makefile
creating misc/Makefile
creating doc/Makefile
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/include'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mkdir net; ln -s /var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/include
net/bluetooth
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/include'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/core'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o af_bluetooth.o
af_bluetooth.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o hci_core.o hci_core.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o hci_conn.o hci_conn.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o hci_event.o hci_event.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o hci_sock.o hci_sock.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o lib.o lib.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c syms.c
ld -m elf_i386 -e stext -r -o bluez.o af_bluetooth.o hci_core.o hci_conn.o
hci_event.o hci_sock.o lib.o syms.o
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o l2cap.o l2cap.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o sco.o sco.c
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/core'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/drivers'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_ldisc.o hci_ldisc.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_h4.o hci_h4.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_bcsp.o hci_bcsp.c
ld -m elf_i386 -e stext -r -o hci_uart.o hci_ldisc.o  hci_h4.o hci_bcsp.o
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_vhci.o hci_vhci.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_usb.o hci_usb.c
In file included from hci_usb.c:58:
hci_usb.h:58: error: syntax error before "purb_t"
hci_usb.h:58: warning: no semicolon at end of struct or union
hci_usb.h:67: error: syntax error before '}' token
hci_usb.c:99: error: syntax error before "hci_usb_get_completed"
hci_usb.c:100: warning: return type defaults to `int'
hci_usb.c: In function `hci_usb_get_completed':
hci_usb.c:102: error: `purb_t' undeclared (first use in this function)
hci_usb.c:102: error: (Each undeclared identifier is reported only once
hci_usb.c:102: error: for each function it appears in.)
hci_usb.c:102: error: syntax error before "urb"
hci_usb.c:104: error: dereferencing pointer to incomplete type
hci_usb.c:106: error: `urb' undeclared (first use in this function)
hci_usb.c: In function `hci_usb_enable_intr':
hci_usb.c:130: error: dereferencing pointer to incomplete type
hci_usb.c:132: error: dereferencing pointer to incomplete type
hci_usb.c:132: error: dereferencing pointer to incomplete type
hci_usb.c:133: error: dereferencing pointer to incomplete type
hci_usb.c:133: error: dereferencing pointer to incomplete type
hci_usb.c:134: error: dereferencing pointer to incomplete type
hci_usb.c:134: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_disable_intr':
hci_usb.c:142: error: dereferencing pointer to incomplete type
hci_usb.c:148: error: dereferencing pointer to incomplete type
hci_usb.c:150: error: dereferencing pointer to incomplete type
hci_usb.c:152: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_rx_submit':
hci_usb.c:177: error: dereferencing pointer to incomplete type
hci_usb.c:183: error: dereferencing pointer to incomplete type
hci_usb.c:183: error: dereferencing pointer to incomplete type
hci_usb.c:185: error: dereferencing pointer to incomplete type
hci_usb.c:188: error: dereferencing pointer to incomplete type
hci_usb.c:191: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_open':
hci_usb.c:213: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_flush':
hci_usb.c:235: error: dereferencing pointer to incomplete type
hci_usb.c:236: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_unlink_urbs':
hci_usb.c:243: error: `purb_t' undeclared (first use in this function)
hci_usb.c:243: error: syntax error before "urb"
hci_usb.c:247: error: dereferencing pointer to incomplete type
hci_usb.c:248: error: `urb' undeclared (first use in this function)
hci_usb.c: In function `hci_usb_close':
hci_usb.c:268: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_ctrl':
hci_usb.c:283: error: `purb_t' undeclared (first use in this function)
hci_usb.c:283: error: syntax error before "urb"
hci_usb.c:284: error: `devrequest' undeclared (first use in this function)
hci_usb.c:284: error: `dr' undeclared (first use in this function)
hci_usb.c:287: error: `urb' undeclared (first use in this function)
hci_usb.c:295: error: dereferencing pointer to incomplete type
hci_usb.c:303: error: dereferencing pointer to incomplete type
hci_usb.c:310: error: dereferencing pointer to incomplete type
hci_usb.c:313: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_bulk':
hci_usb.c:324: error: `purb_t' undeclared (first use in this function)
hci_usb.c:324: error: syntax error before "urb"
hci_usb.c:327: error: `urb' undeclared (first use in this function)
hci_usb.c:330: error: dereferencing pointer to incomplete type
hci_usb.c:330: error: dereferencing pointer to incomplete type
hci_usb.c:332: error: dereferencing pointer to incomplete type
hci_usb.c:340: error: dereferencing pointer to incomplete type
hci_usb.c:343: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_process':
hci_usb.c:358: error: dereferencing pointer to incomplete type
hci_usb.c:361: error: dereferencing pointer to incomplete type
hci_usb.c:362: error: dereferencing pointer to incomplete type
hci_usb.c:364: error: dereferencing pointer to incomplete type
hci_usb.c:370: error: dereferencing pointer to incomplete type
hci_usb.c:370: error: dereferencing pointer to incomplete type
hci_usb.c:371: error: dereferencing pointer to incomplete type
hci_usb.c:372: error: dereferencing pointer to incomplete type
hci_usb.c:374: error: dereferencing pointer to incomplete type
hci_usb.c:375: error: dereferencing pointer to incomplete type
hci_usb.c:378: error: dereferencing pointer to incomplete type
hci_usb.c:378: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_wakeup':
hci_usb.c:384: error: dereferencing pointer to incomplete type
hci_usb.c:386: error: dereferencing pointer to incomplete type
hci_usb.c:388: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_frame':
hci_usb.c:409: error: dereferencing pointer to incomplete type
hci_usb.c:413: error: dereferencing pointer to incomplete type
hci_usb.c:418: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_interrupt':
hci_usb.c:445: error: dereferencing pointer to incomplete type
hci_usb.c:445: error: dereferencing pointer to incomplete type
hci_usb.c:454: error: dereferencing pointer to incomplete type
hci_usb.c:456: error: dereferencing pointer to incomplete type
hci_usb.c:458: error: dereferencing pointer to incomplete type
hci_usb.c:471: error: dereferencing pointer to incomplete type
hci_usb.c:476: error: dereferencing pointer to incomplete type
hci_usb.c:479: error: dereferencing pointer to incomplete type
hci_usb.c:486: error: dereferencing pointer to incomplete type
hci_usb.c:497: error: dereferencing pointer to incomplete type
hci_usb.c:506: error: dereferencing pointer to incomplete type
hci_usb.c:507: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_complete':
hci_usb.c:520: error: dereferencing pointer to incomplete type
hci_usb.c:522: error: dereferencing pointer to incomplete type
hci_usb.c:528: error: dereferencing pointer to incomplete type
hci_usb.c:531: error: dereferencing pointer to incomplete type
hci_usb.c:533: error: dereferencing pointer to incomplete type
hci_usb.c:536: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_rx_complete':
hci_usb.c:558: error: dereferencing pointer to incomplete type
hci_usb.c:563: error: dereferencing pointer to incomplete type
hci_usb.c:571: error: dereferencing pointer to incomplete type
hci_usb.c:574: error: dereferencing pointer to incomplete type
hci_usb.c:588: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_probe':
hci_usb.c:694: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:701: error: dereferencing pointer to incomplete type
hci_usb.c:702: error: dereferencing pointer to incomplete type
hci_usb.c:703: error: dereferencing pointer to incomplete type
hci_usb.c:705: error: dereferencing pointer to incomplete type
hci_usb.c:706: error: dereferencing pointer to incomplete type
hci_usb.c:714: error: dereferencing pointer to incomplete type
hci_usb.c:716: error: dereferencing pointer to incomplete type
hci_usb.c:717: error: dereferencing pointer to incomplete type
hci_usb.c:720: error: dereferencing pointer to incomplete type
hci_usb.c:722: error: dereferencing pointer to incomplete type
hci_usb.c:723: error: dereferencing pointer to incomplete type
hci_usb.c:724: error: dereferencing pointer to incomplete type
hci_usb.c:725: error: dereferencing pointer to incomplete type
hci_usb.c:728: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_disconnect':
hci_usb.c:756: error: dereferencing pointer to incomplete type
hci_usb.c:765: error: dereferencing pointer to incomplete type
hci_usb.c:766: error: dereferencing pointer to incomplete type
make[2]: *** [hci_usb.o] Error 1
make[1]: *** [hci_usb.o] Error 2
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/drivers'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/rfcomm'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o core.o core.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o sock.o sock.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o tty.o tty.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
 -O2 -DMODULE -D__KERNEL__ -I. -I../include -I/usr/src/linux/include -Wall
-Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing  -DMODVERSIONS
-include /usr/src/linux/include/linux/modversions.h   -c -o crc.o crc.c
ld -m elf_i386 -e stext -r -o rfcomm.o core.o sock.o tty.o crc.o
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/rfcomm'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/misc'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o ksock_multi.o ksock_multi.c
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o ksock_single.o ksock_single.c
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/misc'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/doc'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/doc'

>>> Install bluez-kernel-2.3 into /var/tmp/portage/bluez-kernel-2.3/image/
category net-wireless
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/include'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/include'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/core'
make[2]: `bluez.o' is up to date.
make[2]: `l2cap.o' is up to date.
make[2]: `sco.o' is up to date.
/bin/sh ../mkinstalldirs
/var/tmp/portage/bluez-kernel-2.3/image//lib/modules/2.4.27 /kernel/net/bluetooth
mkdir /var/tmp/portage/bluez-kernel-2.3/image/lib
mkdir /var/tmp/portage/bluez-kernel-2.3/image/lib/modules
mkdir /var/tmp/portage/bluez-kernel-2.3/image/lib/modules/2.4.27
mkdir /kernel
ACCESS DENIED  mkdir:     /kernel
mkdir: cannot create directory `/kernel': Permission denied
mkdir /kernel/net
ACCESS DENIED  mkdir:     /kernel/net
mkdir: cannot create directory `/kernel/net': Permission denied
mkdir /kernel/net/bluetooth
ACCESS DENIED  mkdir:     /kernel/net/bluetooth
mkdir: cannot create directory `/kernel/net/bluetooth': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/core'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/drivers'
make[2]: `hci_uart.o' is up to date.
make[2]: `hci_vhci.o' is up to date.
gcc -march=athlon-xp -Os -pipe -pipe -mpreferred-stack-boundary=2 -march=athlon
-DCONFIG_BLUEZ_HCIUART_H4=1 -DCONFIG_BLUEZ_HCIUART_BCSP=1
-DCONFIG_BLUEZ_HCIUART_BCSP_TXCRC=1 -O2 -DMODULE -D__KERNEL__ -I. -I../include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer
-fno-strict-aliasing  -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o hci_usb.o hci_usb.c
In file included from hci_usb.c:58:
hci_usb.h:58: error: syntax error before "purb_t"
hci_usb.h:58: warning: no semicolon at end of struct or union
hci_usb.h:67: error: syntax error before '}' token
hci_usb.c:99: error: syntax error before "hci_usb_get_completed"
hci_usb.c:100: warning: return type defaults to `int'
hci_usb.c: In function `hci_usb_get_completed':
hci_usb.c:102: error: `purb_t' undeclared (first use in this function)
hci_usb.c:102: error: (Each undeclared identifier is reported only once
hci_usb.c:102: error: for each function it appears in.)
hci_usb.c:102: error: syntax error before "urb"
hci_usb.c:104: error: dereferencing pointer to incomplete type
hci_usb.c:106: error: `urb' undeclared (first use in this function)
hci_usb.c: In function `hci_usb_enable_intr':
hci_usb.c:130: error: dereferencing pointer to incomplete type
hci_usb.c:132: error: dereferencing pointer to incomplete type
hci_usb.c:132: error: dereferencing pointer to incomplete type
hci_usb.c:133: error: dereferencing pointer to incomplete type
hci_usb.c:133: error: dereferencing pointer to incomplete type
hci_usb.c:134: error: dereferencing pointer to incomplete type
hci_usb.c:134: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_disable_intr':
hci_usb.c:142: error: dereferencing pointer to incomplete type
hci_usb.c:148: error: dereferencing pointer to incomplete type
hci_usb.c:150: error: dereferencing pointer to incomplete type
hci_usb.c:152: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_rx_submit':
hci_usb.c:177: error: dereferencing pointer to incomplete type
hci_usb.c:183: error: dereferencing pointer to incomplete type
hci_usb.c:183: error: dereferencing pointer to incomplete type
hci_usb.c:185: error: dereferencing pointer to incomplete type
hci_usb.c:188: error: dereferencing pointer to incomplete type
hci_usb.c:191: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_open':
hci_usb.c:213: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_flush':
hci_usb.c:235: error: dereferencing pointer to incomplete type
hci_usb.c:236: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_unlink_urbs':
hci_usb.c:243: error: `purb_t' undeclared (first use in this function)
hci_usb.c:243: error: syntax error before "urb"
hci_usb.c:247: error: dereferencing pointer to incomplete type
hci_usb.c:248: error: `urb' undeclared (first use in this function)
hci_usb.c: In function `hci_usb_close':
hci_usb.c:268: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_ctrl':
hci_usb.c:283: error: `purb_t' undeclared (first use in this function)
hci_usb.c:283: error: syntax error before "urb"
hci_usb.c:284: error: `devrequest' undeclared (first use in this function)
hci_usb.c:284: error: `dr' undeclared (first use in this function)
hci_usb.c:287: error: `urb' undeclared (first use in this function)
hci_usb.c:295: error: dereferencing pointer to incomplete type
hci_usb.c:303: error: dereferencing pointer to incomplete type
hci_usb.c:310: error: dereferencing pointer to incomplete type
hci_usb.c:313: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_bulk':
hci_usb.c:324: error: `purb_t' undeclared (first use in this function)
hci_usb.c:324: error: syntax error before "urb"
hci_usb.c:327: error: `urb' undeclared (first use in this function)
hci_usb.c:330: error: dereferencing pointer to incomplete type
hci_usb.c:330: error: dereferencing pointer to incomplete type
hci_usb.c:332: error: dereferencing pointer to incomplete type
hci_usb.c:340: error: dereferencing pointer to incomplete type
hci_usb.c:343: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_process':
hci_usb.c:358: error: dereferencing pointer to incomplete type
hci_usb.c:361: error: dereferencing pointer to incomplete type
hci_usb.c:362: error: dereferencing pointer to incomplete type
hci_usb.c:364: error: dereferencing pointer to incomplete type
hci_usb.c:370: error: dereferencing pointer to incomplete type
hci_usb.c:370: error: dereferencing pointer to incomplete type
hci_usb.c:371: error: dereferencing pointer to incomplete type
hci_usb.c:372: error: dereferencing pointer to incomplete type
hci_usb.c:374: error: dereferencing pointer to incomplete type
hci_usb.c:375: error: dereferencing pointer to incomplete type
hci_usb.c:378: error: dereferencing pointer to incomplete type
hci_usb.c:378: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_wakeup':
hci_usb.c:384: error: dereferencing pointer to incomplete type
hci_usb.c:386: error: dereferencing pointer to incomplete type
hci_usb.c:388: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_send_frame':
hci_usb.c:409: error: dereferencing pointer to incomplete type
hci_usb.c:413: error: dereferencing pointer to incomplete type
hci_usb.c:418: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_interrupt':
hci_usb.c:445: error: dereferencing pointer to incomplete type
hci_usb.c:445: error: dereferencing pointer to incomplete type
hci_usb.c:454: error: dereferencing pointer to incomplete type
hci_usb.c:456: error: dereferencing pointer to incomplete type
hci_usb.c:458: error: dereferencing pointer to incomplete type
hci_usb.c:471: error: dereferencing pointer to incomplete type
hci_usb.c:476: error: dereferencing pointer to incomplete type
hci_usb.c:479: error: dereferencing pointer to incomplete type
hci_usb.c:486: error: dereferencing pointer to incomplete type
hci_usb.c:497: error: dereferencing pointer to incomplete type
hci_usb.c:506: error: dereferencing pointer to incomplete type
hci_usb.c:507: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_tx_complete':
hci_usb.c:520: error: dereferencing pointer to incomplete type
hci_usb.c:522: error: dereferencing pointer to incomplete type
hci_usb.c:528: error: dereferencing pointer to incomplete type
hci_usb.c:531: error: dereferencing pointer to incomplete type
hci_usb.c:533: error: dereferencing pointer to incomplete type
hci_usb.c:536: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_rx_complete':
hci_usb.c:558: error: dereferencing pointer to incomplete type
hci_usb.c:563: error: dereferencing pointer to incomplete type
hci_usb.c:571: error: dereferencing pointer to incomplete type
hci_usb.c:574: error: dereferencing pointer to incomplete type
hci_usb.c:588: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_probe':
hci_usb.c:694: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:699: error: invalid application of `sizeof' to an incomplete type
hci_usb.c:701: error: dereferencing pointer to incomplete type
hci_usb.c:702: error: dereferencing pointer to incomplete type
hci_usb.c:703: error: dereferencing pointer to incomplete type
hci_usb.c:705: error: dereferencing pointer to incomplete type
hci_usb.c:706: error: dereferencing pointer to incomplete type
hci_usb.c:714: error: dereferencing pointer to incomplete type
hci_usb.c:716: error: dereferencing pointer to incomplete type
hci_usb.c:717: error: dereferencing pointer to incomplete type
hci_usb.c:720: error: dereferencing pointer to incomplete type
hci_usb.c:722: error: dereferencing pointer to incomplete type
hci_usb.c:723: error: dereferencing pointer to incomplete type
hci_usb.c:724: error: dereferencing pointer to incomplete type
hci_usb.c:725: error: dereferencing pointer to incomplete type
hci_usb.c:728: error: dereferencing pointer to incomplete type
hci_usb.c: In function `hci_usb_disconnect':
hci_usb.c:756: error: dereferencing pointer to incomplete type
hci_usb.c:765: error: dereferencing pointer to incomplete type
hci_usb.c:766: error: dereferencing pointer to incomplete type
make[2]: *** [hci_usb.o] Error 1
make[1]: *** [hci_usb.o] Error 2
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/drivers'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/rfcomm'
make[2]: `rfcomm.o' is up to date.
/bin/sh ../mkinstalldirs
/var/tmp/portage/bluez-kernel-2.3/image//lib/modules/2.4.27 /kernel/net/bluetooth
mkdir /kernel
ACCESS DENIED  mkdir:     /kernel
mkdir: cannot create directory `/kernel': Permission denied
mkdir /kernel/net
ACCESS DENIED  mkdir:     /kernel/net
mkdir: cannot create directory `/kernel/net': Permission denied
mkdir /kernel/net/bluetooth
ACCESS DENIED  mkdir:     /kernel/net/bluetooth
mkdir: cannot create directory `/kernel/net/bluetooth': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/rfcomm'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/misc'
make[2]: `ksock_multi.o' is up to date.
make[2]: `ksock_single.o' is up to date.
/bin/sh ../mkinstalldirs
/var/tmp/portage/bluez-kernel-2.3/image//lib/modules/2.4.27 /kernel/misc
mkdir /kernel
ACCESS DENIED  mkdir:     /kernel
mkdir: cannot create directory `/kernel': Permission denied
mkdir /kernel/misc
ACCESS DENIED  mkdir:     /kernel/misc
mkdir: cannot create directory `/kernel/misc': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/misc'
make[1]: Entering directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/doc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory
`/var/tmp/portage/bluez-kernel-2.3/work/bluez-kernel-2.3/doc'
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/bluez-kernel-2.3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_bluez-kernel-2.3-21486.log"

mkdir:     /kernel
mkdir:     /kernel/net
mkdir:     /kernel/net/bluetooth
mkdir:     /kernel
mkdir:     /kernel/net
mkdir:     /kernel/net/bluetooth
mkdir:     /kernel
mkdir:     /kernel/misc
--------------------------------------------------------------------------------


# ll /usr/src/linux
lrwxrwxrwx  1 root root 13 Aug  9 04:14 /usr/src/linux -> linux-2.4.27/

# emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.27)
=================================================================
System uname: 2.4.27 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.2
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ALSA_CARDS="emu10k1"
ANT_HOME="/usr/share/ant"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/portage/bashrc"
CC="gcc"
CCACHE_SIZE="2G"
CFLAGS="-march=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXX="g++"
CXXFLAGS="-march=athlon-xp -Os -pipe"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0"
DISTCC_DIR="/var/tmp/portage/.distcc"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
GLIBC_SSP_CHECKED="1"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HISTCONTROL="ignoreboth"
HOME="/root"
HOSTNAME="manuel"
INFODIR="/usr/X11R6/info"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
JAVAC="/opt/sun-jdk-1.4.2.05/bin/javac"
JAVA_HOME="/opt/sun-jdk-1.4.2.05"
JDK_HOME="/opt/sun-jdk-1.4.2.05"
KDEDIR="/usr/kde/3.2"
KDEDIRS="/usr"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_IE@euro"
LC_ALL="en_IE@euro"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man::/opt/sun-jdk-1.4.2.05/man:/usr/qt/3/doc/man"
NOCOLOR="false"
PAGER="/usr/bin/less"
PATH="/usr/lib/ccache/bin:/usr/lib/distcc/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/sun-jdk-1.4.2.05/bin:/opt/sun-jdk-1.4.2.05/jre/bin:/opt/sun-jdk-1.4.2.05/jre/javaws:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CACHEDIR="/var/cache/edb/dep/"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="20647"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
PRELINK_PATH=""
PRELINK_PATH_MASK="/opt:/usr/lib/wine:/usr/lib/MozillaFirebird"
PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]"
PWD="/root"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
TERM="xterm"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bluetooth cddb cdr crypt cups
dga dvd dvdr encode faac faad fbcon flac foomaticdb gd gdbm gif gimpprint gpm
gtk gtk2 guile icc-pgo imap imlib imlib2 innodb irda irmc java jpeg kde libg++
libwww mad maildir matroska mikmod mmx mng mpeg ncurses nls offensive oggvorbis
opengl oss pam pdflib perl pic png ppds psyco python qt quicktime readline ruby
samba scanner sdl slang spell sse ssl stroke svga tcltk tcpd tiff truetype usb
wmf x86 xinerama xml xml2 xmms xv xvid yv12 zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-08-19 12:09:50 UTC
nothing's changed, more likely your linux-headers or /usr/src/linux is broken
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-09-21 16:06:05 UTC
closing. need more info.