When I hit the same issue I checked with <a href="http://unixodbc.org">unixodbc.org</a>, looks like 2.2.14 has build issues on AIX.
Check mailing list @
<a class="moz-txt-link-freetext" href="http://mailman.unixodbc.org/pipermail/unixodbc-dev/2009-January/subject.html">http://mailman.unixodbc.org/pipermail/unixodbc-dev/2009-January/subject.html</a>
or <a class="moz-txt-link-freetext" href="http://mailman.unixodbc.org/pipermail/unixodbc-dev/">http://mailman.unixodbc.org/pipermail/unixodbc-dev/</a>
<br>Also it has been suggested to use 2.2.15 Pre release which is available
at ftp site(<a class="moz-txt-link-freetext" href="ftp://ftp.easysoft.com/pub/unixODBC">ftp://ftp.easysoft.com/pub/unixODBC</a>).
<br><br><br>Hope this helps<br><br>-Neha<br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 9:02 PM, Brian Gadell <span dir="ltr"><<a href="mailto:bgadell@gmail.com">bgadell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After successfully configuring with:<br><div style="margin-left: 40px;">./configure --prefix=/ebiz --enable-gui=no --enable-drivers=no<br></div><br>I receive the following error during make:<br><br><div style="margin-left: 40px;">
make[1]: Entering directory `/ebiz/src/unixODBC-2.2.14/odbcinst'<br>if
/bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\" -DVERSION=\"2.2.14\"
-DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SEM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LIB_PATH=\"/ebiz/lib\" -DSHLIBEXT=\".so\" -DUNIXODBC_SOURCE
-I../libltdl -g -O2 -DENABLE_INI_CACHING -MT
SQLGetPrivateProfileString.lo -MD -MP -MF ".deps/SQLGetPrivateProfileString.Tpo" -c -o SQLGetPrivateProfileString.lo SQLGetPrivateProfileString.c; \<br>
then mv -f ".deps/SQLGetPrivateProfileString.Tpo" ".deps/SQLGetPrivateProfileString.Plo"; else rm -f ".deps/SQLGetPrivateProfileString.Tpo"; exit 1; fi<br> gcc
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\"
-DVERSION=\"2.2.14\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST=
-DHAVE_LIBCRYPT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1
-DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_INT=4
-DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1
-DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1
-DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_TIME=1 -DHAVE_LIBTHREAD=1
-D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1
-DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1
-DCOLLECT_STATS=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1
-DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYNCH_H=1
-DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1
-DHAVE_SYS_MALLOC_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1
-DHAVE_STDARG_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1
-DHAVE_TIME_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
-DHAVE_VPRINTF=1 -DHAVE_DOPRNT=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1
-DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1
-DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=1 -I. -I. -I../include
-DSYSTEM_FILE_PATH=\"/ebiz/etc\" -DDEFLIB_PATH=\"/ebiz/lib\"
-DSHLIBEXT=\".so\" -DUNIXODBC_SOURCE -I../libltdl -g -O2
-DENABLE_INI_CACHING -MT SQLGetPrivateProfileString.lo -MD -MP -MF
.deps/SQLGetPrivateProfileString.Tpo -c SQLGetPrivateProfileString.c -DPIC -o .libs/SQLGetPrivateProfileString.o<br>
SQLGetPrivateProfileString.c:66: error: syntax error before 'mutex_ini'<br>SQLGetPrivateProfileString.c:66: warning: data definition has no type or storage class<br>SQLGetPrivateProfileString.c:68: error: syntax error before '*' token<br>
SQLGetPrivateProfileString.c: In function 'mutex_entry':<br>SQLGetPrivateProfileString.c:70: error: 'mutex' undeclared (first use in this function)<br>SQLGetPrivateProfileString.c:70: error: (Each undeclared identifier is reported only once<br>
SQLGetPrivateProfileString.c:70: error: for each function it appears in.)<br>SQLGetPrivateProfileString.c: At top level:<br>SQLGetPrivateProfileString.c:73: error: syntax error before '*' token<br>SQLGetPrivateProfileString.c: In function 'mutex_exit':<br>
SQLGetPrivateProfileString.c:75: error: 'mutex' undeclared (first use in this function)<br>make[1]: *** [SQLGetPrivateProfileString.lo] Error 1<br>make[1]: Leaving directory `/ebiz/src/unixODBC-2.2.14/odbcinst'<br>
make: *** [all-recursive] Error 1<br></div><br>I
can't seem to find help through any of my searches, so I'm asking for
help. I'm on an AIX 5.3 host, but using gcc and mostly open source
libraries and utilities. Any ideas?<br>
<br>-brian<br><a href="mailto:bgadell@gmail.com" target="_blank">bgadell@gmail.com</a><br><br>(Apologies if this comes through twice, I'm just not sure it got through the first time...)<br>
<br>_______________________________________________<br>
unixODBC-support mailing list<br>
<a href="mailto:unixODBC-support@mailman.unixodbc.org">unixODBC-support@mailman.unixodbc.org</a><br>
<a href="http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support" target="_blank">http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support</a><br>
<br></blockquote></div><br>