[Cs-dev] building on osx 10.6
Date | 2009-10-26 17:17 |
From | Julian Peterson |
Subject | [Cs-dev] building on osx 10.6 |
Hello Victor and all. I'm trying to build the latest csound (cvs) on osx10.6. I've reached an impasse, which is the following error: Undefined symbols: "__dyld_func_lookup", referenced from: _csoundOpenLibrary in csmodule.os ld: symbol(s) not found collect2: ld returned 1 exit status Have any ideas about how to fix this? I'll report back on the changes I've had to make to get it all built, once I get there. Thanks, JP ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 18:02 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] building on osx 10.6 |
This is the plugin loading module. It looks like _dyld_func_lookup() is not found in 10.6 (possibly?). On OSX10.5, this function is part of the system as seen in: coltrane:csound5-float victor$ nm -a /usr/lib/dylib1.10.5.o 00000014 T __dyld_func_lookup U __mh_dylib_header 00000024 d dyld__mach_header 00000000 T dyld_stub_binding_helper I have been having deprecated messages about other functions in that file, but not that particular one. Try this modification in csmodule.c _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", (void **) &make_private_module_public); The 2nd argument has the wrong type. But that should not make the symbol undefined. Victor On 26 Oct 2009, at 17:17, Julian Peterson wrote: > Hello Victor and all. > > I'm trying to build the latest csound (cvs) on osx10.6. I've reached > an impasse, which is the following error: > > Undefined symbols: > "__dyld_func_lookup", referenced from: > _csoundOpenLibrary in csmodule.os > ld: symbol(s) not found > collect2: ld returned 1 exit status > > > Have any ideas about how to fix this? > > I'll report back on the changes I've had to make to get it all built, > once I get there. > > > Thanks, > > JP > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 19:02 |
From | Julian Peterson |
Subject | Re: [Cs-dev] building on osx 10.6 |
Hi Victor. Thanks for the quick response. This suggestion didn't work (a different error, this time in reference to the same symbol in csmodule.os), but commenting out the entire section did work (commenting lines 1035-1038). I've gotten a bare-bones build at the moment. I'll let you know if I run into further troubles, and what modifications I had to make to get csound up on 10.6 once I get a fuller build. Again, thanks. JP On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: > This is the plugin loading module. It looks like _dyld_func_lookup() > is not > found in 10.6 (possibly?). > > On OSX10.5, this function is part of the system as seen in: > > coltrane:csound5-float victor$ nm -a /usr/lib/dylib1.10.5.o > 00000014 T __dyld_func_lookup > U __mh_dylib_header > 00000024 d dyld__mach_header > 00000000 T dyld_stub_binding_helper > > I have been having deprecated messages about other functions in that > file, but not that particular one. > > Try this modification in csmodule.c > > _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", > (void **) &make_private_module_public); > > The 2nd argument has the wrong type. But that should not make the > symbol undefined. > > Victor > > On 26 Oct 2009, at 17:17, Julian Peterson wrote: > >> Hello Victor and all. >> >> I'm trying to build the latest csound (cvs) on osx10.6. I've reached >> an impasse, which is the following error: >> >> Undefined symbols: >> "__dyld_func_lookup", referenced from: >> _csoundOpenLibrary in csmodule.os >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> >> >> Have any ideas about how to fix this? >> >> I'll report back on the changes I've had to make to get it all built, >> once I get there. >> >> >> Thanks, >> >> JP >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 19:19 |
From | Julian Peterson |
Subject | Re: [Cs-dev] building on osx 10.6 |
Ah, nevermind that previous email. Csound builds, but doesn't load opcodes if this function is commented out entirely. Obviously, this is no good. : ) I'll keep plugging away at it. J On Oct 26, 2009, at 12:02 PM, Julian Peterson wrote: > Hi Victor. Thanks for the quick response. > > This suggestion didn't work (a different error, this time in > reference to the same symbol in csmodule.os), but commenting out the > entire section did work (commenting lines 1035-1038). > > I've gotten a bare-bones build at the moment. I'll let you know if > I run into further troubles, and what modifications I had to make to > get csound up on 10.6 once I get a fuller build. > > Again, thanks. > > JP > > > > On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: > >> This is the plugin loading module. It looks like _dyld_func_lookup() >> is not >> found in 10.6 (possibly?). >> >> On OSX10.5, this function is part of the system as seen in: >> >> coltrane:csound5-float victor$ nm -a /usr/lib/dylib1.10.5.o >> 00000014 T __dyld_func_lookup >> U __mh_dylib_header >> 00000024 d dyld__mach_header >> 00000000 T dyld_stub_binding_helper >> >> I have been having deprecated messages about other functions in that >> file, but not that particular one. >> >> Try this modification in csmodule.c >> >> _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", >> (void **) &make_private_module_public); >> >> The 2nd argument has the wrong type. But that should not make the >> symbol undefined. >> >> Victor >> >> On 26 Oct 2009, at 17:17, Julian Peterson wrote: >> >>> Hello Victor and all. >>> >>> I'm trying to build the latest csound (cvs) on osx10.6. I've >>> reached >>> an impasse, which is the following error: >>> >>> Undefined symbols: >>> "__dyld_func_lookup", referenced from: >>> _csoundOpenLibrary in csmodule.os >>> ld: symbol(s) not found >>> collect2: ld returned 1 exit status >>> >>> >>> Have any ideas about how to fix this? >>> >>> I'll report back on the changes I've had to make to get it all >>> built, >>> once I get there. >>> >>> >>> Thanks, >>> >>> JP >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market >> and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 19:41 |
From | Julian Peterson |
Subject | Re: [Cs-dev] building on osx 10.6 |
Also, I get the same output regarding usr/lib/dylib1.10.5.o: subotnick:csound5 julianp$ nm -a /usr/lib/dylib1.10.5.o U ___dso_handle 00000024 T __dyld_func_lookup 0000003c d dyld__mach_header 00000000 T dyld_stub_binding_helper So it looks like the function still exists, but is not found? This water's a bit too deep for me.... might have to give up for the time being. J On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: > This is the plugin loading module. It looks like _dyld_func_lookup() > is not > found in 10.6 (possibly?). > > On OSX10.5, this function is part of the system as seen in: > > coltrane:csound5-float victor$ > 00000014 T __dyld_func_lookup > U __mh_dylib_header > 00000024 d dyld__mach_header > 00000000 T dyld_stub_binding_helper > > I have been having deprecated messages about other functions in that > file, but not that particular one. > > Try this modification in csmodule.c > > _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", > (void **) &make_private_module_public); > > The 2nd argument has the wrong type. But that should not make the > symbol undefined. > > Victor > > On 26 Oct 2009, at 17:17, Julian Peterson wrote: > >> Hello Victor and all. >> >> I'm trying to build the latest csound (cvs) on osx10.6. I've reached >> an impasse, which is the following error: >> >> Undefined symbols: >> "__dyld_func_lookup", referenced from: >> _csoundOpenLibrary in csmodule.os >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> >> >> Have any ideas about how to fix this? >> >> I'll report back on the changes I've had to make to get it all built, >> once I get there. >> >> >> Thanks, >> >> JP >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 19:50 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] building on osx 10.6 |
Two solutions: 1) add /usr/lib/dylib1.10.5.o to the list of objects to be linked. It's a hack, but might work. 2) OSX actually supports dlopen() so you can try commenting out all the Mac specific code in csmodule.c and use the LINUX one (by changing the ifdefs around). I'll actually test this later on OSX 10.5 Victor On 26 Oct 2009, at 19:41, Julian Peterson wrote: > Also, I get the same output regarding usr/lib/dylib1.10.5.o: > > subotnick:csound5 julianp$ nm -a /usr/lib/dylib1.10.5.o > U ___dso_handle > 00000024 T __dyld_func_lookup > 0000003c d dyld__mach_header > 00000000 T dyld_stub_binding_helper > > > So it looks like the function still exists, but is not found? This > water's a bit too deep for me.... might have to give up for the time > being. > > J > > > > On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: > >> This is the plugin loading module. It looks like _dyld_func_lookup() >> is not >> found in 10.6 (possibly?). >> >> On OSX10.5, this function is part of the system as seen in: >> >> coltrane:csound5-float victor$ >> 00000014 T __dyld_func_lookup >> U __mh_dylib_header >> 00000024 d dyld__mach_header >> 00000000 T dyld_stub_binding_helper >> >> I have been having deprecated messages about other functions in that >> file, but not that particular one. >> >> Try this modification in csmodule.c >> >> _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", >> (void **) &make_private_module_public); >> >> The 2nd argument has the wrong type. But that should not make the >> symbol undefined. >> >> Victor >> >> On 26 Oct 2009, at 17:17, Julian Peterson wrote: >> >>> Hello Victor and all. >>> >>> I'm trying to build the latest csound (cvs) on osx10.6. I've >>> reached >>> an impasse, which is the following error: >>> >>> Undefined symbols: >>> "__dyld_func_lookup", referenced from: >>> _csoundOpenLibrary in csmodule.os >>> ld: symbol(s) not found >>> collect2: ld returned 1 exit status >>> >>> >>> Have any ideas about how to fix this? >>> >>> I'll report back on the changes I've had to make to get it all >>> built, >>> once I get there. >>> >>> >>> Thanks, >>> >>> JP >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 20:05 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] building on osx 10.6 |
That works, so that's what you should do. I have updated CVS with these changes and you can check them out. Victor On 26 Oct 2009, at 19:50, Victor Lazzarini wrote: > Two solutions: > 1) add /usr/lib/dylib1.10.5.o to the list of objects to be linked. > It's a hack, but > might work. > > 2) OSX actually supports dlopen() so you can try commenting out > all the > Mac specific code in csmodule.c and use the LINUX one (by changing the > ifdefs around). I'll actually test this later on OSX 10.5 > > Victor > > On 26 Oct 2009, at 19:41, Julian Peterson wrote: > >> Also, I get the same output regarding usr/lib/dylib1.10.5.o: >> >> subotnick:csound5 julianp$ nm -a /usr/lib/dylib1.10.5.o >> U ___dso_handle >> 00000024 T __dyld_func_lookup >> 0000003c d dyld__mach_header >> 00000000 T dyld_stub_binding_helper >> >> >> So it looks like the function still exists, but is not found? This >> water's a bit too deep for me.... might have to give up for the time >> being. >> >> J >> >> >> >> On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: >> >>> This is the plugin loading module. It looks like _dyld_func_lookup() >>> is not >>> found in 10.6 (possibly?). >>> >>> On OSX10.5, this function is part of the system as seen in: >>> >>> coltrane:csound5-float victor$ >>> 00000014 T __dyld_func_lookup >>> U __mh_dylib_header >>> 00000024 d dyld__mach_header >>> 00000000 T dyld_stub_binding_helper >>> >>> I have been having deprecated messages about other functions in that >>> file, but not that particular one. >>> >>> Try this modification in csmodule.c >>> >>> _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", >>> (void **) &make_private_module_public); >>> >>> The 2nd argument has the wrong type. But that should not make the >>> symbol undefined. >>> >>> Victor >>> >>> On 26 Oct 2009, at 17:17, Julian Peterson wrote: >>> >>>> Hello Victor and all. >>>> >>>> I'm trying to build the latest csound (cvs) on osx10.6. I've >>>> reached >>>> an impasse, which is the following error: >>>> >>>> Undefined symbols: >>>> "__dyld_func_lookup", referenced from: >>>> _csoundOpenLibrary in csmodule.os >>>> ld: symbol(s) not found >>>> collect2: ld returned 1 exit status >>>> >>>> >>>> Have any ideas about how to fix this? >>>> >>>> I'll report back on the changes I've had to make to get it all >>>> built, >>>> once I get there. >>>> >>>> >>>> Thanks, >>>> >>>> JP >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>> CA >>>> is the only developer event you need to attend this year. Jumpstart >>>> your >>>> developing skills, take BlackBerry mobile applications to market >>>> and >>>> stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-26 21:00 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] building on osx 10.6 |
I mean solution 2, use dlopen(). Victor On 26 Oct 2009, at 20:05, Victor Lazzarini wrote: > That works, so that's what you should do. > I have updated CVS with these changes and you can check them out. > > Victor > > > On 26 Oct 2009, at 19:50, Victor Lazzarini wrote: > >> Two solutions: >> 1) add /usr/lib/dylib1.10.5.o to the list of objects to be linked. >> It's a hack, but >> might work. >> >> 2) OSX actually supports dlopen() so you can try commenting out >> all the >> Mac specific code in csmodule.c and use the LINUX one (by changing >> the >> ifdefs around). I'll actually test this later on OSX 10.5 >> >> Victor >> >> On 26 Oct 2009, at 19:41, Julian Peterson wrote: >> >>> Also, I get the same output regarding usr/lib/dylib1.10.5.o: >>> >>> subotnick:csound5 julianp$ nm -a /usr/lib/dylib1.10.5.o >>> U ___dso_handle >>> 00000024 T __dyld_func_lookup >>> 0000003c d dyld__mach_header >>> 00000000 T dyld_stub_binding_helper >>> >>> >>> So it looks like the function still exists, but is not found? This >>> water's a bit too deep for me.... might have to give up for the time >>> being. >>> >>> J >>> >>> >>> >>> On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: >>> >>>> This is the plugin loading module. It looks like >>>> _dyld_func_lookup() >>>> is not >>>> found in 10.6 (possibly?). >>>> >>>> On OSX10.5, this function is part of the system as seen in: >>>> >>>> coltrane:csound5-float victor$ >>>> 00000014 T __dyld_func_lookup >>>> U __mh_dylib_header >>>> 00000024 d dyld__mach_header >>>> 00000000 T dyld_stub_binding_helper >>>> >>>> I have been having deprecated messages about other functions in >>>> that >>>> file, but not that particular one. >>>> >>>> Try this modification in csmodule.c >>>> >>>> _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", >>>> (void **) &make_private_module_public); >>>> >>>> The 2nd argument has the wrong type. But that should not make the >>>> symbol undefined. >>>> >>>> Victor >>>> >>>> On 26 Oct 2009, at 17:17, Julian Peterson wrote: >>>> >>>>> Hello Victor and all. >>>>> >>>>> I'm trying to build the latest csound (cvs) on osx10.6. I've >>>>> reached >>>>> an impasse, which is the following error: >>>>> >>>>> Undefined symbols: >>>>> "__dyld_func_lookup", referenced from: >>>>> _csoundOpenLibrary in csmodule.os >>>>> ld: symbol(s) not found >>>>> collect2: ld returned 1 exit status >>>>> >>>>> >>>>> Have any ideas about how to fix this? >>>>> >>>>> I'll report back on the changes I've had to make to get it all >>>>> built, >>>>> once I get there. >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> JP >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>>> CA >>>>> is the only developer event you need to attend this year. >>>>> Jumpstart >>>>> your >>>>> developing skills, take BlackBerry mobile applications to market >>>>> and >>>>> stay >>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>>> now! >>>>> http://p.sf.net/sfu/devconference >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>> CA >>>> is the only developer event you need to attend this year. Jumpstart >>>> your >>>> developing skills, take BlackBerry mobile applications to market >>>> and >>>> stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-27 01:00 |
From | Julian Peterson |
Subject | Re: [Cs-dev] building on osx 10.6 |
Wonderful! Thanks so much for looking into it. I've now successfully build csound on 10.6. The only change I made was to SConstruct, line 609: OSXSystemPythonVersions = { 0:0, 1:0, 2:2, 3:3, 4:3, 5:5, 6:6 } (appended 6:6 at the end, SnowLeopard ships with pythons 4,5, and 6). Thanks again Victor. J On Oct 26, 2009, at 2:00 PM, Victor Lazzarini wrote: > I mean solution 2, use dlopen(). > > Victor > On 26 Oct 2009, at 20:05, Victor Lazzarini wrote: > >> That works, so that's what you should do. >> I have updated CVS with these changes and you can check them out. >> >> Victor >> >> >> On 26 Oct 2009, at 19:50, Victor Lazzarini wrote: >> >>> Two solutions: >>> 1) add /usr/lib/dylib1.10.5.o to the list of objects to be linked. >>> It's a hack, but >>> might work. >>> >>> 2) OSX actually supports dlopen() so you can try commenting out >>> all the >>> Mac specific code in csmodule.c and use the LINUX one (by changing >>> the >>> ifdefs around). I'll actually test this later on OSX 10.5 >>> >>> Victor >>> >>> On 26 Oct 2009, at 19:41, Julian Peterson wrote: >>> >>>> Also, I get the same output regarding usr/lib/dylib1.10.5.o: >>>> >>>> subotnick:csound5 julianp$ nm -a /usr/lib/dylib1.10.5.o >>>> U ___dso_handle >>>> 00000024 T __dyld_func_lookup >>>> 0000003c d dyld__mach_header >>>> 00000000 T dyld_stub_binding_helper >>>> >>>> >>>> So it looks like the function still exists, but is not found? This >>>> water's a bit too deep for me.... might have to give up for the >>>> time >>>> being. >>>> >>>> J >>>> >>>> >>>> >>>> On Oct 26, 2009, at 11:02 AM, Victor Lazzarini wrote: >>>> >>>>> This is the plugin loading module. It looks like >>>>> _dyld_func_lookup() >>>>> is not >>>>> found in 10.6 (possibly?). >>>>> >>>>> On OSX10.5, this function is part of the system as seen in: >>>>> >>>>> coltrane:csound5-float victor$ >>>>> 00000014 T __dyld_func_lookup >>>>> U __mh_dylib_header >>>>> 00000024 d dyld__mach_header >>>>> 00000000 T dyld_stub_binding_helper >>>>> >>>>> I have been having deprecated messages about other functions in >>>>> that >>>>> file, but not that particular one. >>>>> >>>>> Try this modification in csmodule.c >>>>> >>>>> _dyld_func_lookup("__dyld_NSMakePrivateModulePublic", >>>>> (void **) &make_private_module_public); >>>>> >>>>> The 2nd argument has the wrong type. But that should not make the >>>>> symbol undefined. >>>>> >>>>> Victor >>>>> >>>>> On 26 Oct 2009, at 17:17, Julian Peterson wrote: >>>>> >>>>>> Hello Victor and all. >>>>>> >>>>>> I'm trying to build the latest csound (cvs) on osx10.6. I've >>>>>> reached >>>>>> an impasse, which is the following error: >>>>>> >>>>>> Undefined symbols: >>>>>> "__dyld_func_lookup", referenced from: >>>>>> _csoundOpenLibrary in csmodule.os >>>>>> ld: symbol(s) not found >>>>>> collect2: ld returned 1 exit status >>>>>> >>>>>> >>>>>> Have any ideas about how to fix this? >>>>>> >>>>>> I'll report back on the changes I've had to make to get it all >>>>>> built, >>>>>> once I get there. >>>>>> >>>>>> >>>>>> Thanks, >>>>>> >>>>>> JP >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>>>> CA >>>>>> is the only developer event you need to attend this year. >>>>>> Jumpstart >>>>>> your >>>>>> developing skills, take BlackBerry mobile applications to market >>>>>> and >>>>>> stay >>>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>>>> now! >>>>>> http://p.sf.net/sfu/devconference >>>>>> _______________________________________________ >>>>>> Csound-devel mailing list >>>>>> Csound-devel@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>>> CA >>>>> is the only developer event you need to attend this year. >>>>> Jumpstart >>>>> your >>>>> developing skills, take BlackBerry mobile applications to market >>>>> and >>>>> stay >>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>>> now! >>>>> http://p.sf.net/sfu/devconference >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, >>>> CA >>>> is the only developer event you need to attend this year. Jumpstart >>>> your >>>> developing skills, take BlackBerry mobile applications to market >>>> and >>>> stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2009-10-27 17:47 |
From | victor |
Subject | Re: [Cs-dev] building on osx 10.6 |
Since 10.6 is possibly a 64bit OS (?), it will be interesting to see if no issues arise (I expect none). I am glad the csmodule.c issue got solved, it bothered me to see those deprecated messages; and the solution was the simplest: use the POSIX code! Victor ----- Original Message ----- From: "Julian Peterson" |
Date | 2009-10-27 18:56 |
From | Julian Peterson |
Subject | Re: [Cs-dev] building on osx 10.6 |
Yes, it is a 64 bit os. Csound seems to be running w/o issue, but I've had to build nearly everything from scratch since few installers include x86-64 along with i386 and ppc in the mac binaries. For example, currently csoundapi~ is broken for me because csoundapi is compiled 64 bit but my version of pd is not... no fault of csound, of course. JP On Oct 27, 2009, at 10:47 AM, victor wrote: > Since 10.6 is possibly a 64bit OS (?), it will be interesting to see > if no > issues arise > (I expect none). > > I am glad the csmodule.c issue got solved, it bothered me to see those > deprecated > messages; and the solution was the simplest: use the POSIX code! > > Victor > ----- Original Message ----- > From: "Julian Peterson" |
Date | 2009-10-27 20:16 |
From | victor |
Subject | Re: [Cs-dev] building on osx 10.6 |
Not looking forward to start building releases for 10.6 (which I'll soon have to do). On the other hand, I'll have a good excuse for not bothering with PPC anymore (apparently 10.6 does not support it), which is a bit of a pain to find a machine to build at the moment. Victor ----- Original Message ----- From: "Julian Peterson" |