Bug#358580: linux-2.6: cannot build modules against 2.6.16

2006-03-30 Thread Richard Burton


Richard, you said you were able to build fglrx. Did you make something 
special ?
I also tried without module-assistant, but cannot figure out why it is 
looking

for Makefile.lib.c file.


That module builds fine for me, in fact so far it's the only one that does 
against 2.6.16.
bcm5700 doesn't, thinkpad smapi doesn't, nvidia doesn't (though that's 
because of something in the nvidia driver itself, not the kernel headers 
package).


While in 2.6.15 I did:
m-a clean all
m-a -l 2.6.16-1-686
- update
- prepare
- select
- - get
- - build
- - install


sudo module-assistant -t build fglrx
Warning, /usr/src/linux-headers-2.6.16-1 seems to contain unconfigured 
kernel

source!


I do still get this warning, and it is probably part of the problem, but it 
seems the flgrx module builds differently (i.e. doesn't use the kernels own 
module build makefile) so it does work.


To avoid this bug getting distracted if you still can't get it to build I'd 
raise it against that component, and if it does relate to this bug then the 
maintainer can hopefully draw some attention to this one. So far there has 
been no response from any of the kernel team to this bug.


Richard.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#358580: linux-2.6: cannot build modules against 2.6.16

2006-03-29 Thread Jerome Robert
I'am having similar problems (still with 2.6.16-4). I successfully built madwifi
but cannot build fglrx-8.23.7 (see below). I have no problems 2.6.15.

Richard, you said you were able to build fglrx. Did you make something special ?
I also tried without module-assistant, but cannot figure out why it is looking
for Makefile.lib.c file.

sudo module-assistant -t build fglrx
Warning, /usr/src/linux-headers-2.6.16-1 seems to contain unconfigured kernel
source!
Extracting the package tarball, /usr/src/fglrx.tar.bz2, please wait...
dh_testroot

.

dh_testdir
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/fglrx modules
  CC  scripts/Makefile.lib.o
gcc: scripts/Makefile.lib.c: No such file or directory
gcc: no input files
make[2]: *** [scripts/Makefile.lib.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make: *** [build] Error 2
BUILD FAILED!


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)



Bug#358580: linux-2.6: cannot build modules against 2.6.16

2006-03-23 Thread Richard Antony Burton
Package: linux-2.6
Severity: important

Unable to build some modules against the new 2.6.16 headers package. Here is the
top of the output from trying to build the tp_smapi module against 2.6.15  16:

[EMAIL PROTECTED]:~/tp_smapi-0.17# make install
make -C /lib/modules/2.6.15-1-686/build M=/root/tp_smapi-0.17 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-1-686'
  CC [M]  /root/tp_smapi-0.17/tp_base.o
  CC [M]  /root/tp_smapi-0.17/tp_smapi.o


[EMAIL PROTECTED]:~/tp_smapi-0.17# make install
make -C /lib/modules/2.6.16-1-686/build M=/root/tp_smapi-0.17 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.16-1-686'
sed: can't read tp_smapi.c: No such file or directory


It appears the modules makefile no longer changes directory correctly to the
location specified by M.

Additionally module assistant gives the following warning on start (though was
able to build the fglrx module):
Warning, /usr/src/linux-headers-2.6.16-1 seems to contain unconfigured kernel
source!
I assume this is probably related.

Richard.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]