#25 FFT build problem

closed
core (120)
5
2001-11-10
2001-10-15
Karl Glazebrook
No

I got this during a Linux rh7.2 build:

gcc -c -I../../Basic/Core -fno-strict-aliasing -O2
-march=i386 -mcpu=i686 -DVERSION=\"2.2.1\"
-DXS_VERSION=\"2.2.1\" -fPIC
-I/usr/lib/perl5/5.6.0/i386-linux/CORE -DFFT_FLOAT
fftn.c
fftn.c:309:70: fftn.c__: No such file or directory
fftn.c:333:70: fftn.c__: Success

This seems to be a problem with the __FILE__ define

I worked around this with

gcc -c -I../../Basic/Core -fno-strict-aliasing -O2
-march=i386 -mcpu=i686 -DVERSION=\"2.2.1\"
-DXS_VERSION=\"2.2.1\" -fPIC
-I/usr/lib/perl5/5.6.0/i386-linux/CORE -DFFT_FLOAT
-D__FILE__=\"fftn.c\" fftn.c
<command line>: warning: "__FILE__" redefined

But I don't understand - our system has gcc 3.0

Karl

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=1796

    This problem appears to be solved by gcc 3.0.1

    So I conclude this is not a PDL issue at all but an\ interrim GCC bug

    Karl