when i `./configure --with-perl --with-odbc --with-tcl' i get the attached
errors while building odbc. anyone know how i can get this to compile
cleanly?
i'm using linux 2.2.10, glibc 2.1.1, egcs 1.1.2.
thanks.
---
make -C odbc all
make[2]: Entering directory `/usr/src/postgresl-6.5/src/interfaces/odbc'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c info.c -o info.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c bind.c -o bind.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c columninfo.c -o columninfo.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c connection.c -o connection.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c convert.c -o convert.o
convert.c: In function `convert_lo':
convert.c:1328: warning: unused variable `bind_row'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c drvconn.c -o drvconn.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c environ.c -o environ.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c execute.c -o execute.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c lobj.c -o lobj.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c misc.c -o misc.o
misc.c:61: warning: no previous prototype for `mylog'
misc.c:95: warning: no previous prototype for `qlog'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c options.c -o options.o
options.c: In function `SQLSetStmtOption':
options.c:477: warning: unused variable `changed'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c pgtypes.c -o pgtypes.o
pgtypes.c: In function `sqltype_to_pgtype':
pgtypes.c:108: warning: `pgType' might be used uninitialized in this function
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c psqlodbc.c -o psqlodbc.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c qresult.c -o qresult.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c results.c -o results.o
results.c: In function `SQLGetData':
results.c:611: warning: `value' might be used uninitialized in this function
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c socket.c -o socket.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c parse.c -o parse.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c statement.c -o statement.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c gpps.c -o gpps.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c tuple.c -o tuple.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c tuplelist.c -o tuplelist.o
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-prototypes -I.
-DHAVE_CONFIG_H -fpic -c dlg_specific.c -o dlg_specific.o
ar crs libpsqlodbc.a info.o bind.o columninfo.o connection.o convert.o drvconn.o
environ.o execute.o lobj.o misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o
socket.o parse.o statement.o gpps.o tuple.o tuplelist.o dlg_specific.o
ranlib libpsqlodbc.a
ld -Bdynamic -shared -soname libpsqlodbc.so.0.25 -Bsymbolic -lc -lm -o
libpsqlodbc.so.0.25 info.o bind.o columninfo.o connection.o convert.o drvconn.o
environ.o execute.o lobj.o misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o
socket.o parse.o statement.o gpps.o tuple.o tuplelist.o dlg_specific.o -lc
/lib/libc.so.6: undefined reference to `_r_debug@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_unload_cache@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_init_next@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_signal_error@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_relocate_object@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_initial_searchlist@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_profile@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_global_scope_alloc@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_fpu_control@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_debug_message@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_mcount@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_origin_path@@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_lazy@@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_debug_initialize@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_start_profile@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_check_all_versions@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_dst_count@@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_catch_error@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_map_object@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_loaded@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_main_searchlist@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_profile_map@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_dst_substitute@@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `_dl_profile_output@@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_map_object_deps@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_debug_impcalls@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_debug_state@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_lookup_symbol@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `_dl_platformlen@@GLIBC_2.1.1'
/lib/libc.so.6: undefined reference to `__libc_enable_secure@@GLIBC_2.0'
/lib/libc.so.6: undefined reference to `__libc_stack_end@@GLIBC_2.1'
make[2]: *** [libpsqlodbc.so.0.25] Error 1
make[2]: Leaving directory `/usr/src/postgresl-6.5/src/interfaces/odbc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresl-6.5/src/interfaces'
make: *** [all] Error 2
____________________}John Flinchbaugh{______________________
| -> [EMAIL PROTECTED] <- [EMAIL PROTECTED] |
| [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ |
~~Powered by Linux: Reboots are for hardware upgrades only~~