Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - fftw shared lib: (6 Items)
   
fftw shared lib  
Hi,

I'm a new QNX user, pleased by the clean and simplicity of this plateform.

I try to build the library FFTW from scratch (3.2.1 dwld from fftw.org), shortly because I need to play with options/
configurations to find the best deal for my  
application... and well evrything is fine while I need a static lib .a, but I can't obtain ashared one (.so).

Yes I use configure --enable-shared <options> ... and it doesn't work. The configure script is quiet difficult for me, 
and the libtool too ...

I saw libfftw.so somewhere in this forum, so perhaps someone could tell me how to get it from the sources.

regards,

Michel PACILLI
Re: fftw shared lib  
find in configure line:
nto-qnx*)
  lt_cv_deplibs_check_method=unknown
  ;;
and replace to
nto-qnx*)
  lt_cv_deplibs_check_method=pass_all
  ;;
I`m trying compiling  fftw-3.2alpha3 and library is:
# ls -l .libs
total 8103
drwxrwsr-x  2 root      100            4096 Jun 01 13:09 .
drwxrwsrwx 19 1004      100            4096 Jun 01 13:09 ..
-rw-rw-r--  1 root      100         2572378 Jun 01 13:09 libfftw3.a
lrwxrwxrwx  1 root      100              14 Jun 01 13:09 libfftw3.la -> ../libfftw3.la
-rw-rw-r--  1 root      100             803 Jun 01 13:09 libfftw3.lai
lrwxrwxrwx  1 root      100              17 Jun 01 13:09 libfftw3.so -> libfftw3.so.3.2.1
lrwxrwxrwx  1 root      100              17 Jun 01 13:09 libfftw3.so.3 -> libfftw3.so.3.2.1
-rwxrwxr-x  1 root      100         1564962 Jun 01 13:09 libfftw3.so.3.2.1
Re: fftw shared lib  
Thank you all for your answers !

I'll follow your advices tomorrow, in front of my station !
thank you again, and I report you as soon as possible :)

Michel Pacilli
Re: fftw shared lib  
I haven't played with libtool for years, but the support of shared libs for
a particular OS is
detected somewhere in there.  You may have to hack it to say "QNX can do
shared libs"

michel pacilli wrote:
> Hi,
> 
> I'm a new QNX user, pleased by the clean and simplicity of this plateform.
> 
> I try to build the library FFTW from scratch (3.2.1 dwld from fftw.org),
shortly because I need to play with options/configurations to find the best
deal for my  
> application... and well evrything is fine while I need a static lib .a,
but I can't obtain ashared one (.so).
> 
> Yes I use configure --enable-shared <options> ... and it doesn't work. The
configure script is quiet difficult for me, and the libtool too ...
> 
> I saw libfftw.so somewhere in this forum, so perhaps someone could tell me
how to get it from the sources.
> 
> regards,
> 
> Michel PACILLI
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post8585
> 

-- 
cburgess@qnx.com
Re: fftw shared lib  
We've done some of that in pkgsrc but it doesn't sound
like he's using pkgsrc.

-seanb

On Mon, Jun 02, 2008 at 09:54:00AM -0400, Colin Burgess wrote:
> I haven't played with libtool for years, but the support of shared libs for
> a particular OS is
> detected somewhere in there.  You may have to hack it to say "QNX can do
> shared libs"
> 
> michel pacilli wrote:
> > Hi,
> > 
> > I'm a new QNX user, pleased by the clean and simplicity of this plateform.
> > 
> > I try to build the library FFTW from scratch (3.2.1 dwld from fftw.org),
> shortly because I need to play with options/configurations to find the best
> deal for my  
> > application... and well evrything is fine while I need a static lib .a,
> but I can't obtain ashared one (.so).
> > 
> > Yes I use configure --enable-shared <options> ... and it doesn't work. The
> configure script is quiet difficult for me, and the libtool too ...
> > 
> > I saw libfftw.so somewhere in this forum, so perhaps someone could tell me
> how to get it from the sources.
> > 
> > regards,
> > 
> > Michel PACILLI
> > 
> > 
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post8585
> > 
> 
> -- 
> cburgess@qnx.com
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post8644
> 
Re: fftw shared lib  
OK ! Ca marche !

the trick in the configure script is ok :)

thanks again for your answer

I've found something that look strange with this lib ... if I plan a 13*512 ffts (ie 13 fft of 512 points) with 
plan_many with th FFTW_PATIENT option ... it crash ! for the others size i've tested and other option it works very well
 ...

strange ?!

Michel PACILLI