Hi all,
I'm trying to compile the latest cvs devel_0_37 and keep getting the following error:
g_io.o(.text+0x78b): In function vinlet_perfsimd': : undefined reference to
copyvec'
collect2: ld returned 1 exit status
make: *** [../bin/pd] Error 1
The output of ./configure --prefix=$HOME/pd --enable-alsa --enable-jack --enable-fftw --enable-threadedsf follows. Looks a-ok to me. I tried compiling without --enable-fftw and --enable-threadedsf and I still got the same problem. Let me know if there's any more information I can give you to help sort this out.
Thanks, Ian
checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for pthread_create in -lpthread... yes checking for shm_open in -lrt... yes checking for jack_set_error_function in -ljack... yes checking for jack_set_xrun_callback in -ljack... yes checking for fftwf_plan_dft_r2c_1d in -lfftw3f... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for XCreateWindow in -lX11... yes checking for main in -ltcl8.7... no checking for main in -ltcl8.6... no checking for main in -ltcl8.5... no checking for main in -ltcl8.4... yes checking for main in -ltk8.4... yes checking tcl.h usability... no checking tcl.h presence... no checking for tcl.h... no checking tcl8.4/tcl.h usability... yes checking tcl8.4/tcl.h presence... yes checking for tcl8.4/tcl.h... yes OPT_CFLAGS --------------- -O3 -funroll-loops -fomit-frame-pointer configure: creating ./config.status config.status: creating makefile
The output of ./configure --prefix=$HOME/pd --enable-alsa --enable-jack --enable-fftw --enable-threadedsf follows. Looks a-ok to me. I tried compiling without --enable-fftw and --enable-threadedsf and I still got the same problem. Let me know if there's any more information I can give you to help sort this out.
oops ... i forgot to remove a comment in m_pd.h ... should be fixed ...
cheers ... tim
Tim Blechmann wrote:
The output of ./configure --prefix=$HOME/pd --enable-alsa --enable-jack --enable-fftw --enable-threadedsf follows. Looks a-ok to me. I tried compiling without --enable-fftw and --enable-threadedsf and I still got the same problem. Let me know if there's any more information I can give you to help sort this out.
oops ... i forgot to remove a comment in m_pd.h ... should be fixed ...
cheers ... tim
That doesn't seem to have fixed it... :( I even removed the pd module and downloaded it from scratch in case it was a problem with cvs not updating correctly. I'm running kernel 2.6.8, with gcc 3.3.4.
-Ian
That doesn't seem to have fixed it... :( I even removed the pd module and downloaded it from scratch in case it was a problem with cvs not updating correctly. I'm running kernel 2.6.8, with gcc 3.3.4.
could you try to compile with --enable-optimize=(insert your processor) and --enable-simd ... also ... make sure that you check out the m_simd.c file ...
cheers ... tim
Tim Blechmann wrote:
That doesn't seem to have fixed it... :( I even removed the pd module and downloaded it from scratch in case it was a problem with cvs not updating correctly. I'm running kernel 2.6.8, with gcc 3.3.4.
could you try to compile with --enable-optimize=(insert your processor)
I have a k7, the only ones listed are p4, p3, g4, g5. Trying it with --enable-optimize=k7 yields an error of course:
m_simd_sse_gcc.c
m_simd_sse_gcc.c:690: warning: function declaration isn't a prototype
m_simd_sse_gcc.c: In function setvec_simd': m_simd_sse_gcc.c:40: error: impossible constraint in
asm'
make: *** [m_simd_sse_gcc.o] Error 1
and --enable-simd ... also ... make sure that you check out the m_simd.c file ...
I added --enable-simd and I still got the error. I made sure I have m_simd.c, I looked in it to see if there were any configurations and saw none. I'm still getting this error after issuing a make:
g_io.o(.text+0x78b): In function vinlet_perfsimd': : undefined reference to
copyvec'
collect2: ld returned 1 exit status
make: *** [../bin/pd] Error 1
After I updated there wasn't a ./configure script as usual. I ran autoconf without any args and that created a configure script. Perhaps there was an error there?
Thanks for your help -Ian
cheers ... tim
I have a k7, the only ones listed are p4, p3, g4, g5. Trying it with --enable-optimize=k7 yields an error of course:
k7 isn't implemented in the configure script ...
m_simd_sse_gcc.c m_simd_sse_gcc.c:690: warning: function declaration isn't a prototype m_simd_sse_gcc.c: In function
setvec_simd': m_simd_sse_gcc.c:40: error: impossible constraint in
asm' make: *** [m_simd_sse_gcc.o] Error 1
i'm not sure if the k7 supports sse ... if so, you'd have to add -march=athlon or something like that to the CFLAGS, otherwise the gcc assembler doesn't know of the existence of the xmm registers ... but if you run the configure script without any --enable-simd and --enable-optimize, i doubt there are any problems ...
After I updated there wasn't a ./configure script as usual. I ran autoconf without any args and that created a configure script. Perhaps
that's intended ...
cheers ... t
On Oct 18, 2004, at 3:04 PM, Tim Blechmann wrote:
i'm not sure if the k7 supports sse ...
Not all of the Athlons have SSE. The early ones do not, while the XP have some limited support for SSE (but not SSE2) as part of 3DNow! (the exclamation mark is the best part of that feature). If you use SSE2 then only the 64 bit AMD chips will run that, and from some of the tests I've seen they don't do a great job.
cgc
Tim Blechmann wrote:
I have a k7, the only ones listed are p4, p3, g4, g5. Trying it with --enable-optimize=k7 yields an error of course:
k7 isn't implemented in the configure script ...
m_simd_sse_gcc.c m_simd_sse_gcc.c:690: warning: function declaration isn't a prototype m_simd_sse_gcc.c: In function
setvec_simd': m_simd_sse_gcc.c:40: error: impossible constraint in
asm' make: *** [m_simd_sse_gcc.o] Error 1i'm not sure if the k7 supports sse ... if so, you'd have to add -march=athlon or something like that to the CFLAGS, otherwise the gcc assembler doesn't know of the existence of the xmm registers ... but if you run the configure script without any --enable-simd and --enable-optimize, i doubt there are any problems ...
Right, but that's where I started.
./configure --prefix=$HOME --enable-alsa --enable-jack --enable-threadedsf --enable-fftw
make
Still yields the same error. I even just ran yet another cvs update, but still the same problem.
Thanks for your help thus far. -Ian
After I updated there wasn't a ./configure script as usual. I ran autoconf without any args and that created a configure script. Perhaps
that's intended ...
AAAH! Change! I can't deal with change! :)
cheers ... t
On Mon, Oct 18, 2004 at 07:11:56PM -0700, Ian Smith-Heisters wrote:
Tim Blechmann wrote:
I have a k7, the only ones listed are p4, p3, g4, g5. Trying it with --enable-optimize=k7 yields an error of course:
k7 isn't implemented in the configure script ...
m_simd_sse_gcc.c m_simd_sse_gcc.c:690: warning: function declaration isn't a prototype m_simd_sse_gcc.c: In function
setvec_simd': m_simd_sse_gcc.c:40: error: impossible constraint in
asm' make: *** [m_simd_sse_gcc.o] Error 1i'm not sure if the k7 supports sse ... if so, you'd have to add -march=athlon or something like that to the CFLAGS, otherwise the gcc assembler doesn't know of the existence of the xmm registers ... but if you run the configure script without any --enable-simd and --enable-optimize, i doubt there are any problems ...
Right, but that's where I started.
./configure --prefix=$HOME --enable-alsa --enable-jack --enable-threadedsf --enable-fftw
make
Still yields the same error. I even just ran yet another cvs update, but still the same problem.
in order to get CVS compiling, i had to uncomment stuff in m_pd.h and also add some || (__x86_64__) stuff to m_simd.h and maybe m_simd_gcc.c... or so i thought, the Assembler started whining about stuff, even though a cat /proc/cpuinfo clearly mentioned sse2 and all the other stuff, i guess some of it isnt 64bit clean.. anyways what im getting at is if you have an athlon-XP, you have sse support, but a plain athlon doesnt. so perhaps a peek into the GCC docs to figure out if you can do (__k7__) or whatever (at the very least add a -march=athlon-xp)..and if so add your arch to the idfef the 2 files above and everything should get defined properly and compile..
Thanks for your help thus far. -Ian
After I updated there wasn't a ./configure script as usual. I ran autoconf without any args and that created a configure script. Perhaps
that's intended ...
AAAH! Change! I can't deal with change! :)
cheers ... t
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list