Hi,

the other way would be to put the KBUILD_EXTRA_SYMBOLS-option for the 
make-command:

        make -C "$(LINUX_SOURCE_DIR)" M="$(PATH_TO_YOUR_MODULE)" \
                KBUILD_EXTRA_SYMBOLS=$(PATH_TO_ECAT_STACK)/Module.symvers \
                modules

It works for for lk-2.6.37+ 

Regards
Sergej.


Am Montag, den 02.05.2011, 09:22 +0200 schrieb Richard Hacker:
> On Friday 29 April 2011 18:22:50 Hartl Daniel wrote:
> > Hmm,
> > yes it is enabled. Sorry I'm a linux newbie. Can I disable Module Symbol
> > Versioning without kernel recompilation or there are any other solutions?
> > The "mini.c" example works.
> Please disable it and recompile the kernel
> 
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Richard Hacker [mailto:h...@igh-essen.com]
> > Gesendet: Donnerstag, 28. April 2011 17:29
> > An: etherlab-users@etherlab.org
> > Cc: Daniel Hartl
> > Betreff: Re: [etherlab-users] Unknown Symbol
> > 
> > Hi
> > 
> > have you got Module Symbol Versioning active in your kernel configuration?
> > You
> > have to switch that off.
> > 
> > Richard
> > 
> > On Thursday 28 April 2011 09:20:14 Daniel Hartl wrote:
> > > If i try to load my Modul via insmod, i will get this error"
> > > insmod: error inserting 'moduleETC.ko': -1 Unknown symbol in module"
> > >
> > > dmesg:
> > > "
> > > no symbol version for ecrt_request_master
> > > Unknown symbol ecrt_request_master
> > > "
> > >
> > > The ethercat module is loaded.
> > 
> > Mit freundlichem Gruß
> > 
> > Richard Hacker
> > 
> 
> Mit freundlichem Gruß
> 
> Richard Hacker
> 
> -- 
> ------------------------------------------------------------------------
> 
> Richard Hacker M.Sc. 
> richard.hac...@igh-essen.com
> Tel.: +49 201 / 36014-16
> 
> Ingenieurgemeinschaft IgH
> Gesellschaft für Ingenieurleistungen mbH
> Heinz-Bäcker-Str. 34
> D-45356 Essen
> Amtsgericht Essen HRB 11500
> USt-Id.-Nr.: DE 174 626 722
> Geschäftsführung: 
> - Dr.-Ing. S. Rotthäuser, 
> - Dr.-Ing. T. Finke, 
> - Dr.-Ing. W. Hagemeister
> Tel.: +49 201 / 360-14-0
> http://www.igh-essen.com
> 
> ------------------------------------------------------------------------
> _______________________________________________
> etherlab-users mailing list
> etherlab-users@etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to