localhost:~ user$ ld -v
@(#)PROGRAM:ld PROJECT:ld64-97.14
llvm version 2.7svn, Apple Build #2326-10
localhost:~ user$
localhost:~ user$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~38/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
localhost:~ user
Applied your patch but Scons now terminated because of the libmad reference
again.
Buildlog: http://pastebin.com/BC5BvkLg
Thanks,
jus
On 11.10.2010, at 06:07, RJ Ryan wrote:
> Try this change: http://pastebin.com/5ymQcb6Z
>
> Also, could you tell me your GCC and LD versions ? (`gcc --version' and `ld
> --version')
>
> Thanks,
> RJ
>
> On Mon, Oct 11, 2010 at 12:01 AM, jus <[email protected]> wrote:
> Oops, my bad.
> Have used lp:mixxx/1.8 instead of lp:mixxx and missed out the updated build
> scripts.
>
> Re-installed libmad and using latest lp:mixxx revision 2473.
>
> Scons now start building for osx32 (was osx64 before) but is terminated
> because of a different error:
> ......
> ld: warning: directory '/sw/lib' following -L not found
> ld: unknown option: --gc-sections
> collect2: ld returned 1 exit status
> scons: *** [osx32_build/mixxx] Error 1
> scons: building terminated because of errors.
> ......
>
> Full buildlog: http://pastebin.com/WLrZVJA4
>
> Thanks,
> jus
>
>
> On 11.10.2010, at 04:54, RJ Ryan wrote:
>
>> Hey Jus,
>>
>> Could you pastebin the full result of this? The *snip*'d part is useful :).
>>
>> I recently rewrote a good deal of the build scripts (which it seems you are
>> not yet updated to yet) and Albert confirmed that he was able to build and
>> package lp:mixxx on OSX. He may be able to spot what's wrong immediately,
>> but since the 'mad' symbols are not being found by the linker, that would
>> suggest you don't have libmad installed. I'm not sure which package system
>> you're using on OSX, but maybe try to install libmad?
>>
>> Best,
>> RJ
>>
>> On Sun, Oct 10, 2010 at 6:40 AM, jus <[email protected]> wrote:
>> Hello,
>> I have used two machines before (OSX 10.5 for compiling and 10.6 for
>> testing) but would like to have only one machine (OSX 10.6) for development.
>> Never got lp:mixxx to compile on OSX 10.6, but with the new QT 4.7 it might
>> be worth a try again.
>>
>> My specs:
>> MacOS 10.6.4 / QT 4.7.0 final SDK
>> localhost:~ user$ uname -a
>> Darwin localhost 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53
>> PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
>>
>> Don`t know if there is an error on my side but SCONS alway terminated
>> because of errors.
>>
>> Thanks for your input,
>> jus
>>
>>
>> Scons terminal output:
>>
>> localhost:mixxx user$ scons qtdir=/usr/local/Qt4.7
>> scons: Reading SConscript files ...
>> Platform: OS X
>> QT path: /usr/local/Qt4.7
>> Loading qt4 tool...
>>
>> scons: warning: QTDIR variable is not defined, using moc executable as a
>> hint (QTDIR=None)
>> File "/Users/user/Dropbox/Mixxx/1.8/mixxx/build/qt4.py", line 206, in _detect
>> Binary format:
>> Checking for C library portaudio... yes
>> Checking for C library id3tag... yes
>> Checking for C library mad... yes
>> Checking for C library sndfile... yes
>> Checking for C library vorbisfile... yes
>> Checking for C library vorbis... yes
>> Checking for C library ogg... yes
>> Checking for C library GL... no
>> Checking for C header file GL/gl.h... no
>> Checking for C library opengl32... no
>> Checking for C header file
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h... yes
>> Checking for C library GLU... no
>> Checking for C header file GL/glu.h... no
>> Checking for C library glu32... no
>> Checking for C header file
>> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glu.h... yes
>> Not working FFMPEG support... disabled
>> Checking for C library porttime... no
>> Checking for C library libporttime... no
>> Checking for C header file porttime.h... yes
>> Checking for C library portmidi... yes
>> Checking for C++ header file
>> /System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h... yes
>> Checking for C library wavpack... no
>> WavPack audio file support disabled
>>
>> Features Summary:
>> ================
>> High quality EQs... enabled
>> iPod support... disabled
>> Shoutcast support... disabled
>> LADSPA support... disabled
>> Vinyl Control... enabled
>> Tonal analysis... disabled
>> Apple M4A audio file support... disabled
>> Test suite... disabled
>> MixxxScript Studio... disabled
>> MIDI Scripting... enabled
>> profiling profiling support... disabled
>> Optimizing for this CPU... no
>> Specific optimizations... enabled
>> Agner Fog's ASMLIB (http://www.agner.org/optimize)... disabled
>> Debugging message output... enabled
>> MSVS 2005 hacks... disabled
>> Case Metrics profiling... disabled
>> ================
>> Building with flags: hifieq vinylcontrol midiscript optimize=1 qdebug
>> ================
>>
>> WE ARE IN: /Users/user/Dropbox/Mixxx/1.8/mixxx/osx64_build
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> …………
>> snip
>> …………
>> ld: warning: directory '/sw/lib' following -L not found
>> ld: warning: directory '/sw/lib' following -L not found
>> ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime,
>> missing required architecture x86_64 in file
>> Undefined symbols:
>> "_mad_timer_count", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::length() in soundsourcemp3.o
>> "_mad_stream_buffer", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_header_decode", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_timer_zero", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_stream_init", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> "_mad_stream_skip", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::read(unsigned long, short const*)in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_timer_add", referenced from:
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_frame_finish", referenced from:
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> "_mad_header_init", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::open() in soundsourcemp3.o
>> "_mad_synth_init", referenced from:
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> "_mad_stream_finish", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> SoundSourceMp3::~SoundSourceMp3()in soundsourcemp3.o
>> "_mad_synth_mute", referenced from:
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> "_mad_frame_init", referenced from:
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> SoundSourceMp3::SoundSourceMp3(QString)in soundsourcemp3.o
>> "_mad_frame_decode", referenced from:
>> SoundSourceMp3::read(unsigned long, short const*)in soundsourcemp3.o
>> SoundSourceMp3::discard(unsigned long)in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> "_mad_frame_mute", referenced from:
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> "_mad_synth_frame", referenced from:
>> SoundSourceMp3::read(unsigned long, short const*)in soundsourcemp3.o
>> SoundSourceMp3::discard(unsigned long)in soundsourcemp3.o
>> SoundSourceMp3::seek(long) in soundsourcemp3.o
>> "_mad_timer_multiply", referenced from:
>> SoundSourceMp3::parseHeader() in soundsourcemp3.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> scons: *** [osx64_build/mixxx] Error 1
>> scons: building terminated because of errors.
>> localhost:mixxx user$
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Mixxx-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel