On Mon, Nov 19, 2001 at 04:05:09PM +0800, renc stone wrote: > That's the same problem as mine. > I try to use 64bit long long div& mod in one module, > and find I miss some _divdi3 and something like that. > > when I try to link my module with libgcc.a, in my mipsel-glibc 2.95.3, > the ld report the same thing. > > Does it mean I can't use 64bit div in module? How to get rid of this error? Again, it's a grave mistake to mix pic and non-pic libraries. To solve this you must either supply your own non-pic versions of the routines in question or - and better - try to avoid them. In your case take a look at <asm/div64.h> which supplies a 64-bit by 32-bit division routine. Ralf