> gcc -o rts.o RtsApi.o RtsCst.o RtsDevMan.o RtsIec.o RtsSys.o RtsTrace.o
> TCPIPDrv.o RtsCM.o RtsCtrl.o RtsFile.o RtsNWMan.o RtsWdg.o RtsCfg.o
> RtsDbg.o RtsIOMan.o RtsSrv.o RtsTask.o rtstrg.o RtsSysRTL.o -lm
> -lpthread
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
...
> collect2: ld returned 1 exit status
> make: *** [rtlinuxrts] Error 1
>
> Could someone please give me hint where those undefined references are
> coming from? I am new to all this, and i do not know what i am doing
> wrong...
Your gcc called the linker. Use -c switch for compile only.
Regards
Gabor
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/