Quantcast

Portmidi=1 csound build fails -fPIC

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Portmidi=1 csound build fails -fPIC

Jeremiah Benham
I just did a cvs update -Pd then tried to build csounds with these options:

scons Word64=1 usePortMIDI=1 buildJavaWrapper=0 buildCsoundVST=0 usePortAudio=0 buildLoris=0 buildDSSI=0 useCoreAudio=0 dynamicCsoundLibrary=1
customCCFLAGS='-fPIC'

but it fails to compile complaining:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib64/libportmidi.a(portmidi.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib64/libportmidi.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

Thanks,
Jeremiah



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Portmidi=1 csound build fails -fPIC

Istvan Varga
You need to compile PortMidi with -fPIC as well.

Jeremiah Benham wrote:

> I just did a cvs update -Pd then tried to build csounds with these options:


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Portmidi=1 csound build fails -fPIC

john ffitch
In reply to this post by Jeremiah Benham
If you are building for a 64bit machine use use  Word64=1
==John ffitch


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Csound-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/csound-devel
Loading...