1. undefined reference to 'main', In function '__uClibc_main'..
DEAR YOU.
I'm trying to develop an apllication on the ARM7TDMI board using
uClinux-dist and arm-elf-toolchain.
I found the below error message.
I looked at the /uClibc/libc/misc/internals/__uClibc_main.c file and looked
for the "extern void main(int argc,void *argv,void *envp);" and
"exit(main(argc, argv, envp));"
But I couldn't know where the function "main(argc, argv, envp)" was defined.
Please beg your advice.
Have a Happy day.
/usr/local/arm-elf/lib/libc.a(__uClibc_main.o): In function `__uClibc_main':
__uClibc_main.o(.text+0xac): undefined reference to `main'
__uClibc_main.o(.text+0xbc): undefined reference to `_fini'
__uClibc_main.o(.text+0xc4): undefined reference to `_init'
collect2: ld returned 1 exit status
make[2]: *** [obj/arm-elf/libixml.so] Error 1
make[1]: *** [all] Error 2
make: *** [upnp] Error 2
2. Which Scripting Language? Jscript? Pearl? Java? ActiveX?
3. two more afterstep questions:)
4. Can't seem to fix `undefined reference to `stat'' and `undefined reference to `atexit''
7. How to mount Zip outside of ROOT?
8. undefined reference to 'assert'
9. linker error: 'undefined reference'
10. xanim and 'undefined reference'
11. KDE 1.92 kdelibs 'undefined reference to QMetaObject::slotaccess'
12. undefined reference to 'main'