Forum Discussion

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

dhcpd error during image file generation in uClinux

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 Replies

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

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

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

    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