compler warnings in ports not supported in gcc 4.2.1 (stable/10)
Julian Elischer
julian at freebsd.org
Sat Sep 23 21:42:59 UTC 2017
Trying to compile the emulators/open-vm-tools-nox11 port
but I end up dying with:
libtool: compile: cc -DPACKAGE_NAME=\"open-vm-tools\"
-DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"10.1.5\"
"-DPACKAGE_STRING=\"open-vm-tools 10.1.5\""
-DPACKAGE_BUGREPORT=\"open-vm-tools-devel at lists.sourceforge.net\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"10.1.5\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DX_DISPLAY_MISSING=1 -DHAVE_DLOPEN=1 -DNO_PROCPS=1 -DNO_DNET=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1
-DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_WITH_SYS_TIME=1 -DNO_XSM=1
-DNO_XCOMPOSITE=1 -DNO_MULTIMON=1 -I.
-I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-10.1.5/open-vm-tools/lib/include
-I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-10.1.5/open-vm-tools/lib/include
-Wno-deprecated-declarations -isystem /usr/local/include
-DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -DNO_ICU -DVMX86_TOOLS -O2 -pipe
-DPANZURA_DEV -DPZ_FBSD_10 -isystem /usr/local/include
-fno-strict-aliasing -Wall -Werror -Wno-unused-function
-Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-unused
-MT nicinfo_xdr.lo -MD -MP -MF .deps/nicinfo_xdr.Tpo -c nicinfo_xdr.c
-fPIC -DPIC -o .libs/nicinfo_xdr.o
cc1: error: unrecognized command line option
"-Wno-address-of-packed-member"
cc1: error: unrecognized command line option "-Wno-unknown-warning-option"
*** [nicinfo_xdr.lo] Error code 1
the system in question is compiled with gcc
is there a supported way of making the port not set those flags on
each cc1 command?
More information about the freebsd-ports
mailing list