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 249Просмотр.

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
549Просмотр.

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
Altera_Forum
Почетный участник II
549Просмотр.

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

Altera_Forum
Почетный участник II
549Просмотр.

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
Ответить