[En-Nut-Discussion] ethernut-3.9.8 RPM Fedora Core 3

Claudio Bizzarri claudio.bizzarri at gmail.com
Thu Aug 4 18:08:26 CEST 2005


I've just start playing with ethernut. I've got a "stable" environment
with avr-gcc 3.3.2 and ethernut 3.3.2 and it works fine for me.
Now, I would like start using latest version of ethernut but I've some
trouble in compiling it. I use Fedora and RPM, and I've installed:

wxGTK-2.4.2-7
lua-5.0.2-1.1
lua-devel-5.0.2-1.1
doxygen-1.4.4-1

now, rpmbuild -ba ethernut.spec (that is inside archive) works until
this error message

-- make[2]: Entering directory
`/usr/src/redhat/BUILD/ethernut-3.9.8/tools/crurom'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT crurom.o -MD -MP
-MF ".dep s/crurom.Tpo" -c -o crurom.o crurom.c; \
then mv -f ".deps/crurom.Tpo" ".deps/crurom.Po"; else rm -f
".deps/crurom.Tpo"; exit 1; fi
gcc  -g -O2   -o crurom  crurom.o  -llualib -llua
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `log'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `sqrt'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `fmod'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `cos'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `sin'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `atan2'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `pow'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `log10'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `exp'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `tan'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `atan'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `asin'
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../liblualib.so: undefined
reference to `acos'
collect2: ld returned 1 exit status
make[2]: *** [crurom] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/ethernut-3.9.8/tools/crurom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/ethernut-3.9.8'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.25245 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.25245 (%build)

I guess that is a lua error, but I've not idea to fix it. Google in
this case was not usefull.. Someone can help me?

Regards,
Claudio Bizzarri



More information about the En-Nut-Discussion mailing list