[XviD-devel] ia64 build brokenness

Duraid Madina duraid at octopus.com.au
Mon Aug 11 09:43:46 CEST 2003


On ia64 linux xvid builds without complaining, but trying to use 
libxvidcore (e.g. in my case, I'm trying to build mplayer) shows up the 
following:

As mplayer tries to test libxvidcore, it gets:

gcc     /tmp/mplayer-conf-914-12760.c -o /tmp/mplayer-conf-13948-12760.o 
/usr/l
/usr/local/lib/libxvidcore.a(xvid.o)(.text+0xb72): In function 
`xvid_init_init'
: undefined reference to `idct_ia64_init'
/usr/local/lib/libxvidcore.a(xvid.o)(.text+0xb82): In function 
`xvid_init_init'
: undefined reference to `idct_ia64'
/usr/local/lib/libxvidcore.a(decoder.o)(.text+0x15f10): In function 
`decoder_de
: undefined reference to `simple_idct_mmx'
/usr/local/lib/libxvidcore.a(decoder.o)(.text+0x16a01): In function 
`decoder_de
: undefined reference to `idct_mmx'
collect2: ld returned 1 exit status

	The references to mmx functions are worrying, and only show up in 
today's CVS snap of xvid. libxvidcore.so.2.1 gives only:

/usr/local/lib/libxvidcore.so.2.1: undefined reference to `idct_ia64'
/usr/local/lib/libxvidcore.so.2.1: undefined reference to `idct_ia64_init'
collect2: ld returned 1 exit status

	It's cool that you wrote ia64 assembly, just don't forget to assemble 
it! :)

	Duraid

P.S. Sorry I didn't fix this, but I hate autoconf with a passion :( A 
quick hack to 'Makefile' to include 
../../src/dct/ia64_asm/idct_ia64_gcc.o (append this to generic/Makefile 
line 37) at link time worked for me (DCT_IA64_OBJECTS seems to be 
missing some parts, it does include fdct_ia64.o though), at least for 
0.9.2. CVS still refers to MMX stuff, i'm not even going there... ;)





More information about the XviD-devel mailing list