Skip to Content.
Sympa Menu

freetds - [freetds] compiling on red hat 5.3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kevin Pearce" <kpearce AT ntia.doc.gov>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] compiling on red hat 5.3
  • Date: Mon, 13 Apr 2009 07:11:00 -0400



Anyone have any luck with this? It looks like I'm getting multiple
failures just running config. I'm not much of a C programmer, but when
I used this with informix a few years ago it worked fine.


grep fail --a=4 --before=4 config.log

configure:2919: result: none needed
configure:2937: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'me'
configure:2943: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3078: checking dependency style of gcc
--
conftest.c:18: warning: left shift count >= width of type
conftest.c:18: warning: left shift count >= width of type
conftest.c:20: error: size of array 'off_t_is_large' is negative
configure:3335: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:4131: result: none needed
configure:4149: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'me'
configure:4155: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:4290: checking dependency style of gcc
--
configure:4443: $? = 0
configure:4475: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4481: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:4550: $? = 0
configure:4582: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4588: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/tmp/cciyjLAq.o: In function `main':
/root/freetds/freetds-0.82/conftest.c:37: undefined reference to
`tgetent'
collect2: ld returned 1 exit status
configure:12589: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `BC'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined
reference to `tgetstr'
collect2: ld returned 1 exit status
configure:12644: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13151: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c -lpthreads >&5
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
configure:13157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`pthread_create'
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:13157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`pthread_create'
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:13157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`pthread_create'
/root/freetds/freetds-0.82/conftest.c:36: undefined reference to
`__pthread_unregister_cancel'
collect2: ld returned 1 exit status
configure:13157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13151: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c -llthread >&5
/usr/bin/ld: cannot find -llthread
collect2: ld returned 1 exit status
configure:13157: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13871: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c: In function 'main':
conftest.c:43: error: 'struct tm' has no member named '__tm_zone'
configure:13877: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13918: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c: In function 'main':
conftest.c:43: error: 'struct tm' has no member named '__tm_zone'
configure:13924: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13991: checking odbcss.h usability
configure:14003: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c:79:20: error: odbcss.h: No such file or directory
configure:14009: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:14036: checking odbcss.h presence
configure:14046: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:45:20: error: odbcss.h: No such file or directory
configure:14052: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:13991: checking readpassphrase.h usability
configure:14003: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c:79:28: error: readpassphrase.h: No such file or directory
configure:14009: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:14036: checking readpassphrase.h presence
configure:14046: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:45:28: error: readpassphrase.h: No such file or directory
configure:14052: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:101: error: (Each undeclared identifier is reported only
once
conftest.c:101: error: for each function it appears in.)
conftest.c:101: error: expected expression before ')' token
configure:17711: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:18944: result: 4
configure:19020: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c:70: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'should'
configure:19026: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:76: error: (Each undeclared identifier is reported only
once
conftest.c:76: error: for each function it appears in.)
conftest.c:76: error: expected ';' before 'big'
configure:19480: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
configure:19803: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:19797: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
-Wl,-static-libgcc conftest.c >
/usr/bin/ld: unrecognized -a option `tic-libgcc'
collect2: ld returned 1 exit status
configure:19803: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/root/freetds/freetds-0.82/conftest.c:111: undefined reference to
`_vsnprintf'
/tmp/cc0SZbzA.o:(.data+0x0): undefined reference to `_vsnprintf'
collect2: ld returned 1 exit status
configure:20080: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char _vsnprintf ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub__vsnprintf) || defined (__stub____vsnprintf)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:113: undefined reference to
`locale_charset'
/tmp/cc0OLw0a.o:(.data+0x0): undefined reference to `locale_charset'
collect2: ld returned 1 exit status
configure:20080: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char locale_charset ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_locale_charset) || defined
(__stub___locale_charset)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:121: undefined reference to
`gethrtime'
/tmp/ccCn75fE.o:(.data+0x0): undefined reference to `gethrtime'
collect2: ld returned 1 exit status
configure:20080: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char gethrtime ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_gethrtime) || defined (__stub___gethrtime)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:123: undefined reference to
`inet_ntoa_r'
/tmp/cckKFQ3d.o:(.data+0x0): undefined reference to `inet_ntoa_r'
collect2: ld returned 1 exit status
configure:20192: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char inet_ntoa_r ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_inet_ntoa_r) || defined (__stub___inet_ntoa_r)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:123: undefined reference to
`getipnodebyaddr'
/tmp/cc4rMQbp.o:(.data+0x0): undefined reference to `getipnodebyaddr'
collect2: ld returned 1 exit status
configure:20192: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char getipnodebyaddr ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_getipnodebyaddr) || defined
(__stub___getipnodebyaddr)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:123: undefined reference to
`getipnodebyname'
/tmp/cccf73jh.o:(.data+0x0): undefined reference to `getipnodebyname'
collect2: ld returned 1 exit status
configure:20192: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char getipnodebyname ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_getipnodebyname) || defined
(__stub___getipnodebyname)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:132: undefined reference to
`readpassphrase'
/tmp/cco7kKAi.o:(.data+0x0): undefined reference to `readpassphrase'
collect2: ld returned 1 exit status
configure:20303: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char readpassphrase ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_readpassphrase) || defined
(__stub___readpassphrase)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:132: undefined reference to
`strlcpy'
/tmp/cciQJUkr.o:(.data+0x0): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure:20303: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strlcpy ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_strlcpy) || defined (__stub___strlcpy)
| choke me
| #else
--
/root/freetds/freetds-0.82/conftest.c:132: undefined reference to
`strlcat'
/tmp/cciTQAyj.o:(.data+0x0): undefined reference to `strlcat'
collect2: ld returned 1 exit status
configure:20303: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strlcat ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_strlcat) || defined (__stub___strlcat)
| choke me
| #else
--
/tmp/cck9KYr0.o: In function `main':
/root/freetds/freetds-0.82/conftest.c:106: undefined reference to
`clock_gettime'
collect2: ld returned 1 exit status
configure:20563: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
/tmp/cc8QULBq.o: In function `main':
/root/freetds/freetds-0.82/conftest.c:105: undefined reference to
`malloc_options'
collect2: ld returned 1 exit status
configure:20770: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:21003: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c -liodbc -lrt >&5
/usr/bin/ld: cannot find -liodbc
collect2: ld returned 1 exit status
configure:21009: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:21259: checking sql.h usability
configure:21271: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c
>&5
conftest.c:132:17: error: sql.h: No such file or directory
configure:21277: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:21304: checking sql.h presence
configure:21314: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:98:17: error: sql.h: No such file or directory
configure:21320: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:105: error: (Each undeclared identifier is reported only
once
conftest.c:105: error: for each function it appears in.)
conftest.c:105: error: expected ';' before 'len'
configure:21737: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:107: error: (Each undeclared identifier is reported only
once
conftest.c:107: error: for each function it appears in.)
conftest.c:107: error: expected expression before ')' token
configure:21918: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:107: error: (Each undeclared identifier is reported only
once
conftest.c:107: error: for each function it appears in.)
conftest.c:107: error: expected expression before ')' token
configure:21987: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:107: error: (Each undeclared identifier is reported only
once
conftest.c:107: error: for each function it appears in.)
conftest.c:107: error: expected expression before ')' token
configure:22056: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c:106: error: (Each undeclared identifier is reported only
once
conftest.c:106: error: for each function it appears in.)
conftest.c:106: error: expected expression before ')' token
configure:22127: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c: In function 'main':
conftest.c:109: error: storage size of 'data' isn't known
conftest.c:110: error: too few arguments to function 'gethostbyname_r'
configure:22790: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c: In function 'main':
conftest.c:111: error: storage size of 'data' isn't known
conftest.c:112: error: too few arguments to function 'getservbyname_r'
configure:22996: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c: In function 'main':
conftest.c:113: error: storage size of 'hdata' isn't known
conftest.c:115: error: too few arguments to function 'gethostbyaddr_r'
configure:23204: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c: In function 'main':
conftest.c:118: warning: passing argument 7 of 'gethostbyaddr_r' from
incompatible pointer type
conftest.c:118: error: too few arguments to function 'gethostbyaddr_r'
configure:23262: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
configure:23413: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
-D_THREAD_SAFE conftest.c >&5
conftest.c: In function 'main':
conftest.c:112: error: too few arguments to function 'getpwuid_r'
configure:23419: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
--
conftest.c: In function 'main':
conftest.c:108: error: too few arguments to function 'getpwuid_r'
configure:23525: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"




Archive powered by MHonArc 2.6.24.

Top of Page