Skip site navigation (1) Skip section navigation (2)

problems linking with-tcl

From: jacques(dot)talbot(at)muhc(dot)mcgill(dot)ca
To: pgsql-ports(at)postgresql(dot)org
Subject: problems linking with-tcl
Date: 2001-12-07 14:29:54
Message-ID: 85256B1B.004FA628.00@muhc.mcgill.ca (view raw or flat)
Thread:
Lists: pgsql-ports

Hi
I tried to compile postgresSQL --with-tcl and I had those errors:

/usr/local/bin/make -C doc all
.....
.....
....
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/usr/local/pgsql/postgresql-7.1.3/src/interfaces/libpq'
../../../src/backend/port/aix/mkldexport.sh libpgtcl.a > libpgtcl.exp
gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations  -Wl,-H512
-Wl,-bM:SRE -Wl,-bI:../../../src/backend/postgres.imp -Wl,-bE:libpgtcl.exp -o
libpgtcl.so libpgtcl.a   -L../../../src/interfaces/libpq -lpq   -lc
ld: 0711-224 WARNING: Duplicate symbol: __start
ld: 0711-224 WARNING: Duplicate symbol: .__start
ld: 0711-224 WARNING: Duplicate symbol: __C_runtime_pstartup
ld: 0711-224 WARNING: Duplicate symbol: p_xargc
ld: 0711-224 WARNING: Duplicate symbol: p_xargv
ld: 0711-224 WARNING: Duplicate symbol: .__threads_init
ld: 0711-224 WARNING: Duplicate symbol: _pthread_init_routine
ld: 0711-224 WARNING: Duplicate symbol: _bsd_init_routine
ld: 0711-224 WARNING: Duplicate symbol: _xti_tli_init_routine
ld: 0711-224 WARNING: Duplicate symbol: _nsl_init_routine
ld: 0711-224 WARNING: Duplicate symbol: __dce_compat_init_routine
ld: 0711-224 WARNING: Duplicate symbol: __threads_init
ld: 0711-224 WARNING: Duplicate symbol: .__mod_init
ld: 0711-224 WARNING: Duplicate symbol: __mod_init
ld: 0711-224 WARNING: Duplicate symbol: p_xrcfg
ld: 0711-224 WARNING: Duplicate symbol: p_xrc
ld: 0711-224 WARNING: Duplicate symbol: .exit
ld: 0711-224 WARNING: Duplicate symbol: exit
ld: 0711-224 WARNING: Duplicate symbol: .PQtrace
ld: 0711-224 WARNING: Duplicate symbol: .PQuntrace
ld: 0711-224 WARNING: Duplicate symbol: .strdup
ld: 0711-224 WARNING: Duplicate symbol: strdup
ld: 0711-224 WARNING: Duplicate symbol: .free
ld: 0711-224 WARNING: Duplicate symbol: free
ld: 0711-224 WARNING: Duplicate symbol: .malloc
ld: 0711-224 WARNING: Duplicate symbol: malloc
ld: 0711-224 WARNING: Duplicate symbol: .realloc
ld: 0711-224 WARNING: Duplicate symbol: realloc
ld: 0711-224 WARNING: Duplicate symbol: .vsnprintf
ld: 0711-224 WARNING: Duplicate symbol: vsnprintf
ld: 0711-224 WARNING: Duplicate symbol: .strlen
ld: 0711-224 WARNING: Duplicate symbol: strlen
ld: 0711-224 WARNING: Duplicate symbol: .memcpy
ld: 0711-224 WARNING: Duplicate symbol: .bcopy
ld: 0711-224 WARNING: Duplicate symbol: .ovbcopy
ld: 0711-224 WARNING: Duplicate symbol: ._moveeq
ld: 0711-224 WARNING: Duplicate symbol: .memmove
ld: 0711-224 WARNING: Duplicate symbol: .getenv
ld: 0711-224 WARNING: Duplicate symbol: getenv
ld: 0711-224 WARNING: Duplicate symbol: ._posix_getpwuid_r
ld: 0711-224 WARNING: Duplicate symbol: _posix_getpwuid_r
ld: 0711-224 WARNING: Duplicate symbol: ._posix_getpwnam_r
ld: 0711-224 WARNING: Duplicate symbol: _posix_getpwnam_r
ld: 0711-224 WARNING: Duplicate symbol: .crypt
ld: 0711-224 WARNING: Duplicate symbol: crypt
ld: 0711-224 WARNING: Duplicate symbol: .sprintf
ld: 0711-224 WARNING: Duplicate symbol: sprintf
ld: 0711-224 WARNING: Duplicate symbol: .strcmp
ld: 0711-224 WARNING: Duplicate symbol: .geteuid
ld: 0711-224 WARNING: Duplicate symbol: geteuid
ld: 0711-224 WARNING: Duplicate symbol: .getpwuid
ld: 0711-224 WARNING: Duplicate symbol: getpwuid
ld: 0711-224 WARNING: Duplicate symbol: .strcpy
ld: 0711-224 WARNING: Duplicate symbol: .fcntl
ld: 0711-224 WARNING: Duplicate symbol: fcntl
ld: 0711-224 WARNING: Duplicate symbol: .strerror
ld: 0711-224 WARNING: Duplicate symbol: strerror
ld: 0711-224 WARNING: Duplicate symbol: .setsockopt
ld: 0711-224 WARNING: Duplicate symbol: setsockopt
ld: 0711-224 WARNING: Duplicate symbol: .memset
ld: 0711-224 WARNING: Duplicate symbol: memset
ld: 0711-224 WARNING: Duplicate symbol: .inet_aton
ld: 0711-224 WARNING: Duplicate symbol: inet_aton
ld: 0711-224 WARNING: Duplicate symbol: .gethostbyname
ld: 0711-224 WARNING: Duplicate symbol: gethostbyname
ld: 0711-224 WARNING: Duplicate symbol: .atoi
ld: 0711-224 WARNING: Duplicate symbol: atoi
ld: 0711-224 WARNING: Duplicate symbol: .socket
ld: 0711-224 WARNING: Duplicate symbol: socket
ld: 0711-224 WARNING: Duplicate symbol: .connect
ld: 0711-224 WARNING: Duplicate symbol: connect
ld: 0711-224 WARNING: Duplicate symbol: .close
ld: 0711-224 WARNING: Duplicate symbol: close
ld: 0711-224 WARNING: Duplicate symbol: .fprintf
ld: 0711-224 WARNING: Duplicate symbol: fprintf
ld: 0711-224 WARNING: Duplicate symbol: .bzero
ld: 0711-224 WARNING: Duplicate symbol: bzero
ld: 0711-224 WARNING: Duplicate symbol: .select
ld: 0711-224 WARNING: Duplicate symbol: select
ld: 0711-224 WARNING: Duplicate symbol: .recv
ld: 0711-224 WARNING: Duplicate symbol: recv
ld: 0711-224 WARNING: Duplicate symbol: .pqsignal
ld: 0711-224 WARNING: Duplicate symbol: .sigemptyset
ld: 0711-224 WARNING: Duplicate symbol: sigemptyset
ld: 0711-224 WARNING: Duplicate symbol: .sigaction
ld: 0711-224 WARNING: Duplicate symbol: sigaction
ld: 0711-224 WARNING: Duplicate symbol: .send
ld: 0711-224 WARNING: Duplicate symbol: send
ld: 0711-224 WARNING: Duplicate symbol: .fflush
ld: 0711-224 WARNING: Duplicate symbol: fflush
ld: 0711-224 WARNING: Duplicate symbol: .ngetsockname
ld: 0711-224 WARNING: Duplicate symbol: ngetsockname
ld: 0711-224 WARNING: Duplicate symbol: .strncpy
ld: 0711-224 WARNING: Duplicate symbol: .DLNewElem
ld: 0711-224 WARNING: Duplicate symbol: .DLNewList
ld: 0711-224 WARNING: Duplicate symbol: .DLInitList
ld: 0711-224 WARNING: Duplicate symbol: .DLFreeList
ld: 0711-224 WARNING: Duplicate symbol: .DLInitElem
ld: 0711-224 WARNING: Duplicate symbol: .DLFreeElem
ld: 0711-224 WARNING: Duplicate symbol: .DLRemove
ld: 0711-224 WARNING: Duplicate symbol: .DLAddHead
ld: 0711-224 WARNING: Duplicate symbol: .DLAddTail
ld: 0711-224 WARNING: Duplicate symbol: .DLRemHead
ld: 0711-224 WARNING: Duplicate symbol: .DLRemTail
ld: 0711-224 WARNING: Duplicate symbol: .DLMoveToFront
ld: 0711-224 WARNING: Duplicate symbol: .isupper
ld: 0711-224 WARNING: Duplicate symbol: isupper
ld: 0711-224 WARNING: Duplicate symbol: .tolower
ld: 0711-224 WARNING: Duplicate symbol: tolower
ld: 0711-224 WARNING: Duplicate symbol: .strncmp
ld: 0711-224 WARNING: Duplicate symbol: strncmp
ld: 0711-224 WARNING: Duplicate symbol: .strspn
ld: 0711-224 WARNING: Duplicate symbol: strspn
ld: 0711-224 WARNING: Duplicate symbol: .strtoul
ld: 0711-224 WARNING: Duplicate symbol: strtoul
ld: 0711-224 WARNING: Duplicate symbol: .strcasecmp
ld: 0711-224 WARNING: Duplicate symbol: strcasecmp
ld: 0711-224 WARNING: Duplicate symbol: .strcat
ld: 0711-224 WARNING: Duplicate symbol: .fopen
ld: 0711-224 WARNING: Duplicate symbol: fopen
ld: 0711-224 WARNING: Duplicate symbol: .fclose
ld: 0711-224 WARNING: Duplicate symbol: fclose
ld: 0711-224 WARNING: Duplicate symbol: .isspace
ld: 0711-224 WARNING: Duplicate symbol: isspace
ld: 0711-224 WARNING: Duplicate symbol: .strtok
ld: 0711-224 WARNING: Duplicate symbol: strtok
ld: 0711-224 WARNING: Duplicate symbol: .fgets
ld: 0711-224 WARNING: Duplicate symbol: fgets
ld: 0711-224 WARNING: Duplicate symbol: .strchr
ld: 0711-224 WARNING: Duplicate symbol: strchr
ld: 0711-224 WARNING: Duplicate symbol: .lo_open
ld: 0711-224 WARNING: Duplicate symbol: .lo_close
ld: 0711-224 WARNING: Duplicate symbol: .lo_read
ld: 0711-224 WARNING: Duplicate symbol: .lo_write
ld: 0711-224 WARNING: Duplicate symbol: .lo_lseek
ld: 0711-224 WARNING: Duplicate symbol: .lo_creat
ld: 0711-224 WARNING: Duplicate symbol: .lo_tell
ld: 0711-224 WARNING: Duplicate symbol: .lo_unlink
ld: 0711-224 WARNING: Duplicate symbol: .lo_import
ld: 0711-224 WARNING: Duplicate symbol: .lo_export
ld: 0711-224 WARNING: Duplicate symbol: .open
ld: 0711-224 WARNING: Duplicate symbol: open
ld: 0711-224 WARNING: Duplicate symbol: .read
ld: 0711-224 WARNING: Duplicate symbol: read
ld: 0711-224 WARNING: Duplicate symbol: .write
ld: 0711-224 WARNING: Duplicate symbol: write
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringInit
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringStartSublist
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringAppendElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringEndSublist
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Alloc
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetChannelOption
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_RegisterChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetChannelType
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ResetResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetChannelInstanceData
ld: 0711-317 ERROR: Undefined symbol: .Tcl_FirstHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Free
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NextHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteHashTable
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DontCallWhenDeleted
ld: 0711-317 ERROR: Undefined symbol: .Tcl_EventuallyFree
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Realloc
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetInt
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetChannelName
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Preserve
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GlobalEval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AddErrorInfo
ld: 0711-317 ERROR: Undefined symbol: .Tcl_BackgroundError
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Release
ld: 0711-317 ERROR: Undefined symbol: .Tcl_QueueEvent
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateFileHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteFileHandler
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteEvents
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UnregisterChannel
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendElement
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_Eval
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetStringFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_GetIntFromObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewIntObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_SetObjResult
ld: 0711-317 ERROR: Undefined symbol: .Tcl_NewStringObj
ld: 0711-317 ERROR: Undefined symbol: .Tcl_ObjSetVar2
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DStringFree
ld: 0711-317 ERROR: Undefined symbol: .Tcl_UnsetVar
ld: 0711-317 ERROR: Undefined symbol: .Tcl_InitHashTable
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CallWhenDeleted
ld: 0711-317 ERROR: Undefined symbol: .Tcl_DeleteHashEntry
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateCommand
ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateObjCommand
ld: 0711-317 ERROR: Undefined symbol: .Tcl_PkgProvide
collect2: ld returned 8 exit status
make[3]: *** [libpgtcl.so] Error 1
make[3]: Leaving directory
`/usr/local/pgsql/postgresql-7.1.3/src/interfaces/libpgtcl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/pgsql/postgresql-7.1.3/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/pgsql/postgresql-7.1.3/src'
make: *** [all] Error 2


Can some one help me?
Thank you
Jacques Talbot




pgsql-ports by date

Next:From: Keith GrayDate: 2001-12-10 01:23:36
Subject: SCO OSR5 - PostgreSQL VOL or Complile
Previous:From: Henry B. HotzDate: 2001-12-07 02:05:23
Subject: Re: 7.1.3 fails to configure on Solaris 2.7

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group