build: Starting Build ================================================================================ SECTION: configure in /home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle from make(/home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle/make.py:19) at Sun Jun 10 16:33:39 2007 Configure module found in /home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle Loaded configure to cache: size 44110 Using cached configure Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Compilers: C Compiler: gcc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3 C++ Compiler: g++ -Wall -Wwrite-strings -Wno-strict-aliasing -g -fPIC Fortran Compiler: g77 -fPIC -Wall -Wno-unused-variable -g Linkers: Shared linker: g++ -shared Dynamic linker: g++ -shared PETSC_DIR: /home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1 ** ** Now build and test the libraries with "make all test" ** X11: Includes: Library: -lX11 Clanguage: Cxx Scalar type:real PETSc: PETSC_ARCH: linux-gnu-cxx-debug **** src/config.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef PETSC_PRINTF_FORMAT_CHECK #define PETSC_PRINTF_FORMAT_CHECK(A,B) __attribute__((format (printf, A, B))) #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_STRING_H #define PETSC_HAVE_STRING_H 1 #endif #ifndef PETSC_HAVE_SYS_TYPES_H #define PETSC_HAVE_SYS_TYPES_H 1 #endif #ifndef PETSC_HAVE_ENDIAN_H #define PETSC_HAVE_ENDIAN_H 1 #endif #ifndef PETSC_HAVE_SYS_PROCFS_H #define PETSC_HAVE_SYS_PROCFS_H 1 #endif #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_LINUX_KERNEL_H #define PETSC_HAVE_LINUX_KERNEL_H 1 #endif #ifndef PETSC_HAVE_TIME_H #define PETSC_HAVE_TIME_H 1 #endif #ifndef PETSC_HAVE_STDLIB_H #define PETSC_HAVE_STDLIB_H 1 #endif #ifndef PETSC_HAVE_SYS_PARAM_H #define PETSC_HAVE_SYS_PARAM_H 1 #endif #ifndef PETSC_HAVE_SYS_SOCKET_H #define PETSC_HAVE_SYS_SOCKET_H 1 #endif #ifndef PETSC_HAVE_UNISTD_H #define PETSC_HAVE_UNISTD_H 1 #endif #ifndef PETSC_HAVE_SYS_WAIT_H #define PETSC_HAVE_SYS_WAIT_H 1 #endif #ifndef PETSC_HAVE_LIMITS_H #define PETSC_HAVE_LIMITS_H 1 #endif #ifndef PETSC_HAVE_SYS_UTSNAME_H #define PETSC_HAVE_SYS_UTSNAME_H 1 #endif #ifndef PETSC_HAVE_NETINET_IN_H #define PETSC_HAVE_NETINET_IN_H 1 #endif #ifndef PETSC_HAVE_FLOAT_H #define PETSC_HAVE_FLOAT_H 1 #endif #ifndef PETSC_HAVE_SEARCH_H #define PETSC_HAVE_SEARCH_H 1 #endif #ifndef PETSC_HAVE_SYS_RESOURCE_H #define PETSC_HAVE_SYS_RESOURCE_H 1 #endif #ifndef PETSC_HAVE_SYS_TIMES_H #define PETSC_HAVE_SYS_TIMES_H 1 #endif #ifndef PETSC_HAVE_NETDB_H #define PETSC_HAVE_NETDB_H 1 #endif #ifndef PETSC_HAVE_MALLOC_H #define PETSC_HAVE_MALLOC_H 1 #endif #ifndef PETSC_HAVE_PWD_H #define PETSC_HAVE_PWD_H 1 #endif #ifndef PETSC_HAVE_FCNTL_H #define PETSC_HAVE_FCNTL_H 1 #endif #ifndef PETSC_HAVE_STRINGS_H #define PETSC_HAVE_STRINGS_H 1 #endif #ifndef PETSC_HAVE_SYS_SYSINFO_H #define PETSC_HAVE_SYS_SYSINFO_H 1 #endif #ifndef PETSC_TIME_WITH_SYS_TIME #define PETSC_TIME_WITH_SYS_TIME 1 #endif #ifndef PETSC_HAVE_SYS_TIME_H #define PETSC_HAVE_SYS_TIME_H 1 #endif #ifndef PETSC_HAVE_LIBCHACO #define PETSC_HAVE_LIBCHACO 1 #endif #ifndef PETSC_HAVE_LIBFLAPACK #define PETSC_HAVE_LIBFLAPACK 1 #endif #ifndef PETSC_HAVE_ERF #define PETSC_HAVE_ERF 1 #endif #ifndef PETSC_HAVE_LIBFBLAS #define PETSC_HAVE_LIBFBLAS 1 #endif #ifndef ANSI_DECLARATORS #define ANSI_DECLARATORS 1 #endif #ifndef PETSC_HAVE_POPEN #define PETSC_HAVE_POPEN 1 #endif #ifndef PETSC_HAVE_SIGSET #define PETSC_HAVE_SIGSET 1 #endif #ifndef PETSC_HAVE_GETWD #define PETSC_HAVE_GETWD 1 #endif #ifndef PETSC_HAVE_TIMES #define PETSC_HAVE_TIMES 1 #endif #ifndef PETSC_HAVE_SNPRINTF #define PETSC_HAVE_SNPRINTF 1 #endif #ifndef PETSC_HAVE_GETPWUID #define PETSC_HAVE_GETPWUID 1 #endif #ifndef PETSC_HAVE_GETHOSTBYNAME #define PETSC_HAVE_GETHOSTBYNAME 1 #endif #ifndef PETSC_HAVE_IARGC_ #define PETSC_HAVE_IARGC_ 1 #endif #ifndef PETSC_HAVE_SLEEP #define PETSC_HAVE_SLEEP 1 #endif #ifndef PETSC_HAVE_DLERROR #define PETSC_HAVE_DLERROR 1 #endif #ifndef PETSC_HAVE_FORK #define PETSC_HAVE_FORK 1 #endif #ifndef PETSC_HAVE_RAND #define PETSC_HAVE_RAND 1 #endif #ifndef PETSC_HAVE_GETTIMEOFDAY #define PETSC_HAVE_GETTIMEOFDAY 1 #endif #ifndef PETSC_HAVE_UNAME #define PETSC_HAVE_UNAME 1 #endif #ifndef PETSC_HAVE_SIGACTION #define PETSC_HAVE_SIGACTION 1 #endif #ifndef PETSC_HAVE_MKSTEMP #define PETSC_HAVE_MKSTEMP 1 #endif #ifndef PETSC_HAVE_GETHOSTNAME #define PETSC_HAVE_GETHOSTNAME 1 #endif #ifndef PETSC_HAVE_DRAND48 #define PETSC_HAVE_DRAND48 1 #endif #ifndef PETSC_HAVE_CLOCK #define PETSC_HAVE_CLOCK 1 #endif #ifndef PETSC_HAVE_ACCESS #define PETSC_HAVE_ACCESS 1 #endif #ifndef PETSC_HAVE_SIGNAL #define PETSC_HAVE_SIGNAL 1 #endif #ifndef PETSC_HAVE_GETRUSAGE #define PETSC_HAVE_GETRUSAGE 1 #endif #ifndef PETSC_HAVE_MEMALIGN #define PETSC_HAVE_MEMALIGN 1 #endif #ifndef PETSC_HAVE_GETDOMAINNAME #define PETSC_HAVE_GETDOMAINNAME 1 #endif #ifndef PETSC_HAVE_TIME #define PETSC_HAVE_TIME 1 #endif #ifndef PETSC_HAVE_LSEEK #define PETSC_HAVE_LSEEK 1 #endif #ifndef PETSC_HAVE_SOCKET #define PETSC_HAVE_SOCKET 1 #endif #ifndef PETSC_HAVE_SYSINFO #define PETSC_HAVE_SYSINFO 1 #endif #ifndef PETSC_HAVE_READLINK #define PETSC_HAVE_READLINK 1 #endif #ifndef PETSC_HAVE_REALPATH #define PETSC_HAVE_REALPATH 1 #endif #ifndef PETSC_HAVE_MEMMOVE #define PETSC_HAVE_MEMMOVE 1 #endif #ifndef PETSC_SIGNAL_CAST #define PETSC_SIGNAL_CAST #endif #ifndef PETSC_HAVE_GETCWD #define PETSC_HAVE_GETCWD 1 #endif #ifndef PETSC_HAVE_VPRINTF #define PETSC_HAVE_VPRINTF 1 #endif #ifndef PETSC_HAVE_BZERO #define PETSC_HAVE_BZERO 1 #endif #ifndef PETSC_HAVE_GETPAGESIZE #define PETSC_HAVE_GETPAGESIZE 1 #endif #ifndef PETSC_DIR #define PETSC_DIR /home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1 #endif #ifndef HAVE_GZIP #define HAVE_GZIP 1 #endif #ifndef PETSC_CLANGUAGE_CXX #define PETSC_CLANGUAGE_CXX 1 #endif #ifndef PETSC_BITS_PER_BYTE #define PETSC_BITS_PER_BYTE 8 #endif #ifndef PETSC_SIZEOF_VOID_P #define PETSC_SIZEOF_VOID_P 8 #endif #ifndef PETSC_RETSIGTYPE #define PETSC_RETSIGTYPE void #endif #ifndef PETSC_HAVE_CXX_COMPLEX #define PETSC_HAVE_CXX_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_LONG #define PETSC_SIZEOF_LONG 8 #endif #ifndef PETSC_SIZEOF_CHAR #define PETSC_SIZEOF_CHAR 1 #endif #ifndef PETSC_SIZEOF_DOUBLE #define PETSC_SIZEOF_DOUBLE 8 #endif #ifndef PETSC_SIZEOF_FLOAT #define PETSC_SIZEOF_FLOAT 4 #endif #ifndef PETSC_HAVE_C99_COMPLEX #define PETSC_HAVE_C99_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_INT #define PETSC_SIZEOF_INT 4 #endif #ifndef PETSC_SIZEOF_LONG_LONG #define PETSC_SIZEOF_LONG_LONG 8 #endif #ifndef PETSC_SIZEOF_SHORT #define PETSC_SIZEOF_SHORT 2 #endif #ifndef PETSC_ARCH_NAME #define PETSC_ARCH_NAME "linux-gnu-cxx-debug" #endif #ifndef PETSC_ARCH #define PETSC_ARCH linux #endif #ifndef PETSC_USE_INFO #define PETSC_USE_INFO 1 #endif #ifndef PETSC_USE_DEBUG #define PETSC_USE_DEBUG 1 #endif #ifndef PETSC_USE_LOG #define PETSC_USE_LOG 1 #endif #ifndef PETSC_USE_CTABLE #define PETSC_USE_CTABLE 1 #endif #ifndef PETSC_IS_COLOR_VALUE_TYPE #define PETSC_IS_COLOR_VALUE_TYPE short #endif #ifndef PETSC_USE_32BIT_INT #define PETSC_USE_32BIT_INT 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #endif Python Configure Actions These are the actions performed by configure on the filesystem ----------------------------------------------------------------- Framework: File creation : Created configure header src/config.h File creation : Created configure header src/config.h ================================================================================ SECTION: build in /home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle from make(/home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle/make.py:87) at Sun Jun 10 16:33:39 2007 build: Pushed configuration ShowMe Binary Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Source ['src/showme.c'] will not be rebuilt into target src/showme.o Source ['src/showme.o'] will not be rebuilt into target bin/showme build: Popped configuration ShowMe Binary build: Pushed configuration Triangle Binary Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Source ['src/triangle.h'] rebuilds due to file src/triangle.h missing from database Source ['src/triangle.c'] rebuilds due to rebuilt dependecy src/triangle.h sh: gcc -c -o src/triangle.o -DNO_PETSC_MALLOC src/triangle.c Executing: gcc -c -o src/triangle.o -DNO_PETSC_MALLOC src/triangle.c sh: Possible ERROR while running compiler: error message = {src/triangle.c: In function ‘poolinit’: src/triangle.c:3220: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘poolalloc’: src/triangle.c:3303: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘dummyinit’: src/triangle.c:3460: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘divconqdelaunay’: src/triangle.c:7704: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘boundingbox’: src/triangle.c:7796: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘createeventheap’: src/triangle.c:8113: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘reconstruct’: src/triangle.c:8872: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘carveholes’: src/triangle.c:10466: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘readholes’: src/triangle.c:11556: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:11591: warning: incompatible implicit declaration of built-in function ‘malloc’ } Source: ['src/triangle.c'] Updated ['src/triangle.c'] in source database Source ['src/triangle.o'] rebuilds due to changed modification time of file src/triangle.o sh: gcc -o bin/triangle -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3 src/triangle.o -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -lstdc++ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -L/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -L/usr/lib/../lib64 -ldl -lgcc_s -ldl Executing: gcc -o bin/triangle -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3 src/triangle.o -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -lstdc++ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -L/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -L/usr/lib/../lib64 -ldl -lgcc_s -ldl sh: Updated ['src/triangle.o'] in source database build: Popped configuration Triangle Binary build: Pushed configuration Triangle Library Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Source ['src/triangle.h'] rebuilds due to file src/triangle.h missing from database Source ['src/triangle.c'] rebuilds due to rebuilt dependecy src/triangle.h sh: gcc -c -o src/libtriangle.o -DNO_PETSC_MALLOC -DTRILIBRARY src/triangle.c Executing: gcc -c -o src/libtriangle.o -DNO_PETSC_MALLOC -DTRILIBRARY src/triangle.c sh: Possible ERROR while running compiler: error message = {src/triangle.c: In function ‘poolinit’: src/triangle.c:3220: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘poolalloc’: src/triangle.c:3303: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘dummyinit’: src/triangle.c:3460: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘divconqdelaunay’: src/triangle.c:7704: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘boundingbox’: src/triangle.c:7796: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘createeventheap’: src/triangle.c:8113: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘reconstruct’: src/triangle.c:8872: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘carveholes’: src/triangle.c:10466: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writenodes’: src/triangle.c:11718: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:11726: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:11734: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writeelements’: src/triangle.c:11869: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:11878: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writepoly’: src/triangle.c:12004: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:12012: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writeedges’: src/triangle.c:12135: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:12143: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writevoronoi’: src/triangle.c:12294: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:12302: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:12373: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c:12382: warning: incompatible implicit declaration of built-in function ‘malloc’ src/triangle.c: In function ‘writeneighbors’: src/triangle.c:12492: warning: incompatible implicit declaration of built-in function ‘malloc’ } Source: ['src/triangle.c'] Updated ['src/triangle.c'] in source database Source ['src/libtriangle.o'] rebuilds due to missing target lib/libtriangle.so sh: g++ -o lib/libtriangle.so -shared src/libtriangle.o -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -lstdc++ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -L/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -L/usr/lib/../lib64 -ldl -lgcc_s -ldl Executing: g++ -o lib/libtriangle.so -shared src/libtriangle.o -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -lstdc++ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -L/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -L/usr/lib/../lib64 -ldl -lgcc_s -ldl sh: Possible ERROR while running linker: ret = 256 error message = {/usr/bin/ld: src/libtriangle.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC src/libtriangle.o: could not read symbols: Bad value collect2: ld returned 1 exit status } Source: ['src/libtriangle.o'] Command: g++ -o lib/libtriangle.so -shared src/libtriangle.o -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -lstdc++ -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64 -Wl,-rpath,/lib/../lib64 -L/lib/../lib64 -Wl,-rpath,/usr/lib/../lib64 -L/usr/lib/../lib64 -ldl -lgcc_s -ldl ************************************ ERROR ************************************** File "/mnt/200g/works/MyWork/PETSc/C++PETSc/petsc-2.3.3-p1/python/BuildSystem/maker.py", line 214, in run self.executeSection(self.build, self.builder, setupOnly) File "/mnt/200g/works/MyWork/PETSc/C++PETSc/petsc-2.3.3-p1/python/BuildSystem/maker.py", line 207, in executeSection return section(*args) File "/home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle/make.py", line 93, in build self.buildLibrary(builder) File "/home/seki/mywork/PETSc/C++PETSc/petsc-2.3.3-p1/externalpackages/Triangle/make.py", line 68, in buildLibrary builder.link([object], os.path.join('lib', 'libtriangle.'+self.setCompilers.sharedLibraryExt), shared = 1) File "/mnt/200g/works/MyWork/PETSc/C++PETSc/petsc-2.3.3-p1/python/BuildSystem/builder.py", line 494, in link output, error, status = script.Script.executeShellCommand(self.getSharedLinkerCommand(source, target), checkCommand = check, log = self.log) File "/mnt/200g/works/MyWork/PETSc/C++PETSc/petsc-2.3.3-p1/python/BuildSystem/script.py", line 210, in executeShellCommand checkCommand(command, status, output, error) File "/mnt/200g/works/MyWork/PETSc/C++PETSc/petsc-2.3.3-p1/python/BuildSystem/builder.py", line 468, in check raise LinkError(output+'\n'.join(error))