Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » XMMS - XMMS

UBBFriend: Email this page to someone!    
Author Topic: XMMS - XMMS
theaustinpeay
Junior Member
Member # 435

posted May 30, 2002 12:29 PM      Profile for theaustinpeay   Email theaustinpeay   Send New Private Message      Edit/Delete Post  Reply With Quote 
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()


Posts: 4 | From: Potomac, MD | Registered: May 2002  |  IP: Logged
xvx
Junior Member
Member # 478

posted July 25, 2002 10:33 AM      Profile for xvx     Send New Private Message      Edit/Delete Post  Reply With Quote 
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?


Posts: 1 | Registered: Jul 2002  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2