[En-Nut-Discussion] Problems compiling 4.1.3
Hugo Simon
hugo.simon at gmx.de
Tue Jan 24 18:39:24 CET 2006
Sorry again,
another problem with compiling my apps or the httpd sample on 4.1.3.
In my own app it seems that the linker (compiling is ok) doesn't find _any_
NutOS functions. Why that?
avr-gcc thermometer.o ds18x20.o onewire.o delay.o config.o
urom.o -mmcu=atmega12
8 -Wl,--defsym=main=0,-Map=thermometer.map,--cref -Lc:/entwickl/ethernut-4.1
.3/n
utbld/lib
c:/entwickl/ethernut-4.1.3/nutbld/lib/nutinit.o -lnutnet -lnutpro -ln
utfs -lnutos -lnutdev -lnutos -lnutnet -lnutcrt -o thermometer.elf
thermometer.o(.text+0x1aa): In function `NutAppMain':
: undefined reference to `devDebug0'
thermometer.o(.text+0x1ac): In function `NutAppMain':
: undefined reference to `devDebug0'
thermometer.o(.text+0x26c): In function `NutAppMain':
: undefined reference to `NutThreadCreate'
[...]
If I try to compile httpd sample typing "make" in the httpd sample directory
I get the following errors:
avr-gcc -c -mmcu=atmega128 -Os -fno-delete-null-pointer-checks -Wall -Wstric
t-pr
ototypes -Wa,-ahlms=httpserv.lst -D__HARVARD_ARCH__ -Ic:/entwickl/ethernut-4
.1.3
/nutbld/include -Ic:/entwickl/ethernut-4.1.3/nut/include httpserv.c -o
httpser
v.o
httpserv.c: In function `NutAppMain':
httpserv.c:557: error: `devEth0' undeclared (first use in this function)
httpserv.c:557: error: (Each undeclared identifier is reported only once
httpserv.c:557: error: for each function it appears in.)
httpserv.c:571: warning: implicit declaration of function `NutNetIfConfig'
make: *** [httpserv.o] Error 1
What's the problem here?
bye
Thorsten
----- Original Message -----
From: "Hugo Simon" <hugo.simon at gmx.de>
To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
Sent: Tuesday, January 24, 2006 6:27 PM
Subject: [En-Nut-Discussion] Problems compiling 4.1.3
> Hi,
>
> I just tried to compile NutOS 4.1.3 on Windows and it didn't run. After
some
> searching around in this list and in the registry I found that horrible
> "Egnite" registry tree which points in some parts to my old version. Why
> that!!! Much more horrible, it destroys my makefiles on the old NutOS
tree.
>
> It prevents users from simply installing two NutOS versions side by side.
> Please (!!!) use a simple ini or conf file instead of the registry which
> simply lay in the configurator's directory. So every installion has it's
own
> "sandbox".
>
> BTW: how do you do it in Linux? There is no registry.
>
> bye
> Thorsten
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list