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
链接已复制
3 回复数
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
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