This is the mail archive of the
mailing list for the GCC project.
Re: Problems compiling ISDN driver
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: DrBranson at web dot de, gcc at gcc dot gnu dot org
- Date: Mon, 12 Aug 2002 13:21:23 +0200
- Subject: Re: Problems compiling ISDN driver
Sven Lueppken wrote:
> I've got a problem while trying to compile the AVM Fritz!-ISDN Card
> (ftp://ftp.avm.de/cardware/fritzcrd.pci/linux/fcpci* )
> driver for Linux with any GCC version >= 3.1 !
> When trying to load the driver the following error occurs:
> /lib/modules/2.4.19/misc/fcpci.o: unresolved symbol __udivdi3
> /lib/modules/2.4.19/misc/fcpci.o: insmod
> /lib/modules/2.4.19/misc/fcpci.o failed
> /lib/modules/2.4.19/misc/fcpci.o: insmod fcpci failed
> That is rather a major problem because these drivers should be
> included in the
> Gentoo Linux 1.4 for example which is compiled with gcc 3.2!
> (And it prevented me from changing to gcc 3.1 on my SuSE 7.3!)
> glibc-version is 2.2.5, Kernel 2.4.19!
If you do not intend to use HylaFax or need the CAPI interface for
something else you are probably better off using the drivers from the
kernel sources since they also work on SMP systems (drop me a mail, if
you need help)
But if you want to use the CAPI interface you can make the sources run
by adding the function "__udivdi3" to the driver. (I don't know if you
can manage that by linking to "libgcc_s.so" or fiddling with the command
line parameters for gcc - I just opted for the quick and dirty way and
extracted the sources from gcc's "libgcc_s.c".) Again, drop me a mail,
if you need help.