This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling ISDN driver


Sven Lueppken wrote:

> I've got a problem while trying to compile the AVM Fritz!-ISDN Card 
> (* )
> 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: 
> /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 "" 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.

Volker Reichelt

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]