Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
G4 iBook internal modem with 2.6 kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
sienarot
n00b
n00b


Joined: 24 Sep 2003
Posts: 52
Location: Calgary, Alberta, Canada

PostPosted: Mon Jun 14, 2004 7:18 pm    Post subject: G4 iBook internal modem with 2.6 kernel Reply with quote

I can't seem to get the internal modem working on my G4 iBook using kernel.2.6.5_rc2-benh. Has anyone gotten this to work? I did some searching and some of the information seemed to only refer to the 2.4 kernel.

I emerged hcfusbmodem-0.99.03042703 and ran hcfusbconfig, but had some errors.

First I had:
Code:

WARNING: missing file /lib/modules/2.6.5_rc2-benh1/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).


The modversions.h file was in the /usr/src/linux/include/config directory, so I just to copied that file into the /usr/src/linux/include/lilnux directory and it went a little further.

However it still didn't complete and I was getting this error:
Code:

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hcfusbconfig-buildlog.txt" to determine why.


hcfusbconfig-buildlog.txt contents are as follows:
Code:
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)
rm -f *.o *.a
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)
make[1]: Entering directory `/usr/lib/hcfusb/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hcfusb/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from mod_osspec.c:11:
../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /usr/src/linux/include/linux/compiler.h:18,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from ../modules/osspec/include/oscompat.h:22,
                 from mod_osspec.c:10:
/usr/src/linux/include/linux/compiler-gcc3.h:9:1: warning: this is the location of the previous definition
make -C osspec all
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
../../modules/kernelcompiler.sh: using gcc; cannot find compiler matching:
../../modules/kernelcompiler.sh: gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r4, propolice)
make[1]: Entering directory `/usr/lib/hcfusb/modules/osspec'
* compiling (gcc) osstdio.c
In file included from osstdio.c:25:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /usr/src/linux/include/linux/compiler.h:18,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from ../../modules/osspec/include/oscompat.h:22,
                 from osstdio.c:21:
/usr/src/linux/include/linux/compiler-gcc3.h:9:1: warning: this is the location of the previous definition
* compiling (gcc) osnvm.c
In file included from osnvm.c:28:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /usr/src/linux/include/linux/compiler.h:18,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from ../../modules/osspec/include/oscompat.h:22,
                 from osnvm.c:27:
/usr/src/linux/include/linux/compiler-gcc3.h:9:1: warning: this is the location of the previous definition
* compiling (gcc) osresour.c
In file included from osresour.c:19:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /usr/src/linux/include/linux/compiler.h:18,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from ../../modules/osspec/include/oscompat.h:22,
                 from osresour.c:18:
/usr/src/linux/include/linux/compiler-gcc3.h:9:1: warning: this is the location of the previous definition
osresour.c: In function `cnxtusbhcf_OSFindPCIDevice':
osresour.c:30: warning: implicit declaration of function `pci_present'
* compiling (gcc) osservices.c
In file included from osservices.c:14:
../../modules/osspec/include/ostypedefs.h:68:1: warning: "__inline" redefined
In file included from /usr/src/linux/include/linux/compiler.h:18,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from ../../modules/osspec/include/oscompat.h:22,
                 from osservices.c:13:
/usr/src/linux/include/linux/compiler-gcc3.h:9:1: warning: this is the location of the previous definition
osservices.c: In function `TimeOutHandler':
osservices.c:434: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:515)
osservices.c:436: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
osservices.c: In function `TimerThreadFunction':
osservices.c:448: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
osservices.c:456: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
osservices.c:463: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
osservices.c: In function `thrd_daemonize':
osservices.c:529: too few arguments to function `daemonize'
osservices.c: In function `cnxtusbhcf_OsCreatePeriodicTimer':
osservices.c:653: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:515)
osservices.c:673: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
osservices.c: In function `cnxtusbhcf_OsDestroyPeriodicTimer':
osservices.c:732: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:527)
make[1]: *** [osservices.o] Error 1
make[1]: Leaving directory `/usr/lib/hcfusb/modules/osspec'
make: *** [osspec] Error 2


Any help?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum