[vorbis] AIX + ogg123
dopp at acm.cs.umn.edu
dopp at acm.cs.umn.edu
Sun Dec 17 08:25:51 PST 2000
>
> Copying across getopt.c, getopt1.c, and getopt.h (and adding them to the
> makefiles/etc.) should be sufficient (but make sure you get all 3 files).
>
> This hasn't been done yet primarily because ogg123 isn't very portable
> anyway, so nobody has bothered.
>
> NAME_MAX should in fact be FILENAME_MAX (I thought these got changed. Maybe
> that was only in libao) - FILENAME_MAX is a standard thing from ANSI C.
>
> At that point, your problem looks like linking. I'm afraid you'll probably
> have to figure that one out for yourself.
>
> Michael
>
Awesome.. that did it. I still get some dublicate symbol warnings, but it
compiled and runs.
gcc -DPACKAGE=\"vorbis-tools\" -DVERSION=\"1.0beta3\" -I. -I. -I/home/xxxx/xxxx/arch/AIX/include -I/home/xxxx/xxxx/arch/AIX/include -I/home/xxxx/xxxx/arch/AIX/include -c getopt.c
gcc -DPACKAGE=\"vorbis-tools\" -DVERSION=\"1.0beta3\" -I. -I. -I/home/xxxx/xxxx/arch/AIX/include -I/home/xxxx/xxxx/arch/AIX/include -I/home/xxxx/xxxx/arch/AIX/include -c getopt1.c
/bin/sh ../libtool --mode=link gcc -o ogg123 -L/home/xxxx/xxxx/arch/AIX/lib -logg -L/home/xxxx/xxxx/arch/AIX/lib -lvorbis -lm -lvorbisfile -L/home/xxxx/xxxx/arch/AIX/lib -lao -ldl ogg123.o getopt.o getopt1.o
gcc -o ogg123 -L/home/xxxx/xxxx/arch/AIX/lib -logg -L/home/xxxx/xxxx/arch/AIX/lib -lvorbis -lm -lvorbisfile -L/home/xxxx/xxxx/arch/AIX/lib -lao -ldl ogg123.o getopt.o getopt1.o
ld: 0711-224 WARNING: Duplicate symbol: .strcmp
ld: 0711-224 WARNING: Duplicate symbol: strcmp
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
It's a simple fix that you may want to make to ogg123 in your CVS tree.
Thanks!
Gabe
--
--------------------------------------------------------------------------------
Gabe Turner | X-President,
UNIX Systems Administrator, | Assoc. for Computing Machinery
U of M Supercomputing Institute for | University of Minnesohta
Digital Simulation and Advanced Computation | dopp at acm.cs.umn.edu
"Stimpy, sometimes your wealth of eegnorance astounds me!"
- Ren Hoek in "Marooned"
--------------------------------------------------------------------------------
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list