lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] library compilation error (unrecognised debug output le


From: Jonathan Larmour
Subject: Re: [lwip-users] library compilation error (unrecognised debug output level "dwarf")
Date: Wed, 09 Apr 2008 15:02:53 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Mechouk Nicolas wrote:
> Hi !
> 
> I try to compile lwip librairy under EDK on windows XP but EDK returns
> an error.
> 
> My library version is (STABLE-0_6_3)

That's extremely old.

>     powerpc-eabi-gcc -Wall -gdwarf -DIPv4 -msdata=eabi -mcpu=403
>     -I./lwip/src/include -I./lwip/src/include/ipv4
>     -I./contrib/ports/v2pro -I./contrib/ports/v2pro/include
>     -I../../../include  -c lwip/src/core/mem.c
>     *cc1: error: unrecognised debug output level "dwarf"*
>     make[1]: *** [mem.o] Error 1
>     make[1]: Leaving directory
>     `/cygdrive/.../V4/ppc405_0/libsrc/lwip_v1_00_a/src'
> 
> 
> Anyone have a solution for me please ????

Probably because it's an old port, GCC has moved on and no longer accepts
-gdwarf, which implies Dwarf v1 - just about everything is using dwarf v2
at least now. You'll need to edit your makefiles to just use plain -g
instead, which should work fine.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
 **  Visit us at ESC Silicon Valley <http://www.embedded.com/esc/sv>  **
 **  April 15-17 2008, Booth 3012, San Jose McEnery Convention Center **
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]