freetype-devel
[Top][All Lists]
Advanced

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

Re: Problems building freetype-2.10.4 on CentOS 5 with GCC 8.3.0


From: Alan Coopersmith
Subject: Re: Problems building freetype-2.10.4 on CentOS 5 with GCC 8.3.0
Date: Tue, 16 Mar 2021 13:46:13 -0700
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

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.coopersmith@oracle.com
         Oracle Solaris Engineering - https://blogs.oracle.com/alanc



reply via email to

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