[Flex-help] flex-2.5.37 says WARNING: netinet/in.h: present but cannot be compiled
flex is a tool for generating scanners
Brought to you by:
wlestes
From: Dennis C. <dc...@bl...> - 2013-04-17 23:29:42
|
So I have this older server I decided to build flex on .. and I saw this : . . . checking netinet/in.h usability... no checking netinet/in.h presence... yes configure: WARNING: netinet/in.h: present but cannot be compiled configure: WARNING: netinet/in.h: check for missing prerequisite headers? configure: WARNING: netinet/in.h: see the Autoconf documentation configure: WARNING: netinet/in.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/in.h: proceeding with the compiler's result configure: WARNING: ## ---------------------------------------------- ## configure: WARNING: ## Report this to fle...@li... ## configure: WARNING: ## ---------------------------------------------- ## checking for netinet/in.h... no checking regex.h usability... yes . . . After running "make" anyways .. I eventually see : /opt/csw/gcc4/bin/gcc -mno-app-regs -mcpu=v8 -mtune=supersparc -mno-vis -m32 -g -D_TS_ERRNO -Dsun=1 -Dunix=1 -D__sun=1 -D__unix=1 -D__SunOS_5_8 -D__SVR4=1 -DSOLARIS2=8 -D_POSIX_C_SOURCE=199506L -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -L/usr/local/lib -o flex ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o lib/libcompat.a /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -R/usr/local/lib -lm Undefined first referenced symbol in file htonl tables.o htons tables.o ld: fatal: Symbol referencing errors. No output written to flex collect2: ld returned 1 exit status gmake[2]: *** [flex] Error 1 gmake[2]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.8_sparc.001' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.8_sparc.001' gmake: *** [all] Error 2 $ Not too sure what to do with that. Dennis |