I'm trying to build a module for 2.6 to run on my M5282 system.

I can't get the busybox in the uClinux-dist to build happily (fork versus vfork) I noticed that the latest busybox claims happy compatibility with NOMMU; I tried compiling it; it went well until the final link, then dumped me with: /opt/m68k-uclinux/tools/lib/gcc/m68k-uclinux/4.1.1/libgcc.a (__main.o): In function `__do_global_ctors': /home/astern/coldfire/tools/gcc-4.1.1/gcc/libgcc2.c:1955: undefined reference to `__CTOR_LIST__' /home/astern/coldfire/tools/gcc-4.1.1/gcc/libgcc2.c:1955: undefined reference to `__CTOR_LIST__' /home/astern/coldfire/tools/gcc-4.1.1/gcc/libgcc2.c:1955: undefined reference to `__CTOR_LIST__' /opt/m68k-uclinux/tools/lib/gcc/m68k-uclinux/4.1.1/libgcc.a(__main.o): (.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1

It looks like it's using libgcc. Trying to use uclibc, but how do I do that? I can't get ucfront figured out for my tools install (which I did separate from uClinux-dist)

What the heck, let's just get the modutils from kernel.org.

Hmmm. Doesn't look like easy options for cross compiling.


What's the easiest path here?
I finally got my module ported to 2.6, and I really really want to test it out on my target, but can't load the dern thing!

(just a little frustrated here :)

-
allon
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to