Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Help! SSS built project problem

Hi all,

I am using nios II 9.1SP2 and I am getting this error when I built the Simple socket Server example.

Does anyone know what could be the reason?:confused:

Thanks in advance,

Linking simple_socket_server_2.elf...

obj/alt_error_handler.o(.text+0x36c): In function `alt_uCOSIIErrorHandler':

../alt_error_handler.c:190: undefined reference to `perror'

obj/alt_error_handler.o(.text+0x528): In function `alt_NetworkErrorHandler':

../alt_error_handler.c:250: undefined reference to `perror'

obj/alt_error_handler.o(.text+0x564):../alt_error_handler.c:257: undefined reference to `perror'

obj/alt_error_handler.o(.text+0x7a0): In function `alt_SSSErrorHandler':

../alt_error_handler.c:329: undefined reference to `perror'

obj/network_utilities.o(.text+0x294): In function `generate_and_store_mac_addr':

../network_utilities.c:132: undefined reference to `getc'

....

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Problem solved:

    In system library properties the Small C library option was selected.