[Libreoffice] Error in for libuno_sal.so.3 sal + lots of undefined references
Julien Nabet
serval2412 at yahoo.fr
Wed Nov 17 13:03:19 PST 2010
Hello,
Even with an "rm -rf unxlngi6.pro" in sal, I got this :
Entering
/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/sal/util,
I typed this :
/bin/bash
cd /home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2
source ./LinuxX86Env.Set.sh
cd sal
build verbose=1
Making: libuno_sal.so.3
g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs
-Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both
-Wl,-rpath,'$ORIGIN' "-Wl,-hlibuno_sal.so.3" -shared -Wl,-O1
-Wl,--version-script ../unxlngi6.pro/misc/sal_uno_sal.map
-L../unxlngi6.pro/lib -L../lib
-L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib
-L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib
-L/home/serval/libreoffice-source/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/lib
-L/usr/lib/jvm/java-6-openjdk/lib
-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386
-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client
-L/usr/lib/jvm/java-6-openjdk/jre/lib/i386/native_threads
../unxlngi6.pro/slo/uno_sal_version.o -o
../unxlngi6.pro/lib/libuno_sal.so.3 ../unxlngi6.pro/slo/utility.o
../unxlngi6.pro/slo/filepath.o ../unxlngi6.pro/slo/debugbase.o
../unxlngi6.pro/slo/loadmodulerelative.o ../unxlngi6.pro/slo/conditn.o
../unxlngi6.pro/slo/diagnose.o ../unxlngi6.pro/slo/semaphor.o
../unxlngi6.pro/slo/socket.o ../unxlngi6.pro/slo/interlck.o
../unxlngi6.pro/slo/mutex.o ../unxlngi6.pro/slo/nlsupport.o
../unxlngi6.pro/slo/thread.o ../unxlngi6.pro/slo/module.o
../unxlngi6.pro/slo/process.o ../unxlngi6.pro/slo/security.o
../unxlngi6.pro/slo/profile.o ../unxlngi6.pro/slo/time.o
../unxlngi6.pro/slo/signal.o ../unxlngi6.pro/slo/pipe.o
../unxlngi6.pro/slo/system.o ../unxlngi6.pro/slo/util.o
../unxlngi6.pro/slo/tempfile.o ../unxlngi6.pro/slo/file.o
../unxlngi6.pro/slo/file_misc.o ../unxlngi6.pro/slo/file_url.o
../unxlngi6.pro/slo/file_error_transl.o
../unxlngi6.pro/slo/file_path_helper.o ../unxlngi6.pro/slo/file_stat.o
../unxlngi6.pro/slo/file_volume.o ../unxlngi6.pro/slo/uunxapi.o
../unxlngi6.pro/slo/process_impl.o ../unxlngi6.pro/slo/salinit.o
../unxlngi6.pro/slo/memory.o ../unxlngi6.pro/slo/cipher.o
../unxlngi6.pro/slo/crc.o ../unxlngi6.pro/slo/digest.o
../unxlngi6.pro/slo/random.o ../unxlngi6.pro/slo/locale.o
../unxlngi6.pro/slo/strimp.o ../unxlngi6.pro/slo/hash.o
../unxlngi6.pro/slo/string.o ../unxlngi6.pro/slo/ustring.o
../unxlngi6.pro/slo/strbuf.o ../unxlngi6.pro/slo/ustrbuf.o
../unxlngi6.pro/slo/uuid.o ../unxlngi6.pro/slo/rtl_process.o
../unxlngi6.pro/slo/byteseq.o ../unxlngi6.pro/slo/uri.o
../unxlngi6.pro/slo/bootstrap.o ../unxlngi6.pro/slo/cmdargs.o
../unxlngi6.pro/slo/unload.o ../unxlngi6.pro/slo/logfile.o
../unxlngi6.pro/slo/tres.o ../unxlngi6.pro/slo/debugprint.o
../unxlngi6.pro/slo/math.o ../unxlngi6.pro/slo/alloc_global.o
../unxlngi6.pro/slo/alloc_cache.o ../unxlngi6.pro/slo/alloc_arena.o
../unxlngi6.pro/slo/context.o ../unxlngi6.pro/slo/convertbig5hkscs.o
../unxlngi6.pro/slo/converter.o ../unxlngi6.pro/slo/converteuctw.o
../unxlngi6.pro/slo/convertgb18030.o
../unxlngi6.pro/slo/convertiso2022cn.o
../unxlngi6.pro/slo/convertiso2022jp.o
../unxlngi6.pro/slo/convertiso2022kr.o
../unxlngi6.pro/slo/convertsinglebytetobmpunicode.o
../unxlngi6.pro/slo/tcvtbyte.o ../unxlngi6.pro/slo/tcvtmb.o
../unxlngi6.pro/slo/tcvtutf7.o ../unxlngi6.pro/slo/tcvtutf8.o
../unxlngi6.pro/slo/tenchelp.o ../unxlngi6.pro/slo/tencinfo.o
../unxlngi6.pro/slo/textcvt.o ../unxlngi6.pro/slo/textenc.o
../unxlngi6.pro/slo/unichars.o -Wl,--as-needed -ldl -lm -Wl,--no-as-needed
../unxlngi6.pro/slo/semaphor.o: In function `osl_releaseSemaphore':
semaphor.c:(.text+0x20): undefined reference to `sem_post'
../unxlngi6.pro/slo/semaphor.o: In function `osl_tryToAcquireSemaphore':
semaphor.c:(.text+0x51): undefined reference to `sem_trywait'
../unxlngi6.pro/slo/semaphor.o: In function `osl_acquireSemaphore':
semaphor.c:(.text+0x82): undefined reference to `sem_wait'
../unxlngi6.pro/slo/semaphor.o: In function `osl_destroySemaphore':
semaphor.c:(.text+0xaf): undefined reference to `sem_destroy'
../unxlngi6.pro/slo/semaphor.o: In function `osl_createSemaphore':
semaphor.c:(.text+0xf0): undefined reference to `sem_init'
../unxlngi6.pro/slo/mutex.o: In function `osl_getGlobalMutex':
mutex.c:(.text+0x21): undefined reference to `pthread_once'
../unxlngi6.pro/slo/mutex.o: In function `globalMutexInitImpl':
mutex.c:(.text+0x54): undefined reference to `pthread_mutexattr_init'
mutex.c:(.text+0x65): undefined reference to `pthread_mutexattr_setkind_np'
mutex.c:(.text+0x8b): undefined reference to `pthread_mutexattr_destroy'
../unxlngi6.pro/slo/mutex.o: In function `osl_tryToAcquireMutex':
mutex.c:(.text+0xf3): undefined reference to `pthread_mutex_trylock'
../unxlngi6.pro/slo/mutex.o: In function `osl_createMutex':
mutex.c:(.text+0x193): undefined reference to `pthread_mutexattr_init'
mutex.c:(.text+0x19d): undefined reference to `pthread_mutexattr_setkind_np'
mutex.c:(.text+0x1c7): undefined reference to `pthread_mutexattr_destroy'
../unxlngi6.pro/slo/thread.o: In function `osl_setThreadKeyData':
thread.c:(.text+0x2f): undefined reference to `pthread_setspecific'
../unxlngi6.pro/slo/thread.o: In function `osl_getThreadTextEncoding':
thread.c:(.text+0x61): undefined reference to `pthread_once'
thread.c:(.text+0x6d): undefined reference to `pthread_getspecific'
../unxlngi6.pro/slo/thread.o: In function `osl_setThreadTextEncoding':
thread.c:(.text+0xad): undefined reference to `pthread_setspecific'
../unxlngi6.pro/slo/thread.o: In function `osl_getThreadKeyData':
thread.c:(.text+0xd1): undefined reference to `pthread_getspecific'
../unxlngi6.pro/slo/thread.o: In function `osl_createThreadKey':
thread.c:(.text+0xf4): undefined reference to `pthread_key_create'
../unxlngi6.pro/slo/thread.o: In function `osl_thread_init_Impl':
thread.c:(.text+0x12a): undefined reference to `pthread_key_create'
../unxlngi6.pro/slo/thread.o: In function `osl_destroyThreadKey':
thread.c:(.text+0x184): undefined reference to `pthread_key_delete'
../unxlngi6.pro/slo/thread.o: In function `osl_thread_join_cleanup_Impl':
thread.c:(.text+0x49f): undefined reference to `pthread_detach'
../unxlngi6.pro/slo/thread.o: In function `osl_thread_cleanup_Impl':
thread.c:(.text+0x628): undefined reference to `pthread_detach'
../unxlngi6.pro/slo/thread.o: In function `osl_thread_create_Impl':
thread.c:(.text+0x6d0): undefined reference to `pthread_create'
thread.c:(.text+0x724): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0x73e): undefined reference to `__pthread_unregister_cancel'
../unxlngi6.pro/slo/thread.o: In function `osl_joinWithThread':
thread.c:(.text+0x835): undefined reference to `pthread_detach'
thread.c:(.text+0x847): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0x853): undefined reference to `pthread_join'
thread.c:(.text+0x85a): undefined reference to `__pthread_unregister_cancel'
../unxlngi6.pro/slo/thread.o: In function `osl_scheduleThread':
thread.c:(.text+0x8f7): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0x90c): undefined reference to `__pthread_unregister_cancel'
../unxlngi6.pro/slo/thread.o: In function `osl_suspendThread':
thread.c:(.text+0x9cc): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0x9e1): undefined reference to `__pthread_unregister_cancel'
../unxlngi6.pro/slo/thread.o: In function `osl_thread_start_Impl':
thread.c:(.text+0xa53): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0xaba): undefined reference to `__pthread_register_cancel'
thread.c:(.text+0xacf): undefined reference to `__pthread_unregister_cancel'
thread.c:(.text+0xb0b): undefined reference to `__pthread_unregister_cancel'
../unxlngi6.pro/slo/signal.o: In function `InitSignal':
signal.c:(.text+0x2de): undefined reference to `pthread_sigmask'
../unxlngi6.pro/slo/locale.o: In function `rtl_locale_register':
locale.c:(.text+0x49a): undefined reference to `pthread_once'
../unxlngi6.pro/slo/alloc_cache.o: In function `rtl_cache_fini':
alloc_cache.c:(.text+0xcde): undefined reference to `pthread_join'
../unxlngi6.pro/slo/alloc_cache.o: In function `rtl_cache_create':
alloc_cache.c:(.text+0x10ab): undefined reference to `pthread_once'
../unxlngi6.pro/slo/alloc_cache.o: In function `rtl_cache_once_init':
alloc_cache.c:(.text+0x1219): undefined reference to `pthread_create'
../unxlngi6.pro/slo/alloc_arena.o: In function `rtl_arena_create':
alloc_arena.c:(.text+0x1255): undefined reference to `pthread_once'
collect2: ld returned 1 exit status
dmake: Error code 1, while making '../unxlngi6.pro/lib/libuno_sal.so.3'
Just before i testwith a long "make clean", what do you think ?
(here the line i use to update and compile :
bin/g pull -r && ./autogen.sh --with-git --disable-kde --disable-kde4 &&
./download && make
)
Julien.
More information about the LibreOffice
mailing list