Menu

#74 compile time error when using DHCP_USER_CLASS

open
nobody
etherboot (51)
5
2007-04-01
2007-04-01
Anonymous
No

from: georg@ziborski.net

cc -DASK_BOOT=3 -DBOOT_FIRST=BOOT_NIC -DBOOT_SECOND=BOOT_FLOPPY -DBOOT_THIRD=BOOT_DISK -DBOOT_INDEX=0 -DDHCP_CLIENT_ID_LEN= -DDHCP_CLIENT_ID_TYPE= -DDHCP_USER_CLASS=\"THINCLI\" -DDHCP_USER_CLASS_LEN=7 -DALLOW_ONLY_ENCAPSULATED -DCONGESTED -DBACKOFF_LIMIT=7 -DTIMEOUT=180 -DTRY_FLOPPY_FIRST=0 -DTAGGED_IMAGE -DELF_IMAGE -DPXE_IMAGE -DDOWNLOAD_PROTO_TFTP -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 -DCOMPARM=0x03 -DPXE_EXPORT -DCONFIG_PCI -DCONFIG_ISA -Os -ffreestanding -Wall -W -Wno-format -DPCBIOS -fstrength-reduce -fomit-frame-pointer -march=i386 -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mcpu=i386 -DVERSION_MAJOR=5 -DVERSION_MINOR=4 -DVERSION=\"5.4.3\" -I include -I arch/i386/include -DARCH=i386 -o bin/nic.o -c core/nic.c
core/nic.c:107: warning: initialization makes integer from pointer without a cast
core/nic.c:107: initializer element is not computable at load time
core/nic.c:107: (near initialization for `dhcpdiscover[24]')
core/nic.c:165: warning: initialization makes integer from pointer without a cast
core/nic.c:165: initializer element is not computable at load time
core/nic.c:165: (near initialization for `dhcprequest[36]')
make: *** [bin/nic.o] Error 1
make: Leaving directory `/tmp/ROMwJ72lZ'

Discussion


Log in to post a comment.