Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by temex@Dec 5 2005, 10:57 AM hi,
with the mircrotronix cross compile chain i'm trying to compile net-snmp 5.2.2.
i get the following error when creating the libnetsnmp.so :
/usr/local/nios2[long path]/3.4.3/[long path]nios2-linux-uclibc/lib/crt0.o in function _start
: undefined reference to main.
/usr/local/nios2[long path]/3.4.3/[long path]nios2-linux-uclibc/lib/libc.a in function
__uclibc_start_main
: undefined reference to main.
any hint how can i fix those errors?
thanks for helping
bzh
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11329)
--- quote end ---
--- Quote End --- The build process is trying to build a shared library (that is what the .so extension means), and those are not supported. Try enabling static compilation instead.