[uClinux-dev] kernel module and static

2007-05-03 Thread Stéphane
Hi, I have a bug that I can be resume as: /***/ #include // Needed by all modules #include // Needed for KERN_INFO static long global_right_encoder; static long global_left_encoder; static long VitL; int init_module(void) { VitL = 0; global_left_encoder =

Re: [uClinux-dev] kernel module and static

2007-05-03 Thread Stéphane
ecs from /opt/uClinux-m68k-elf/lib/gcc-lib/m68k-elf/2.95.3/specs gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/) thanks Wolfgang Reissnegger a écrit : > Hi Stéphane, > > looks

Re: [uClinux-dev] kernel module and static

2007-05-03 Thread Stéphane
61746368 65732066 726f6d20 68747470 atches from http 0090 3a2f2f77 2e73 6e617067 6561722e ://www.snapgear. 00a0 636f6d2f 2900com/). Wolfgang Reissnegger a écrit : > Hi Stéphane, > > can you also generate an objdump of the module and post it?

Re: [uClinux-dev] kernel module and static

2007-05-03 Thread Stéphane
%d0 9c:6561 bcss ff 9e:722e moveq #46,%d1 a0:636f blss 111 a2:6d2f blts d3 a4:2900 movel %d0,[EMAIL PROTECTED] Wolfgang Reissnegger a écrit : > Hi, > > try to use "objdump -D xx..o"

Re: [uClinux-dev] kernel module and static

2007-05-07 Thread Stéphane
Hi, Thanks a lot everybody, the "-m68000" was missing and require! Greg Ungerer a écrit : > Hi Stephane, > > Stéphane wrote: >> In Makefile: >> >> // >> >> INCLUDE := -isystem ../uClinux-dist-20060803/linux-2.4.x/include >

Re: [uClinux-dev] probably the compile line

2007-05-08 Thread Stéphane
E -DMODULE -D__KERNEL__ -isystem ../uClinux-dist-20060803/linux-2.4.x/include -m68000 -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -c -o ucAsserv.o ucAsserv.c the cpu is MC68vz328 thanks stephane Germain Greg Ungerer a écrit : > Hi Stephane, > > Stéphane wr