[ECOS] Ethernet Driver hooking problem

Jonathan Larmour jifl@eCosCentric.com
Wed Oct 23 19:43:00 GMT 2002


Cusson, Pascal wrote:
> Hi everyone,
>    I am having a hard time compiling my Ethernet driver. For those of you who have done before, I could surely use a few good pointers.
[snip]
> [pcusson@pcusson-linux src]$ make
> gcc -c -I/home/pcusson/simall/install/include ETH_Driver.c -L/home/pcusson/simall/install/lib -Ttarget.ld -nostdlib

Um, this is your native GCC, not powerpc-eabi-gcc ! And in any case you 
aren't defining __ECOS on the compile line (-D__ECOS) as described in the 
docs. It's better to copy an existing eth driver and then problems like 
that are prevented before they happen :-).

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list