Jump to content

compile problem


Recommended Posts

I installed fftw3 and tried to compile ocean toolkit rc3

I installed the fftw3 as:

./configure --enable-float

so it has the fftw3f, but when I compile, it said:

Linking with 'libblitz'

Linking with 'libfftw3f'

Making SOP_Ocean.o and /home/kosmo/houdini9.1/dso/SOP_Ocean.so from SOP_Ocean.C

/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libfftw3f.a(execute.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

/usr/local/lib/libfftw3f.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

Then I modified the fftw3f to fftw3 in the compile.sh, it worked fine, but when I connect the grid into ocean sop, it shut down houdini and said:

~/houdini9.1/9.1.260/dso/SOP_Ocean> /opt/hfs9.1.260/bin/houdini-bin: symbol lookup error: /home/kosmo/houdini9.1/dso/SOP_Ocean.so: undefined symbol: fftwf_plan_dft_c2r_2d

I use opensuse 10.3 64bit

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...