On 3/16/21 1:35 PM, Tom Kacvinsky wrote:
I see this

-bash-3.2$ make
./builds/unix/libtool --mode=compile gcc -pedantic -ansi

You have instructed the compiler to limit itself to the ANSI C standard,
which excludes functions defined in POSIX, but not C, such as open, read,
and close.

You probably want to either remove "-ansi" or add the -D_DEFAULT_SOURCE
flag to enable the rest of the normal C library functions:

https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html

--
        -Alan Coopersmith-               alan.coopersm...@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc

Reply via email to