View previous topic :: View next topic |
Author |
Message |
Nethermancer n00b
Joined: 11 Aug 2004 Posts: 19 Location: DE-DUS
|
Posted: Fri Mar 07, 2008 11:51 pm Post subject: Fritz!Card USB v2.1 with fcusb2 - compiling error |
|
|
Hello, I have some trouble installing my Fritz!Card USB v2.1:
At first I tried net-dialup/fcusb2-0.1-r1, but this version does not compile (see code below).
The previous version (0.1) compiled without problems, but capi does not detect any b-channels.
Then I tried net-dialup/fritzcapi and got the same problem.
Now I want to give net-dialup/fcusb2-0.1-r1 another try, but I cannot figure out what exactly the problem is:
Code: |
# emerge fcusb2 -v
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-dialup/fcusb2-0.1-r1 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 1) net-dialup/fcusb2-0.1-r1 to /
* fcusb2-0.1-0.src.rpm RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking fcusb2-0.1-0.src.rpm ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/2.6.23-gentoo-r9/build
* Found sources for kernel version:
* 2.6.23-gentoo-r9
>>> Unpacking source...
>>> Unpacking fcusb2-suse93-3.11-07.tar.gz to /var/tmp/portage/net-dialup/fcusb2-0.1-r1/work
* Applying fritz-tools.diff ... [ ok ]
* Applying fritz-usb.diff ... [ ok ]
* Applying fritz_config.diff ... [ ok ]
* Applying fritz_init_work.diff ... [ ok ]
* Applying fritz_urb.diff ... [ ok ]
* Applying fcusb2_kernel-2.6.24.diff ... [ ok ]
* Converting src/Makefile to use M= instead of SUBDIRS= ... [ ok ]
* Localize symbols in fcusb2-lib.o ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz ...
* Preparing fcusb2 module
make -C /usr/src/linux M=/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src modules
make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r9'
CC [M] /var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.o
CC [M] /var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/main.o
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:98: error: conflicting types for 'hotplug'
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:95: error: previous definition of 'hotplug' was here
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:99: error: conflicting types for 'notify'
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:96: error: previous definition of 'notify' was here
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c: In function 'scheduler':
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:1218: warning: passing argument 1 of 'complete' from incompatible pointer type
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c: In function 'kill_thread':
/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.c:1256: warning: passing argument 1 of 'wait_for_completion' from incompatible pointer type
make[2]: *** [/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src/driver.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r9'
make: *** [fcusb2.o] Error 2
*
* ERROR: net-dialup/fcusb2-0.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3169: Called linux-mod_src_compile
* environment, line 2382: Called die
* The specific snippet of code:
* emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}.";
* The die message:
* Unable to make KDIR=/usr/src/linux LIBDIR=/var/tmp/portage/net-dialup/fcusb2-0.1-r1/work/fritz/src all.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-dialup/fcusb2-0.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-dialup/fcusb2-0.1-r1/temp/environment'.
*
|
Thanks in advance for any help! _________________ -Nethermancer |
|
Back to top |
|
|
Nethermancer n00b
Joined: 11 Aug 2004 Posts: 19 Location: DE-DUS
|
Posted: Sun Mar 16, 2008 12:00 am Post subject: |
|
|
Hello again,
I had a look in the source-code of net-dialup/fcusb2-0.1-r1.
There are some if-branches for kernel 2.6.24.
After compiling a 2.6.24-kernel, net-dialup/fcusb2-0.1-r1 compiles without problems.
capiinfo is now detecting both B-channels.
_________________ -Nethermancer |
|
Back to top |
|
|
|
|
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
|
|