Jump to content

Mr. No One

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Mr. No One

  1. How should I compile? It fails with a bunch of libconfig related output on OSX Server 10.5. I had no issues with compiling before.

    gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -shared -fPIC -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_USELOCALE -DHAVE_NEWLOCALE -DHAVE_FREELOCALE -Wno-unused -Wno-parentheses -L/usr/lib -I../common -I/usr/include -c -o libconfig.o libconfig.c

    libconfig.c: In function ‘__config_locale_override’:

    libconfig.c:89: error: ‘locale_t’ undeclared (first use in this function)

    libconfig.c:89: error: (Each undeclared identifier is reported only once

    libconfig.c:89: error: for each function it appears in.)

    libconfig.c:89: error: syntax error before ‘loc’

    libconfig.c:90: warning: implicit declaration of function ‘uselocale’

    libconfig.c:90: error: ‘loc’ undeclared (first use in this function)

    libconfig.c: In function ‘__config_locale_restore’:

    libconfig.c:115: error: ‘locale_t’ undeclared (first use in this function)

    libconfig.c:115: error: syntax error before ‘loc’

    libconfig.c:116: warning: implicit declaration of function ‘freelocale’

    libconfig.c:116: error: ‘loc’ undeclared (first use in this function)

    make[1]: *** [libconfig.o] Error 1

    make: *** [libconfig] Error 2

×
×
  • Create New...