bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hit this before undefined symbol: O_CLOEXEC


From: Dennis Clarke
Subject: hit this before undefined symbol: O_CLOEXEC
Date: Sat, 25 May 2019 14:06:14 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0


On any Solaris boxen there really isn't O_CLOEXEC so even after a neat
compile and test the install will blow up.

Simple solution is to not install the example fdflags.c

.
.
.
/opt/developerstudio12.6/bin/cc -K pic -DHAVE_CONFIG_H -DSHELL -DSOLARIS -m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -I. -I.. -I../../../bash-5.0-007_20190512031626 -I../../../bash-5.0-007_20190512031626/lib -I../../../bash-5.0-007_20190512031626/builtins -I../../../bash-5.0-007_20190512031626/examples/loadables -I../../../bash-5.0-007_20190512031626/include -I/usr/local/build/bash-5.0-007_SunOS5.10_sparc64vii+.002 -I/usr/local/build/bash-5.0-007_SunOS5.10_sparc64vii+.002/lib -I/usr/local/build/bash-5.0-007_SunOS5.10_sparc64vii+.002/builtins -c -o fdflags.o ../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c "../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c", line 117: error: undefined symbol: O_CLOEXEC "../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c", line 202: error: undefined symbol: O_CLOEXEC "../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c", line 204: error: undefined symbol: O_CLOEXEC "../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c", line 209: error: undefined symbol: O_CLOEXEC cc: acomp failed for ../../../bash-5.0-007_20190512031626/examples/loadables/fdflags.c
gmake[1]: *** [Makefile:100: fdflags.o] Error 2
gmake[1]: Leaving directory '/usr/local/build/bash-5.0-007_SunOS5.10_sparc64vii+.002/examples/loadables'
gmake: [Makefile:824: install] Error 2 (ignored)
beta #

Yeah well. Okay.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]