help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem building octave


From: Tatsuro MATSUOKA
Subject: Re: problem building octave
Date: Wed, 13 May 2009 09:11:28 +0900 (JST)

Hello

Do you use external libraries which use the ptheead libraries?

> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_destroy'
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_init'
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_settype'

Please show your configuration and which source(xxxxx.c or xxxxx.cc) causes the 
problem.

Regards

Tatsuro

--- Matt Funk  wrote:

> Hi,
> 
> I am trying to build octave from the development sources.
> However, the make process fails with the following:
> 
> ...
> 
> g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H 
> -mieee-fp -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.1.55 
> \
>         -loctinterp -loctave  -lcruft   \
>              \
>             \
>             \
>         -lX11  -lreadline  -lncurses -ldl -lz -lm  
> -L/usr/lib/gcc/i486-linux-gnu/4.3.3
> -L/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib -L/lib/../lib 
> -L/usr/lib/../lib
> -L/usr/lib/gcc/i486-linux-gnu/4.3.3/../../.. -lz -lgfortranbegin -lgfortran 
> -lm
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_destroy'
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_init'
> ../liboctave/liboctave.so: undefined reference to `pthread_mutexattr_settype'
> collect2: ld returned 1 exit status
> make[2]: *** [octave] Error 1
> make[2]: Leaving directory `/usr/local/src/octave/octave/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/usr/local/src/octave/octave'
> make: *** [all] Error 2
> 
> ...
> 
> Sorry if this is an obvious thing,
> 
> thanks
> matt
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]