[Bug 46956] Re: unable to compile

2007-09-20 Thread Olivier Cortès
Hi,

on Gutsy *and* Feisty, build error too :

# Build the module
CC=gcc-4.1 /usr/bin/make KSRC=/lib/modules/2.6.20-16-generic/build 
KVER=2.6.20-16-generic
make[2]: Entering directory `/usr/src/modules/pwc'
/usr/bin/make -C /lib/modules/2.6.20-16-generic/build 
SUBDIRS=/usr/src/modules/pwc modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M]  /usr/src/modules/pwc/pwc-if.o
In file included from /usr/src/modules/pwc/pwc-if.c:69:
/usr/src/modules/pwc/pwc.h:28:26: error: linux/config.h: No such file or 
directory
/usr/src/modules/pwc/pwc-if.c: In function 'pwc_isoc_init':
/usr/src/modules/pwc/pwc-if.c:920: warning: assignment from incompatible 
pointer type
make[4]: *** [/usr/src/modules/pwc/pwc-if.o] Error 1
make[3]: *** [_module_/usr/src/modules/pwc] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/pwc'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/pwc'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/pwc-source.buildlog.2.6.20-16-generic.1190300883 for 
details.
Build failed. Press Return to continue...

linux-headers-`uname -r` is installed on both machines (gutsy and feisty), and 
module-assistant fetched anything normally needed to compile modules (kqemu and 
alsa just build, install fine and work perfectly). I suspect this to be a 
newbie error as linux/config.h has been a standard file in the past, but I 
can't remember where to find it.
Is it just as simple as `gunzip -cd /proc/config.gz  
/usr/include/linux/config.h` (as root) ?

What do you think about it ? Why does pwc needs this linux/config.h
whereas other modules compile fine without it ?

** Summary changed:

- unable to compile 
+ pwc module fails to build, unable to compile, missing linux/config.h 
[Feisty/Gutsy]

-- 
pwc module fails to build, unable to compile, missing linux/config.h 
[Feisty/Gutsy]
https://bugs.launchpad.net/bugs/46956
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 46956] Re: unable to compile

2007-08-25 Thread Kaleo
Hi jfjellstad,

Any news on Feisty or Gutsy?

-- 
unable to compile 
https://bugs.launchpad.net/bugs/46956
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 46956] Re: unable to compile

2006-11-25 Thread jfjellstad
I'm currently using Edgy.  When compiling now, I get the following
error:

[EMAIL PROTECTED]:/usr/src/linux-source-2.6.17$ fakeroot make-kpkg 
--revision=5:1.custom --append-to-version -10-jlf modules_image
exec debian/rules  DEBIAN_REVISION=5:1.custom  APPEND_TO_VERSION=-10-jlf  
modules_image
for module in /usr/src/modules/pwc ; do   \
  if test -d  $module; then\
(cd $module;  \
  if ./debian/rules KVERS=2.6.17.13-ubuntu1-10-jlf 
KSRC=/usr/src/linux-source-2.6.17 \
 KMAINT=John L Fjellstad KEMAIL=[EMAIL 
PROTECTED]  \
 KPKG_DEST_DIR=/usr/src/linux-source-2.6.17/..
   \
 KPKG_MAINTAINER=John L Fjellstad\
 KPKG_EXTRAV_ARG=EXTRAVERSION=.13-ubuntu1-10-jlf  
  \
 ARCH=i386  \
 KDREV=5:1.custom kdist_image; then\
  echo Module $module processed fine;\
  else  \
   echo Module $module failed.;  \
   if [ X != X ]; then  \
  echo Perhaps $module does not understand --rootcmd?;  \
  echo If you see messages that indicate that it is not; \
  echo in fact being built as root, please file a bug ;  \
  echo against $module.; \
   fi;  \
   echo Hit return to Continue;   \
 read ans;\
  fi;   \
 );\
  else  \
   echo Module $module does not exist;   \
   echo Hit return to Continue?;  \
  fi;   \
done
make[1]: Entering directory `/usr/src/modules/pwc'
make[1]: Nothing to be done for `kdist_image'.
make[1]: Leaving directory `/usr/src/modules/pwc'
Module /usr/src/modules/pwc processed fine

Note, no actual .deb gets created

-- 
unable to compile 
https://launchpad.net/bugs/46956

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 46956] Re: unable to compile

2006-11-23 Thread Kaleo
Hello, sorry for the late response.

Is the issue still present in latest Dapper ? What about Edgy ?

** Changed in: pwc (Ubuntu)
   Status: Unconfirmed = Needs Info

-- 
unable to compile 
https://launchpad.net/bugs/46956

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs