Front page | perl.perl5.porters |
Postings from March 2003
IRIX-6.2 and threads
Thread Next
From:
Abe Timmerman
Date:
March 30, 2003 14:57
Subject:
IRIX-6.2 and threads
Message ID:
200303310057.40739.abe@ztreet.demon.nl
Hi all,
I can't remember if I was ever successful in compiling perl with ithreads on
this IRIX-6.2 box, but when I try I get this. Is there a problem in the
hintsfile or don't I have the right (or enough) libraries installed?
[./Configure -des -Dusedevel -Dcc=cc -Duseithreads]
Any additional cc flags?
[-DPTHREAD_H_FIRST -32 -D_BSD_TYPES -D_BSD_TIME -Olimit 3100
-I/usr/local/include -DLANGUAGE_C]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[ -Wl,-woff,84 -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
23249:./try: rld: Error: unresolvable symbol in /usr/lib/libpthread.so:
__us_rsthread_pmq
23249:./try: rld: Fatal Error: this executable has unresolvable symbols
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); exit(0); }
I used the command:
cc -o try -O -DPTHREAD_H_FIRST -32 -D_BSD_TYPES -D_BSD_TIME -Olimit
3100 -I/usr/local/include -DLANGUAGE_C -Wl,-woff,84 -L/usr/local/lib try.c
-lm -lpthread
./try
and I got the following output:
ld: WARNING 85: definition of __libc_islockmisc in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_islockdir in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_islockopen in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_islocklocale in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_islockfile in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of system in /usr/lib/libpthread.so preempts that
definition in /usr/lib/libc.so.
ld: WARNING 85: definition of abort in /usr/lib/libpthread.so preempts that
definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __pthread_sysconf in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockmisc in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockmisc in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockdir in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockdir in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockopen in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockopen in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_locklocale in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlocklocale in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockfile in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockfile in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockmalloc in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockmalloc in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_lockrand in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __libc_unlockrand in /usr/lib/libpthread.so
preempts that definition in /usr/lib/libc.so.
ld: WARNING 85: definition of raise in /usr/lib/libpthread.so preempts that
definition in /usr/lib/libc.so.
ld: WARNING 85: definition of exit in /usr/lib/libpthread.so preempts that
definition in /usr/lib/libc.so.
ld: WARNING 85: definition of __fislockfile in /usr/lib/libpthread.so preempts
that definition in /usr/lib/libc.so.
The program compiled OK, but exited with status 1.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
Good luck,
Abe
--
"Jarkko Hietaniemi" is actually the code name for a whole team of Finnish
super-programmers, capable of working continuously 25 hours a day without
tripping each other up, and running solely only on intravenous caffeine.
-- Nicholas Clark on p5p @ 2002-03-04
Thread Next
-
IRIX-6.2 and threads
by Abe Timmerman