LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2009, 02:40 PM   #1
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Rep: Reputation: 31
Unhappy Affix bluetooth stack on fedora 11 x86_64 2.6.30 kernel


Hello!

I wanted to build the kernel modules for the affix bluetooth stack. Seeing as they're not in the FC11 repo, or the RPMFusion repo, I decided to download from website, and build from source. After running ./Configure (why can't they just call it ./configure?) I filled out all the questions, and got a message of success. After running make, it fails. I found an alternate makefile, called makefile, and moved it in place of the one called Makefile. After typing make, it builds aok. I made the stupid mistake of trying making-install as root without restoring the original makefile, which caused a forkbomb-type problem. (lol, "make[5806]: Making install...") After pkilling make with a very very laggy screen, I copied the original makefile back that wouldn't normally make. I tried making install again, and got the following:

Code:
[albatross@Moebius affix-kernel-3.2.0]$ sudo make install
make -f Makefile install
make[1]: Entering directory `/home/albatross/Desktop/affix-kernel-3.2.0'
Checking kernel checksum ...
make[2]: Entering directory `/home/albatross/Desktop/affix-kernel-3.2.0'
make -C etc all
make[3]: Entering directory `/home/albatross/Desktop/affix-kernel-3.2.0/etc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/albatross/Desktop/affix-kernel-3.2.0/etc'
make -C include all
make[3]: Entering directory `/home/albatross/Desktop/affix-kernel-3.2.0/include'
make[3]: Leaving directory `/home/albatross/Desktop/affix-kernel-3.2.0/include'
make -C /usr/src/kernels/2.6.30.5-43.fc11.x86_64 SUBDIRS=$PWD modules
make[3]: Entering directory `/usr/src/kernels/2.6.30.5-43.fc11.x86_64'
  CC [M]  /home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.o
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:30:26: error: linux/config.h: No such file or directory
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:49:35: error: linux/devfs_fs_kernel.h: No such file or directory
In file included from /home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:68:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:191:24: warning: "__BIG_ENDIAN" is not defined
In file included from /home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:68:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: error: expected declaration specifiers or ‘...’ before ‘ioctl’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: error: expected declaration specifiers or ‘...’ before ‘fd’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: error: expected declaration specifiers or ‘...’ before ‘cmd’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: error: expected declaration specifiers or ‘...’ before ‘arg’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: warning: type defaults to ‘int’ in declaration of ‘_syscall3’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: error: expected declaration specifiers or ‘...’ before ‘poll’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: error: expected declaration specifiers or ‘...’ before ‘ufds’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: error: expected declaration specifiers or ‘...’ before ‘nfds’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: error: expected declaration specifiers or ‘...’ before ‘timeout’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: warning: type defaults to ‘int’ in declaration of ‘_syscall3’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:851: error: conflicting types for ‘_syscall3’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:850: note: previous declaration of ‘_syscall3’ was here
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:852: error: expected declaration specifiers or ‘...’ before ‘socketcall’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:852: error: expected declaration specifiers or ‘...’ before ‘call’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:852: error: expected declaration specifiers or ‘...’ before ‘args’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:852: warning: type defaults to ‘int’ in declaration of ‘_syscall2’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘btsys_socket’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:864: error: implicit declaration of function ‘socketcall’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘btsys_ioctl’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:909: error: implicit declaration of function ‘ioctl’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘btsys_poll’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1021: error: implicit declaration of function ‘poll’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘btsys_close’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1032: error: implicit declaration of function ‘close’
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘hci_open’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1118: error: ‘errno’ undeclared (first use in this function)
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1118: error: (Each undeclared identifier is reported only once
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1118: error: for each function it appears in.)
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h: In function ‘_hci_open’:
/home/albatross/Desktop/affix-kernel-3.2.0/include/affix/bluetooth.h:1131: error: ‘errno’ undeclared (first use in this function)
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘hcc_timer’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:113: error: implicit declaration of function ‘notifier_call_chain’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘hci_run_hotplug’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:1708: error: dereferencing pointer to incomplete type
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_sock_recvmsg’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:1960: error: ‘struct sk_buff’ has no member named ‘h’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:1972: error: too few arguments to function ‘skb_unlink’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_sock_reset’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2109: error: ‘struct sock’ has no member named ‘sk_pair’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_sock_ready’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2118: error: ‘struct sock’ has no member named ‘sk_pair’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2130: error: ‘struct sock’ has no member named ‘sk_pair’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_register_notifier’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2162: error: implicit declaration of function ‘notifier_chain_register’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_unregister_notifier’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2167: error: implicit declaration of function ‘notifier_chain_unregister’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘affix_sock_create’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2193: warning: passing argument 1 of ‘btprotos[protocol]->create’ from incompatible pointer type
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2193: note: expected ‘struct net *’ but argument is of type ‘struct socket *’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2193: warning: passing argument 2 of ‘btprotos[protocol]->create’ makes pointer from integer without a cast
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2193: note: expected ‘struct socket *’ but argument is of type ‘int’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2193: error: too few arguments to function ‘btprotos[protocol]->create’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: At top level:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2203: warning: initialization from incompatible pointer type
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2250: error: expected specifier-qualifier-list before ‘get_info_t’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2254: warning: excess elements in struct initializer
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2254: warning: (near initialization for ‘dir[0]’)
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2255: warning: excess elements in struct initializer
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2255: warning: (near initialization for ‘dir[1]’)
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘hci_proc_init’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2263: error: ‘proc_net’ undeclared (first use in this function)
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2268: error: implicit declaration of function ‘create_proc_info_entry’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2268: error: ‘struct hci_proc_entry’ has no member named ‘fn’
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2268: warning: assignment makes pointer from integer without a cast
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: In function ‘hci_proc_exit’:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2283: error: ‘proc_net’ undeclared (first use in this function)
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c: At top level:
/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.c:2531: error: expected ‘)’ before string constant
make[5]: *** [/home/albatross/Desktop/affix-kernel-3.2.0/btcore/hci.o] Error 1
make[4]: *** [/home/albatross/Desktop/affix-kernel-3.2.0/btcore] Error 2
make[3]: *** [_module_/home/albatross/Desktop/affix-kernel-3.2.0] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.30.5-43.fc11.x86_64'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/albatross/Desktop/affix-kernel-3.2.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/albatross/Desktop/affix-kernel-3.2.0'
make: *** [install] Error 2
Does anybody have the answer? I'm clueless...

ah, btw, I was sure to install my kernel-devel packages (apparently eqivalent to kernel-source) if that's what you're thinking.
 
Old 09-20-2009, 02:48 PM   #2
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Original Poster
Rep: Reputation: 31
I feel like a total moron now - I didn't read the readme. I was supposed to move the affix-kernel package to /usr/src/affix, and try everything from there, and recompile my kernel - which I'm not sure I feel comfortable doing.

Well, no affix for me then - I'd have no idea what I was doing recompiling a kernel...
 
  


Reply

Tags
bluetooth, error, fedora, kernel, make, module


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x86_64 kernel on Fedora 11 does not see 4 GB RAM Nadasdy Linux - Hardware 8 06-20-2009 08:04 AM
bluetooth stack - dbus error ebinjose Linux - Wireless Networking 0 01-15-2009 02:00 AM
x86_64 stack pointer and offset register fardad Programming 2 11-21-2008 04:28 PM
problem in Bluez bluetooth stack sonijindal Linux - Hardware 0 02-26-2007 08:05 AM
pre-compiled 2.6.6 kernel (fedora core 2) with 8k stack? jeffreybluml Linux - Newbie 2 06-09-2004 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration