[hcflinux] Failure on Powerbook G4 with Ubuntu 6.06 [eid-20060522-b10]

Jörg Wenzel joergwenzel at gmx.de
Wed May 24 07:29:28 EDT 2006


Hi Jonathan,

sorry but linux-headers-2.6.15-23 was not installed.

It is the same problem:

~/hcfusbmodem-1.10powerpcfull$ more /tmp/hcfusbconfig-buildlog.txt
Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown
system while the installed hcfusb driver package is for powerpc, this is
likely to fail... ***
(cd /lib/modules/2.6.15-23-powerpc/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.15-23-powerpc/build"
"M=/usr/lib/hcfusbmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23-powerpc'
/usr/lib/hcfusbmodem/modules/Makefile:20: *** WARNING: Trying to compile
kernel modules on a unknown system while the installed hcfusb driver
package is for powerpc, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-powerpc'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd
GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbosspec.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbserial.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbengine.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbhw.mod
(cd /lib/modules/2.6.15-23-powerpc/build && make
"CNXT_KERNELSRC=/lib/modules/2.6.15-23-powerpc/build"
"M=/usr/lib/hcfusbmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23-powerpc'
/usr/lib/hcfusbmodem/modules/Makefile:20: *** WARNING: Trying to compile
kernel modules on a unknown system while the installed hcfusb driver
package is for powerpc, this is likely to fail... ***
  CC [M]  /usr/lib/hcfusbmodem/modules/mod_engine.o
  CC [M]  /usr/lib/hcfusbmodem/modules/mod_hcfusb.o
  CC [M]  /usr/lib/hcfusbmodem/modules/mod_osspec.o
In file included from /usr/lib/hcfusbmodem/modules/mod_osspec.c:321:
/usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
warning: #warning FILEIDNUM not defined
In file included from /usr/lib/hcfusbmodem/modules/mod_osspec.c:321:
/usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
warning: #warning FILEIDNUM not defined
  CC [M]  /usr/lib/hcfusbmodem/modules/osservices.o
In file included from /usr/lib/hcfusbmodem/modules/osservices.c:21:
/usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
warning: #warning FILEIDNUM not defined
In file included from /usr/lib/hcfusbmodem/modules/osservices.c:32:
include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or
directory
make[2]: *** [/usr/lib/hcfusbmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hcfusbmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-powerpc'
make: *** [all] Error 2

Regards,
Joerg









Am Montag, den 22.05.2006, 17:17 -0400 schrieb Linuxant support
(Jonathan):
> Hi,
> 
> the source of the problem seems to be:
> 
> ---
> In file included from /usr/lib/hcfusbmodem/modules/osservices.c:32:
> include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or
> directory
> ---
> 
> It seems that a header file of the kernel tries to include another 
> header file of the kernel and fails. It is quite possible that the 
> installed linux-headers package was not property packaged and is 
> unusable to compile kernel modules.
> 
> Can you try with another kernel to see if there is a difference?
> 
> Regards,
> 
> 
> Jonathan
> Technical specialist / Linuxant
> www.linuxant.com
> support at linuxant.com
> 
> 
> 
> Jörg Wenzel wrote:
> > Hello,
> > 
> > hcfusbconfig fails with errors.
> > 
> > 1. make install runs without errors
> > 
> > 2. @Powerbook:~/hcfusbmodem-1.10powerpcfull$ sudo hcfusbconfig
> > Conexant HCF controllerless USB modem driver, version 1.10powerpcfull
> > 
> > If you need license keys, assistance or more information, please go to:
> >         http://www.linuxant.com/
> > 
> > When reporting a problem for the first time, please send
> > us the file generated by "hcfusbconfig --dumpdiag".
> > 
> > No pre-built modules for: Ubuntu-6.06 linux-2.6.15-23-powerpc ppc
> > 
> > Trying to automatically build the driver modules...
> > (this requires a C compiler and proper kernel sources to be installed)
> > 
> > Where is the linux source build directory that matches your running
> > kernel?
> > [/lib/modules/2.6.15-23-powerpc/build]
> > 
> > Building modules for kernel 2.6.15-23-powerpc, using source directory
> > /lib/modules/2.6.15-23-powerpc/build. Please wait...
> > 
> > ERROR: Module build failed!
> > Please examine the log file "/tmp/hcfusbconfig-buildlog.txt" to
> > determine why.
> > 
> > Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown
> > system while the installed hcfusb driver package
> > is for powerpc, this is likely to fail... ***
> > (cd /lib/modules/2.6.15-23-powerpc/build && make
> > "CNXT_KERNELSRC=/lib/modules/2.6.15-23-powerpc/build"
> > "M=/usr/lib/hcfusbmodem/modules" "CC=gcc" clean)
> > make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23-powerpc'
> > /usr/lib/hcfusbmodem/modules/Makefile:20: *** WARNING: Trying to compile
> > kernel modules on a unknown system while the installed hcfusb driver
> > package is for powerpc, this is likely to fail... ***
> > make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-powerpc'
> > rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd
> > GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbosspec.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbserial.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbengine.mod  /lib/modules/2.6.15-23-powerpc/build/.tmp_versions/hcfusbhw.mod
> > (cd /lib/modules/2.6.15-23-powerpc/build && make
> > "CNXT_KERNELSRC=/lib/modules/2.6.15-23-powerpc/build"
> > "M=/usr/lib/hcfusbmodem/modules" "CC=gcc" modules)
> > make[1]: Entering directory `/usr/src/linux-headers-2.6.15-23-powerpc'
> > /usr/lib/hcfusbmodem/modules/Makefile:20: *** WARNING: Trying to compile
> > kernel modules on a unknown system while the installed hcfusb driver
> > package is for powerpc, this is likely to fail... ***
> >   CC [M]  /usr/lib/hcfusbmodem/modules/mod_engine.o
> >   CC [M]  /usr/lib/hcfusbmodem/modules/mod_hcfusb.o
> >   CC [M]  /usr/lib/hcfusbmodem/modules/mod_osspec.o
> > In file included from /usr/lib/hcfusbmodem/modules/mod_osspec.c:321:
> > /usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
> > warning: #warning FILEIDNUM not defined
> > In file included from /usr/lib/hcfusbmodem/modules/mod_osspec.c:321:
> > /usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
> > warning: #warning FILEIDNUM not defined
> >   CC [M]  /usr/lib/hcfusbmodem/modules/osservices.o
> > In file included from /usr/lib/hcfusbmodem/modules/osservices.c:21:
> > /usr/lib/hcfusbmodem/modules/imported/include/testdebug.h:181:2:
> > warning: #warning FILEIDNUM not defined
> > In file included from /usr/lib/hcfusbmodem/modules/osservices.c:32:
> > include/linux/suspend.h:5:25: error: asm/suspend.h: No such file or
> > directory
> > make[2]: *** [/usr/lib/hcfusbmodem/modules/osservices.o] Error 1
> > make[1]: *** [_module_/usr/lib/hcfusbmodem/modules] Error 2
> > make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-23-powerpc'
> > make: *** [all] Error 2
> > 
> > 
> > Please help me....
> > 
> > Best regards,
> > Joerg Wenzel
> > 
> > 
> > 
> 



More information about the hcflinux mailing list