[MPlayer-users] test2.c compiling problem

Roberto Nappi r_nappi at yahoo.it
Wed Jun 23 11:03:50 CEST 2004


Hi,
I'd like compling MPlayer-1.0pre3/mp3lib/test2.c with
its command at top of the file:

gcc test2.c -O2 -I.. -L. ../libvo/aclib.c -lMP3 -lm -o
test2

the compiler's answer is:

/tmp/ccb9i02l.o(.text+0x5a): In function `main':
: undefined reference to `gCpuCaps'
/tmp/ccb9i02l.o(.text+0x5f): In function `main':
: undefined reference to `GetCpuCaps'
./libMP3.a(sr1.o)(.text+0xc1a): In function
`MP3_Init':
: undefined reference to `gCpuCaps'
...
...
./libMP3.a(sr1.o)(.text+0x100f): In function
`MP3_PrintHeader':
: undefined reference to `mp_msg_c'
./libMP3.a(sr1.o)(.text+0x1070): In function
`MP3_PrintHeader':
: undefined reference to `mp_msg_c'
collect2: ld returned 1 exit status

How do I compile test2.c?

I'm using Red Hat Linux 9.0

Many thanks in advance for your support.
Regards. Rona. 


	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it




More information about the MPlayer-users mailing list