XMMS - XMMS

Find out how to get that @*&^$&@ thing to compile!

XMMS - XMMS

Postby theaustinpeay » Fri May 31, 2002 7:29 am

I've been working on this, and I finally installed zlib correctly from http://www.gzip.org/zlib/zlib_faq.html-->
15. Why does "make test" fail on Mac OS X?

Mac OS X already includes zlib as a shared library, and so -lz links the shared library instead of the one that the "make" compiled. For zlib 1.1.3, the two are incompatible due to different compile-time options. Simply change the -lz in the Makefile to libz.a, and it will use the compiled library instead of the shared one and the "make test" will succeed.

Well, I installed zlib correctly, and then I tried re-installing xmms. ./configure works fine, but in make it ends with:

titlestring.c:1317: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
*** Error code 1

Stop in /Users/austinp/x11/xmms-1.2.7/libxmms.
*** Error code 1

Stop in /Users/austinp/x11/xmms-1.2.7.
*** Error code 1

Stop in /Users/austinp/x11/xmms-1.2.7.

Whatever that means, I don't know, but how do I fix this??? Any ideas?? Thanks javascript: x()
theaustinpeay
 
Posts: 4
Joined: Wed May 29, 2002 7:00 pm
Location: Potomac, MD

Re: XMMS - XMMS

Postby xvx » Thu Jul 25, 2002 5:33 pm

i fixed this by 'export CPPFLAGS=-no-cpp-precomp' and that got rid of those errors. I fixed my zlib problems can had a sucessful compile and install. I ran it, it worked but i couldnt add any mp3's to the play list? Then i tried to recompile and kept erroring:

Making all in cdaudio
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I../../intl -no-cpp-precomp -g -O2 -Wall -Wpointer-arith -finline-functions -ffast-math -funroll-all-loops -c cdaudio.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms -I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -I../../intl -no-cpp-precomp -g -O2 -Wall -Wpointer-arith -finline-functions -ffast-math -funroll-all-loops -c cdaudio.c -fno-common -DPIC -o cdaudio.lo
cdaudio.c: In function `cdda_calculate_track_length':
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:280: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:282: subscripted value is neither array nor pointer
cdaudio.c:283: warning: control reaches end of non-void function
cdaudio.c: In function `get_current_frame':
cdaudio.c:561: request for member `msf' in something not a structure or union
cdaudio.c:561: request for member `msf' in something not a structure or union
cdaudio.c:561: request for member `msf' in something not a structure or union
cdaudio.c:562: warning: control reaches end of non-void function
cdaudio.c: In function `get_time':
cdaudio.c:758: subscripted value is neither array nor pointer
cdaudio.c:758: subscripted value is neither array nor pointer
cdaudio.c:758: subscripted value is neither array nor pointer
cdaudio.c:745: warning: `frame' might be used uninitialized in this function
cdaudio.c:745: warning: `start_frame' might be used uninitialized in this function
cdaudio.c:745: warning: `length' might be used uninitialized in this function
make[3]: *** [cdaudio.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
[mybitch:xmms/work/xmms-1.2.7] root#


But before it compiled it fine. nothing has changed anyone with any ideas?
xvx
 
Posts: 1
Joined: Thu Jul 25, 2002 7:00 pm


Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 52 guests

cron