Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Help! SSS built project problem

Altera_Forum
Honored Contributor II
1,171 Views

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' 

....
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
437 Views

Problem solved: 

In system library properties the Small C library option was selected.
0 Kudos
Reply