Hello, I'm trying to compile slony 1.2.6 against PG 8.2.3 on HP/UX 11.11 PA-RISC. Compiling PG ran without any problems. Running configure still no problems. Then, after running gmake distclean, gmake ends with error 2: /usr/ccs/bin/ld: Unsatisfied symbols: strtoll (first referenced in cleanup_thread.o) (code) collect2: ld returned 1 exit status gmake[2]: *** [slon] Error 1 gmake[2]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/slon' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src' gmake: *** [all] Error 2
>>>>> gmake --version GNU Make 3.81 >>>>> gcc --version gcc (GCC) 4.1.1 Patch PHSS_35379 (ld(1) and linker tools cumulative patch) is installed. The complete output looks like this: >>>>> gmake distclean ..... >>>>> ./configure CC=gcc --prefix=/anva-abs/psql --with-pgsharedir=/backup/PostgreSQL/psqlsource/slony1-1.2.6/../postgresql-8 .2.3/src/backend/utils/misc --libdir=/anva-abs/psql/lib --with-pgconfigdir=/backup/PostgreSQL/psqlsource/slony1-1.2.6/../postgresql- 8.2.3/src/bin/pg_config checking build system type... hppa2.0w-hp-hpux11.11 checking host system type... hppa2.0w-hp-hpux11.11 checking which template to use... hpux configure: using CFLAGS= checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for perl... /usr/contrib/bin/perl checking for tar... /usr/bin/tar checking for flex... flex checking for bison... bison -y checking for sed... sed checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_REENTRANT checking for cc_r... gcc checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for inttypes.h... (cached) yes checking for gettimeofday... yes checking for dup2... yes checking for alarm... yes checking for memset... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for int32_t... yes checking for uint32_t... yes checking for u_int32_t... no checking for int64_t... yes checking for uint64_t... yes checking for u_int64_t... no checking for ssize_t... yes checking for POSIX signal interface... yes overriding pgsharedir with /backup/PostgreSQL/psqlsource/slony1-1.2.6/../postgresql-8.2.3/src/backend/u tils/misc checking for pg_config... /backup/PostgreSQL/psqlsource/slony1-1.2.6/../postgresql-8.2.3/src/bin/pg_co nfig/pg_config pg_config says pg_bindir is /backup/PostgreSQL/psqlsource/postgresql-8.2.3/src/bin/pg_config/ pg_config says pg_libdir is /anva-abs/psql/lib/ pg_config says pg_includedir is /anva-abs/psql/include/ pg_config says pg_pkglibdir is /anva-abs/psql/lib/postgresql/ pg_config says pg_includeserverdir is /anva-abs/psql/include/postgresql/server/ checking for correct version of PostgreSQL... 8.2 checking for PQunescapeBytea in -lpq... yes checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking postgres.h usability... yes checking postgres.h presence... yes checking for postgres.h... yes checking for utils/typcache.h... yes checking for plpgsql.so... yes checking for postgresql.conf.sample... skipped due to override checking for PQputCopyData in -lpq... yes checking for PQsetNoticeReceiver in -lpq... yes checking for PQfreemem in -lpq... yes checking for typenameTypeId... yes, and it takes 2 arguments checking for standard_conforming_strings... yes checking whether GetTopTransactionId is declared... yes checking if you have requested documentation building... no configure: creating ./config.status config.status: creating Makefile.global config.status: WARNING: Makefile.global.in seems to ignore the --datarootdir setting config.status: creating GNUmakefile config.status: creating postgresql-slony1-engine.spec config.status: creating Makefile.port config.status: creating config.h >>>>> gmake gmake[1]: Entering directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src' gmake[2]: Entering directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/xxid' gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I../.. -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o xxid.o xxid.c ld -b -o xxid.sl xxid.o cp xxid.v74.sql xxid.v80.sql gmake[2]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/xxid' gmake[2]: Entering directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/parsestatements' gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o test-scanner.o test-scanner.c gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o scanner.o scanner.c gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o test-scanner test-scanner.c scanner.o ./test-scanner < /dev/null > emptytestresult.log cmp ./emptytestresult.log emptytestresult.expected ./test-scanner < ./test_sql.sql > test_sql.log cmp ./test_sql.log ./test_sql.expected gmake[2]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/parsestatements' gmake[2]: Entering directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/slon' gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o slon.o slon.c gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o runtime_config.o runtime_config.c runtime_config.c:60: warning: missing braces around initializer runtime_config.c:60: warning: (near initialization for 'config_lock.m_short') runtime_config.c:61: warning: missing braces around initializer runtime_config.c:61: warning: (near initialization for 'cfgseq_lock.m_short') gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o local_listen.o local_listen.c local_listen.c: In function 'localListenThread_main': local_listen.c:707: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o remote_listen.o remote_listen.c remote_listen.c: In function 'remoteListenThread_main': remote_listen.c:451: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o remote_worker.o remote_worker.c remote_worker.c:218: warning: missing braces around initializer remote_worker.c:218: warning: (near initialization for 'node_confirm_lock.m_short') remote_worker.c: In function 'remoteWorkerThread_main': remote_worker.c:1515: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o sync_thread.o sync_thread.c sync_thread.c: In function 'syncThread_main': sync_thread.c:188: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o cleanup_thread.o cleanup_thread.c cleanup_thread.c: In function 'get_earliest_xid': cleanup_thread.c:418: warning: implicit declaration of function 'strtoll' cleanup_thread.c: In function 'cleanupThread_main': cleanup_thread.c:387: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o scheduler.o scheduler.c scheduler.c: In function 'sched_mainloop': scheduler.c:671: warning: control reaches end of non-void function gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o dbutils.o dbutils.c gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o conf-file.o conf-file.c <stdout>:1614: warning: no previous prototype for 'yyget_lineno' <stdout>:1623: warning: no previous prototype for 'yyget_in' <stdout>:1631: warning: no previous prototype for 'yyget_out' <stdout>:1639: warning: no previous prototype for 'yyget_leng' <stdout>:1648: warning: no previous prototype for 'yyget_text' <stdout>:1657: warning: no previous prototype for 'yyset_lineno' <stdout>:1669: warning: no previous prototype for 'yyset_in' <stdout>:1674: warning: no previous prototype for 'yyset_out' <stdout>:1679: warning: no previous prototype for 'yyget_debug' <stdout>:1684: warning: no previous prototype for 'yyset_debug' <stdout>:1718: warning: no previous prototype for 'yylex_destroy' src/slon/conf-file.l:116: warning: no previous prototype for 'ProcessConfigFile' gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o confoptions.o confoptions.c confoptions.c:31: warning: no previous prototype for 'build_conf_variables' gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -I/anva-abs/psql/include/ -I/anva-abs/psql/include/postgresql/server/ -c -o misc.o misc.c misc.c:48: warning: missing braces around initializer misc.c:48: warning: (near initialization for 'log_mutex.m_short') gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -pthread -I../.. -I../../src/slon -o slon slon.o runtime_config.o local_listen.o remote_listen.o remote_worker.o sync_thread.o cleanup_thread.o scheduler.o dbutils.o conf-file.o confoptions.o misc.o ../parsestatements/scanner.o -D_REENTRANT -pthread -L/anva-abs/psql/lib/ -L/anva-abs/psql/lib/postgresql/ -lpq -Wl,+b -Wl,/anva-abs/psql/lib/ -Wl,-z /usr/ccs/bin/ld: Unsatisfied symbols: strtoll (first referenced in cleanup_thread.o) (code) collect2: ld returned 1 exit status gmake[2]: *** [slon] Error 1 gmake[2]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src/slon' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/backup/PostgreSQL/psqlsource/slony1-1.2.6/src' gmake: *** [all] Error 2 Met vriendelijke groet, ANVA bv Reinier Suurenbroek SO deployment 033 - 479 82 00 mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ***************************DISCLAIMER********************************* Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. De afzender sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). The sender rules out any and every liability resulting from any electronic transmission. **********************************************************************
_______________________________________________ Slony1-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/slony1-general
