Your best bet is to edit Makefile and search for the string  
"CCFLAGS".  Add " -fPIC" at the end of the line.
You will have to do this in your FFTW compilation directory, because  
it is libfftw.a that is not being compiled correctly.

Best,
Craig



On Jan 13, 2009, at 11:09 AM, [email protected] wrote:

> Hi,
>
> I first install the FFTW package, which seems ok. Then I get the  
> following
> error message when installing PDL (in the FFTW section). What I  
> wanted to
> do was to recompile using fPIC as a flag for the gcc command (I have  
> seen
> this solution elsewhere) - but don't know how to do this?
>
>
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
> make[2]: Leaving directory `/mnt/cluster/home/maan/Desktop/PDL-2.4.4/ 
> Lib/GSL'
> make[2]: Entering directory
> `/mnt/cluster/home/maan/Desktop/PDL-2.4.4/Lib/FFTW'
> make[2]: Warning: File `Makefile' has modification time 31 s in the  
> future
> /usr/bin/perl -I/mnt/cluster/home/maan/Desktop/PDL-2.4.4/blib/lib
> -I/mnt/cluster/home/maan/Desktop/PDL-2.4.4/blib/arch "-MPDL::PP
> qw/PDL::FFTW PDL::FFTW FFTW/" fftw.pd
> Skip ../../blib/lib/PDL/FFTW.pm (unchanged)
> /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap
> /mnt/cluster/home/maan/Desktop/PDL-2.4.4/Basic/Core/typemap.pdl   
> FFTW.xs >
> FFTW.xsc && mv FFTW.xsc FFTW.c
> gcc -c  -I/mnt/cluster/home/maan/Desktop/PDL-2.4.4/Basic/Core
> -I/usr/include/ -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic   -DVERSION=\"2.4.4\" -DXS_VERSION=\"2.4.4\" -fPIC
> "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   FFTW.c
> FFTW.xs: In function ‘pdl_Cmul_redodims’:
> FFTW.xs:38: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmul_copy’:
> FFTW.xs:177: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmul_readdata’:
> FFTW.xs:210: warning: statement with no effect
> FFTW.xs:219: warning: unused variable ‘c_physdatap’
> FFTW.xs:216: warning: unused variable ‘b_physdatap’
> FFTW.xs:213: warning: unused variable ‘a_physdatap’
> FFTW.xs:279: warning: unused variable ‘c_physdatap’
> FFTW.xs:276: warning: unused variable ‘b_physdatap’
> FFTW.xs:273: warning: unused variable ‘a_physdatap’
> FFTW.xs:339: warning: unused variable ‘c_physdatap’
> FFTW.xs:336: warning: unused variable ‘b_physdatap’
> FFTW.xs:333: warning: unused variable ‘a_physdatap’
> FFTW.xs:399: warning: unused variable ‘c_physdatap’
> FFTW.xs:396: warning: unused variable ‘b_physdatap’
> FFTW.xs:393: warning: unused variable ‘a_physdatap’
> FFTW.xs:459: warning: unused variable ‘c_physdatap’
> FFTW.xs:456: warning: unused variable ‘b_physdatap’
> FFTW.xs:453: warning: unused variable ‘a_physdatap’
> FFTW.xs:519: warning: unused variable ‘c_physdatap’
> FFTW.xs:516: warning: unused variable ‘b_physdatap’
> FFTW.xs:513: warning: unused variable ‘a_physdatap’
> FFTW.xs:579: warning: unused variable ‘c_physdatap’
> FFTW.xs:576: warning: unused variable ‘b_physdatap’
> FFTW.xs:573: warning: unused variable ‘a_physdatap’
> FFTW.xs:204: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmul_free’:
> FFTW.xs:641: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cscale_redodims’:
> FFTW.xs:677: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cscale_copy’:
> FFTW.xs:804: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cscale_readdata’:
> FFTW.xs:837: warning: statement with no effect
> FFTW.xs:846: warning: unused variable ‘c_physdatap’
> FFTW.xs:843: warning: unused variable ‘b_physdatap’
> FFTW.xs:840: warning: unused variable ‘a_physdatap’
> FFTW.xs:905: warning: unused variable ‘c_physdatap’
> FFTW.xs:902: warning: unused variable ‘b_physdatap’
> FFTW.xs:899: warning: unused variable ‘a_physdatap’
> FFTW.xs:964: warning: unused variable ‘c_physdatap’
> FFTW.xs:961: warning: unused variable ‘b_physdatap’
> FFTW.xs:958: warning: unused variable ‘a_physdatap’
> FFTW.xs:1023: warning: unused variable ‘c_physdatap’
> FFTW.xs:1020: warning: unused variable ‘b_physdatap’
> FFTW.xs:1017: warning: unused variable ‘a_physdatap’
> FFTW.xs:1082: warning: unused variable ‘c_physdatap’
> FFTW.xs:1079: warning: unused variable ‘b_physdatap’
> FFTW.xs:1076: warning: unused variable ‘a_physdatap’
> FFTW.xs:1141: warning: unused variable ‘c_physdatap’
> FFTW.xs:1138: warning: unused variable ‘b_physdatap’
> FFTW.xs:1135: warning: unused variable ‘a_physdatap’
> FFTW.xs:1200: warning: unused variable ‘c_physdatap’
> FFTW.xs:1197: warning: unused variable ‘b_physdatap’
> FFTW.xs:1194: warning: unused variable ‘a_physdatap’
> FFTW.xs:831: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cscale_free’:
> FFTW.xs:1261: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cdiv_redodims’:
> FFTW.xs:1297: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cdiv_copy’:
> FFTW.xs:1436: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cdiv_readdata’:
> FFTW.xs:1469: warning: statement with no effect
> FFTW.xs:1478: warning: unused variable ‘c_physdatap’
> FFTW.xs:1475: warning: unused variable ‘b_physdatap’
> FFTW.xs:1472: warning: unused variable ‘a_physdatap’
> FFTW.xs:1542: warning: unused variable ‘c_physdatap’
> FFTW.xs:1539: warning: unused variable ‘b_physdatap’
> FFTW.xs:1536: warning: unused variable ‘a_physdatap’
> FFTW.xs:1606: warning: unused variable ‘c_physdatap’
> FFTW.xs:1603: warning: unused variable ‘b_physdatap’
> FFTW.xs:1600: warning: unused variable ‘a_physdatap’
> FFTW.xs:1670: warning: unused variable ‘c_physdatap’
> FFTW.xs:1667: warning: unused variable ‘b_physdatap’
> FFTW.xs:1664: warning: unused variable ‘a_physdatap’
> FFTW.xs:1734: warning: unused variable ‘c_physdatap’
> FFTW.xs:1731: warning: unused variable ‘b_physdatap’
> FFTW.xs:1728: warning: unused variable ‘a_physdatap’
> FFTW.xs:1798: warning: unused variable ‘c_physdatap’
> FFTW.xs:1795: warning: unused variable ‘b_physdatap’
> FFTW.xs:1792: warning: unused variable ‘a_physdatap’
> FFTW.xs:1862: warning: unused variable ‘c_physdatap’
> FFTW.xs:1859: warning: unused variable ‘b_physdatap’
> FFTW.xs:1856: warning: unused variable ‘a_physdatap’
> FFTW.xs:1463: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cdiv_free’:
> FFTW.xs:1928: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbmul_redodims’:
> FFTW.xs:1964: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbmul_copy’:
> FFTW.xs:2069: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbmul_readdata’:
> FFTW.xs:2102: warning: statement with no effect
> FFTW.xs:2108: warning: unused variable ‘b_physdatap’
> FFTW.xs:2105: warning: unused variable ‘a_physdatap’
> FFTW.xs:2161: warning: unused variable ‘b_physdatap’
> FFTW.xs:2158: warning: unused variable ‘a_physdatap’
> FFTW.xs:2214: warning: unused variable ‘b_physdatap’
> FFTW.xs:2211: warning: unused variable ‘a_physdatap’
> FFTW.xs:2267: warning: unused variable ‘b_physdatap’
> FFTW.xs:2264: warning: unused variable ‘a_physdatap’
> FFTW.xs:2320: warning: unused variable ‘b_physdatap’
> FFTW.xs:2317: warning: unused variable ‘a_physdatap’
> FFTW.xs:2373: warning: unused variable ‘b_physdatap’
> FFTW.xs:2370: warning: unused variable ‘a_physdatap’
> FFTW.xs:2426: warning: unused variable ‘b_physdatap’
> FFTW.xs:2423: warning: unused variable ‘a_physdatap’
> FFTW.xs:2096: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbmul_free’:
> FFTW.xs:2484: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbscale_redodims’:
> FFTW.xs:2520: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbscale_copy’:
> FFTW.xs:2613: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbscale_readdata’:
> FFTW.xs:2646: warning: statement with no effect
> FFTW.xs:2657: warning: unused variable ‘divi’
> FFTW.xs:2657: warning: unused variable ‘tmp’
> FFTW.xs:2657: warning: unused variable ‘tmp1’
> FFTW.xs:2652: warning: unused variable ‘b_physdatap’
> FFTW.xs:2649: warning: unused variable ‘a_physdatap’
> FFTW.xs:2707: warning: unused variable ‘divi’
> FFTW.xs:2707: warning: unused variable ‘tmp’
> FFTW.xs:2707: warning: unused variable ‘tmp1’
> FFTW.xs:2702: warning: unused variable ‘b_physdatap’
> FFTW.xs:2699: warning: unused variable ‘a_physdatap’
> FFTW.xs:2757: warning: unused variable ‘divi’
> FFTW.xs:2757: warning: unused variable ‘tmp’
> FFTW.xs:2757: warning: unused variable ‘tmp1’
> FFTW.xs:2752: warning: unused variable ‘b_physdatap’
> FFTW.xs:2749: warning: unused variable ‘a_physdatap’
> FFTW.xs:2807: warning: unused variable ‘divi’
> FFTW.xs:2807: warning: unused variable ‘tmp’
> FFTW.xs:2807: warning: unused variable ‘tmp1’
> FFTW.xs:2802: warning: unused variable ‘b_physdatap’
> FFTW.xs:2799: warning: unused variable ‘a_physdatap’
> FFTW.xs:2857: warning: unused variable ‘divi’
> FFTW.xs:2857: warning: unused variable ‘tmp’
> FFTW.xs:2857: warning: unused variable ‘tmp1’
> FFTW.xs:2852: warning: unused variable ‘b_physdatap’
> FFTW.xs:2849: warning: unused variable ‘a_physdatap’
> FFTW.xs:2907: warning: unused variable ‘divi’
> FFTW.xs:2907: warning: unused variable ‘tmp’
> FFTW.xs:2907: warning: unused variable ‘tmp1’
> FFTW.xs:2902: warning: unused variable ‘b_physdatap’
> FFTW.xs:2899: warning: unused variable ‘a_physdatap’
> FFTW.xs:2957: warning: unused variable ‘divi’
> FFTW.xs:2957: warning: unused variable ‘tmp’
> FFTW.xs:2957: warning: unused variable ‘tmp1’
> FFTW.xs:2952: warning: unused variable ‘b_physdatap’
> FFTW.xs:2949: warning: unused variable ‘a_physdatap’
> FFTW.xs:2640: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbscale_free’:
> FFTW.xs:3007: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cconj_redodims’:
> FFTW.xs:3043: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cconj_copy’:
> FFTW.xs:3162: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cconj_readdata’:
> FFTW.xs:3195: warning: statement with no effect
> FFTW.xs:3201: warning: unused variable ‘c_physdatap’
> FFTW.xs:3198: warning: unused variable ‘a_physdatap’
> FFTW.xs:3250: warning: unused variable ‘c_physdatap’
> FFTW.xs:3247: warning: unused variable ‘a_physdatap’
> FFTW.xs:3299: warning: unused variable ‘c_physdatap’
> FFTW.xs:3296: warning: unused variable ‘a_physdatap’
> FFTW.xs:3348: warning: unused variable ‘c_physdatap’
> FFTW.xs:3345: warning: unused variable ‘a_physdatap’
> FFTW.xs:3397: warning: unused variable ‘c_physdatap’
> FFTW.xs:3394: warning: unused variable ‘a_physdatap’
> FFTW.xs:3446: warning: unused variable ‘c_physdatap’
> FFTW.xs:3443: warning: unused variable ‘a_physdatap’
> FFTW.xs:3495: warning: unused variable ‘c_physdatap’
> FFTW.xs:3492: warning: unused variable ‘a_physdatap’
> FFTW.xs:3189: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cconj_free’:
> FFTW.xs:3549: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbconj_redodims’:
> FFTW.xs:3585: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbconj_copy’:
> FFTW.xs:3670: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbconj_readdata’:
> FFTW.xs:3703: warning: statement with no effect
> FFTW.xs:3706: warning: unused variable ‘a_physdatap’
> FFTW.xs:3743: warning: unused variable ‘a_physdatap’
> FFTW.xs:3780: warning: unused variable ‘a_physdatap’
> FFTW.xs:3817: warning: unused variable ‘a_physdatap’
> FFTW.xs:3854: warning: unused variable ‘a_physdatap’
> FFTW.xs:3891: warning: unused variable ‘a_physdatap’
> FFTW.xs:3928: warning: unused variable ‘a_physdatap’
> FFTW.xs:3697: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbconj_free’:
> FFTW.xs:3973: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cexp_redodims’:
> FFTW.xs:4009: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cexp_copy’:
> FFTW.xs:4128: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cexp_readdata’:
> FFTW.xs:4161: warning: statement with no effect
> FFTW.xs:4167: warning: unused variable ‘c_physdatap’
> FFTW.xs:4164: warning: unused variable ‘a_physdatap’
> FFTW.xs:4216: warning: unused variable ‘c_physdatap’
> FFTW.xs:4213: warning: unused variable ‘a_physdatap’
> FFTW.xs:4265: warning: unused variable ‘c_physdatap’
> FFTW.xs:4262: warning: unused variable ‘a_physdatap’
> FFTW.xs:4314: warning: unused variable ‘c_physdatap’
> FFTW.xs:4311: warning: unused variable ‘a_physdatap’
> FFTW.xs:4363: warning: unused variable ‘c_physdatap’
> FFTW.xs:4360: warning: unused variable ‘a_physdatap’
> FFTW.xs:4412: warning: unused variable ‘c_physdatap’
> FFTW.xs:4409: warning: unused variable ‘a_physdatap’
> FFTW.xs:4461: warning: unused variable ‘c_physdatap’
> FFTW.xs:4458: warning: unused variable ‘a_physdatap’
> FFTW.xs:4155: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cexp_free’:
> FFTW.xs:4515: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbexp_redodims’:
> FFTW.xs:4551: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbexp_copy’:
> FFTW.xs:4636: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbexp_readdata’:
> FFTW.xs:4669: warning: statement with no effect
> FFTW.xs:4672: warning: unused variable ‘a_physdatap’
> FFTW.xs:4713: warning: unused variable ‘a_physdatap’
> FFTW.xs:4754: warning: unused variable ‘a_physdatap’
> FFTW.xs:4795: warning: unused variable ‘a_physdatap’
> FFTW.xs:4836: warning: unused variable ‘a_physdatap’
> FFTW.xs:4877: warning: unused variable ‘a_physdatap’
> FFTW.xs:4918: warning: unused variable ‘a_physdatap’
> FFTW.xs:4663: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cbexp_free’:
> FFTW.xs:4967: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod_redodims’:
> FFTW.xs:5003: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod_copy’:
> FFTW.xs:5110: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod_readdata’:
> FFTW.xs:5143: warning: statement with no effect
> FFTW.xs:5149: warning: unused variable ‘c_physdatap’
> FFTW.xs:5146: warning: unused variable ‘a_physdatap’
> FFTW.xs:5196: warning: unused variable ‘c_physdatap’
> FFTW.xs:5193: warning: unused variable ‘a_physdatap’
> FFTW.xs:5243: warning: unused variable ‘c_physdatap’
> FFTW.xs:5240: warning: unused variable ‘a_physdatap’
> FFTW.xs:5290: warning: unused variable ‘c_physdatap’
> FFTW.xs:5287: warning: unused variable ‘a_physdatap’
> FFTW.xs:5337: warning: unused variable ‘c_physdatap’
> FFTW.xs:5334: warning: unused variable ‘a_physdatap’
> FFTW.xs:5384: warning: unused variable ‘c_physdatap’
> FFTW.xs:5381: warning: unused variable ‘a_physdatap’
> FFTW.xs:5431: warning: unused variable ‘c_physdatap’
> FFTW.xs:5428: warning: unused variable ‘a_physdatap’
> FFTW.xs:5137: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod_free’:
> FFTW.xs:5483: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Carg_redodims’:
> FFTW.xs:5519: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Carg_copy’:
> FFTW.xs:5626: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Carg_readdata’:
> FFTW.xs:5659: warning: statement with no effect
> FFTW.xs:5665: warning: unused variable ‘c_physdatap’
> FFTW.xs:5662: warning: unused variable ‘a_physdatap’
> FFTW.xs:5712: warning: unused variable ‘c_physdatap’
> FFTW.xs:5709: warning: unused variable ‘a_physdatap’
> FFTW.xs:5759: warning: unused variable ‘c_physdatap’
> FFTW.xs:5756: warning: unused variable ‘a_physdatap’
> FFTW.xs:5806: warning: unused variable ‘c_physdatap’
> FFTW.xs:5803: warning: unused variable ‘a_physdatap’
> FFTW.xs:5853: warning: unused variable ‘c_physdatap’
> FFTW.xs:5850: warning: unused variable ‘a_physdatap’
> FFTW.xs:5900: warning: unused variable ‘c_physdatap’
> FFTW.xs:5897: warning: unused variable ‘a_physdatap’
> FFTW.xs:5947: warning: unused variable ‘c_physdatap’
> FFTW.xs:5944: warning: unused variable ‘a_physdatap’
> FFTW.xs:5653: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Carg_free’:
> FFTW.xs:5999: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod2_redodims’:
> FFTW.xs:6035: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod2_copy’:
> FFTW.xs:6142: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod2_readdata’:
> FFTW.xs:6175: warning: statement with no effect
> FFTW.xs:6181: warning: unused variable ‘c_physdatap’
> FFTW.xs:6178: warning: unused variable ‘a_physdatap’
> FFTW.xs:6228: warning: unused variable ‘c_physdatap’
> FFTW.xs:6225: warning: unused variable ‘a_physdatap’
> FFTW.xs:6275: warning: unused variable ‘c_physdatap’
> FFTW.xs:6272: warning: unused variable ‘a_physdatap’
> FFTW.xs:6322: warning: unused variable ‘c_physdatap’
> FFTW.xs:6319: warning: unused variable ‘a_physdatap’
> FFTW.xs:6369: warning: unused variable ‘c_physdatap’
> FFTW.xs:6366: warning: unused variable ‘a_physdatap’
> FFTW.xs:6416: warning: unused variable ‘c_physdatap’
> FFTW.xs:6413: warning: unused variable ‘a_physdatap’
> FFTW.xs:6463: warning: unused variable ‘c_physdatap’
> FFTW.xs:6460: warning: unused variable ‘a_physdatap’
> FFTW.xs:6169: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘pdl_Cmod2_free’:
> FFTW.xs:6515: warning: unused variable ‘__dim’
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_rfftwnd_create_plan’:
> FFTW.xs:7720: warning: cast from pointer to integer of different size
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_rfftwnd_one_real_to_complex’:
> FFTW.xs:7742: warning: cast to pointer from integer of different size
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_rfftwnd_one_complex_to_real’:
> FFTW.xs:7760: warning: cast to pointer from integer of different size
> FFTW.xs: In function  
> ‘XS_PDL__FFTW_PDL_inplace_rfftwnd_one_real_to_complex’:
> FFTW.xs:7780: warning: cast to pointer from integer of different size
> FFTW.xs: In function  
> ‘XS_PDL__FFTW_PDL_inplace_rfftwnd_one_complex_to_real’:
> FFTW.xs:7802: warning: cast to pointer from integer of different size
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_fftwnd_create_plan’:
> FFTW.xs:7854: warning: cast from pointer to integer of different size
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_fftwnd_one’:
> FFTW.xs:7876: warning: cast to pointer from integer of different size
> FFTW.xs: In function ‘XS_PDL__FFTW_PDL_inplace_fftwnd_one’:
> FFTW.xs:7894: warning: cast to pointer from integer of different size
> FFTW.c: In function ‘XS_PDL_Cmod2’:
> FFTW.xs:7588: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Carg’:
> FFTW.xs:7490: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cmod’:
> FFTW.xs:7392: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cexp’:
> FFTW.xs:7225: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cconj’:
> FFTW.xs:7058: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cdiv’:
> FFTW.xs:6795: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cscale’:
> FFTW.xs:6688: warning: ‘c_SV’ may be used uninitialized in this  
> function
> FFTW.c: In function ‘XS_PDL_Cmul’:
> FFTW.xs:6581: warning: ‘c_SV’ may be used uninitialized in this  
> function
> Running Mkbootstrap for PDL::FFTW ()
> chmod 644 FFTW.bs
> rm -f ../../blib/arch/auto/PDL/FFTW/FFTW.so
> gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  
> FFTW.o  -o
> ../../blib/arch/auto/PDL/FFTW/FFTW.so   \
>           -lm -L/lib -L/usr/lib -L/usr/local/lib -lfftw - 
> lrfftw        \
>
> /usr/bin/ld: /usr/local/lib/libfftw.a(fftwnd.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/libfftw.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [../../blib/arch/auto/PDL/FFTW/FFTW.so] Error 1
> make[2]: Leaving directory
> `/mnt/cluster/home/maan/Desktop/PDL-2.4.4/Lib/FFTW'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/mnt/cluster/home/maan/Desktop/PDL-2.4.4/ 
> Lib'
> make: *** [subdirs] Error 2
>
>
> Best regards /
>
> Magnus
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to