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++
12745 讨论

dhcpd error during image file generation in uClinux

Altera_Forum
名誉分销商 II
1,230 次查看

Hi I am getting the following error when i try to generate the image file

Looks like the errors(bold) are in the dhcpd folder.

I have all folders updated

Did anyone have similar problems or If anyone know what the

problem might be , please let me know. thanks

0 项奖励
3 回复数
Altera_Forum
名誉分销商 II
530 次查看

This is what i get when i compile the dhcpd folder 

any input or help regarding this anyone?? 

 

root@localhost dhcpd]# make clean rm -f dhcpd *.elf *.gdb *.o # make all cc -c -o dhcpd.o dhcpd.c cc -c -o arpping.o arpping.c cc -c -o socket.o socket.c cc -c -o options.o options.c options.c: In function ‘addOption’: options.c:17: warning: incompatible implicit declaration of built-in function ‘memcpy’ options.c: In function ‘add_multiple_option’: options.c:35: warning: incompatible implicit declaration of built-in function ‘memcpy’ options.c: In function ‘addOptionMulti’: options.c:63: warning: incompatible implicit declaration of built-in function ‘memcpy’ cc -c -o files.o files.c cc -c -o debug.o debug.c cc -c -o nettel.o nettel.c cc -o dhcpd dhcpd.o arpping.o socket.o options.o files.o debug.o nettel.o
0 项奖励
Altera_Forum
名誉分销商 II
530 次查看

is this happening because of the paths to staging directory ...:confused:

0 项奖励
Altera_Forum
名誉分销商 II
530 次查看

Hi Dilip, 

 

What version are you trying to compile? Only the latest GIT obtained version is supported by the community. bzero, bcopy, and bcmp are all deprecated former POSIX functions and should have been replaced with memset, memcpy, and memcmp a while ago. 

 

As to your second post, I'm not sure as I've never tried compiling the discrete application, only the busybox edition. 

 

Best Regards, 

 

--slacker
0 项奖励
回复