help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Trouble building 3.2.2 (pthread)
From
:
George Bohannon
Subject
:
Trouble building 3.2.2 (pthread)
Date
:
Mon, 07 Sep 2009 19:52:58 -0400
I'm trying to build 3.2.2 on a Red Hat EL4 system. I installed gcc 4.3.4 specifically for this purpose. I ran configure successfully as follows:
./configure F77=gfortran
I then ran 'make' and got the following error after building for a while. Does anyone know how to satisfy this undefined reference to 'pthread' items?
gcc -c -I/usr/include/pcre -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W -Wshadow -W
format -g -O2 main.c -o main.o
g++ -I/usr/include/pcre -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W -Wshadow -Wold
-style-cast -Wformat -g -O2 -rdynamic \
-L.. -fPIC -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/usr/local/lib/octave-3.2.2 \
-loctinterp -loctave -lcruft \
\
\
\
-L/usr/X11R6/lib64 -lX11 -lreadline -lncurses -ldl -lblas -lz -lm -L./../lib64 -L/usr/local/lib/gcc/x86_64-unknown
-linux-gnu/4.3.4 -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../
lib64 -L. -L/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../.. -lz -lgfortranbegin -lgfortran -lm
../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_destroy'
../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_settype'
../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_init'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/usr/local/octave-3.2.2/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/local/octave-3.2.2'
make: *** [all] Error 2
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Trouble building 3.2.2 (pthread)
,
George Bohannon
<=
Trouble building 3.2.2 (pthread)
,
George Bohannon
,
2009/09/08
R: Trouble building 3.2.2 (pthread)
,
Riccardo Corradini
,
2009/09/09
Trouble building 3.2.2 (pthread)
,
George Bohannon
,
2009/09/09
Trouble building 3.2.2 (pthread)
,
George Bohannon
,
2009/09/09
Prev by Date:
Re: how to change scale display in imagesc
Next by Date:
Trouble building 3.2.2 (pthread)
Previous by thread:
RE: bandpass filter for 2D Data
Next by thread:
Trouble building 3.2.2 (pthread)
Index(es):
Date
Thread