[PD-dev] Re: [PD] Devel_0_37 Compile: undefined reference to `copyvec'

Ian Smith-Heisters heisters at 0x09.com
Tue Oct 19 23:02:10 CEST 2004


Tim Blechmann wrote:

>>Still yields the same error. I even just ran yet another cvs update,
>>but still the same problem.
>>    
>>
>cvs update or cvs update -d?
>  
>
cvs update -d

>setvec_simd is defined in m_simd_sse_vc.c (sse / msvc), m_simd_sse_gcc.c
>(sse / gcc), m_simd_ve_gcc.c (altivec / gcc) and m_simd.c (c) ...
>  
>
I have all these files. The *.c of each was updated yesterday by the 
file's timestamp, the header files look to have last been updated on the 
14th of this month, except for m_simd.h, which was modified on the 9th.

>can you please check, if -DDONTUSESIMD has been added to your CFLAGS?
>cheers .... t
>  
>
Um, not quite sure about what CFLAGS are, but I took a guess. I looked 
in config.log and the makefile created after a ./configure 
--prefix=$HOME/pd --enable-jack --enable-fftw --enable-threadedsf and in 
both files it said:

MORECFLAGS=' -DJACK_XRUN -DDONTUSESIMD -DDONTUSESIMD -DTHREADED_SF 
-DGARRAY_THREAD_LOCK -D_GNU_SOURCE -DPA_USE_OSS -DPA_LITTLE_ENDIAN     
     -DUSEAPI_OSS         -I../portaudio/pa_common         
-I../portaudio/pablio -I../portaudio/portmidi-macosx     
-fno-strict-aliasing'

I thought maybe two -DDONTUSESIMD was too much, so I removed one  from 
the makefile (a shot in the dark) and I still had the same problem.

Here's the output of cat /proc/cpuinfo for what it may be worth. It is 
an Athlon XP w/ SSE.

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2100+
stepping        : 1
cpu MHz         : 1725.840
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3424.25

I love the smell of compiler errors in the morning.
-Ian





More information about the Pd-dev mailing list