help-octave
[Top][All Lists]
Advanced

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

Re: problem building octave


From: Matt Funk
Subject: Re: problem building octave
Date: Wed, 13 May 2009 13:59:26 -0600
User-agent: KMail/1.9.9

Hi,

i have been using:
1) ./configure, as well as
2) ./configure --without-hdf5 --without-framework-opengl
both of which give the same error.

The problem seems to be happening during the final link stage as far as i can 
tell. There are no external libraries that i link in. All i do is
1) check out the repository 
2) configure
3) make

thanks
matt


ps: attached is the config.log


On Tuesday 12 May 2009, you wrote:
> 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/


Attachment: config.log
Description: Text Data


reply via email to

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