[flext] Compilation errors running bash build.sh max gcc on Mac osx 10.8

Thomas Grill gr at grrrr.org
Fri May 10 21:48:47 CEST 2013


right! good luck!
--
Thomas Grill
http://grrrr.org



Am 10.05.2013 um 21:46 schrieb Luca Turchet:

> Dear Thomas,
> thanks a lot for your quick answer. I will reinstall flext.
>
> Just to be sure, in the file config-mac-max-gcc.txt I comment the line
> ARCH=ppc i386 #x86_64 ppc64
> and put instead the line
> ARCH=i386 , right?
>
> All the best
>
> Luca
>
> ______________________________________________
>
> Luca Turchet, Ph.D.
> Postdoctoral Research Fellow
>
> Department of Architecture, Design & Media Technology
> Aalborg University Copenhagen
> A. C. Meyers Vænge 15
> DK-2450 Copenhagen SV
>
> E-mail: tur at create.aau.dk
> Website: www.lucaturchet.it
>
>
> From: Thomas Grill [gr at grrrr.org]
> Sent: Friday, May 10, 2013 9:21 PM
> To: Luca Turchet
> Cc: list flext
> Subject: Re: [flext] Compilation errors running bash build.sh max  
> gcc on Mac osx 10.8
>
> Dear Luca,
> my guess is that you compiled flext as ARCH=x86_64, installed it,  
> then changed the arch to i386 which is now used for the compilation  
> and linking.
> Please rebuild and reinstall flext with at least those architectures  
> you want to use for the externals.
> all the best, Thomas
>
> Am 10.05.2013 um 21:15 schrieb Luca Turchet:
>
>> Dear Thomas,
>> I need help again. I am not able to compile any source.
>>
>> I attach the compilation error corresponding to the file signal1  
>> present
>> in the tutorial folder.
>>
>> As far as I have understood it is still a problem related to the  
>> architecture.
>> Any suggestion?
>>
>> Thanks in advance
>>
>> All the best
>>
>> Luca
>>
>>
>> ______________________________________________
>>
>> Luca Turchet, Ph.D.
>> Postdoctoral Research Fellow
>>
>> Department of Architecture, Design & Media Technology
>> Aalborg University Copenhagen
>> A. C. Meyers Vænge 15
>> DK-2450 Copenhagen SV
>>
>> E-mail: tur at create.aau.dk
>> Website: www.lucaturchet.it
>>
>>
>> From: Thomas Grill [grrrr.org at gmail.com] on behalf of Thomas Grill [gr at grrrr.org 
>> ]
>> Sent: Wednesday, May 08, 2013 3:19 PM
>> To: Luca Turchet
>> Cc: flext at grrrr.org
>> Subject: Re: [flext] Compilation errors running bash build.sh max  
>> gcc on Mac osx 10.8
>>
>> The warnings are ok - flext relies on a fairly old skeleton of Max…  
>> hopefully it will be present for some more years.
>> gr~~~
>>
>> --
>> Thomas Grill
>> http://grrrr.org
>>
>>
>> Am 08.05.2013 um 15:15 schrieb Luca Turchet:
>>
>>> Dear Thomas,
>>> thanks again. Now it compiles without errors. The warnings,  
>>> however, are still present.
>>>
>>> Concerning the SDK of Max, I am using the one downloadable at this  
>>> link:
>>> http://cycling74.com/products/sdk/
>>>
>>> Thanks a lot
>>>
>>> Best
>>>
>>> Luca
>>>
>>>
>>> ______________________________________________
>>>
>>> Luca Turchet, Ph.D.
>>> Postdoctoral Research Fellow
>>>
>>> Department of Architecture, Design & Media Technology
>>> Aalborg University Copenhagen
>>> A. C. Meyers Vænge 15
>>> DK-2450 Copenhagen SV
>>>
>>> E-mail: tur at create.aau.dk
>>> Website: www.lucaturchet.it
>>>
>>>
>>> From: Thomas Grill [grrrr.org at gmail.com] on behalf of Thomas Grill  
>>> [gr at grrrr.org]
>>> Sent: Wednesday, May 08, 2013 3:11 PM
>>> To: Luca Turchet
>>> Cc: flext at grrrr.org
>>> Subject: Re: [flext] Compilation errors running bash build.sh max  
>>> gcc on Mac osx 10.8
>>>
>>> Ok, x86_64 is the default arch on your system, but are you using  
>>> the 64bit Max SDK of Max 6.1? I am not sure if it has even been  
>>> released.
>>> Please try ARCH=i386 in the config file.
>>> gr~~~
>>>
>>> --
>>> Thomas Grill
>>> http://grrrr.org
>>>
>>>
>>> Am 08.05.2013 um 15:00 schrieb Luca Turchet:
>>>
>>>> Dear Thomas,
>>>> many thanks for your quick answer. I have recompiled after  
>>>> commenting the
>>>> line #ARCH=ppc i386 #x86_64 ppc64
>>>>
>>>> Now I get some warnings about deprecated objects, and more  
>>>> importantly new errors
>>>> (please see the output below).
>>>>
>>>> I attach the file config-mac-max-gcc.txt
>>>>
>>>> Any suggestion?
>>>>
>>>> Thanks in advance
>>>>
>>>> Luca
>>>>
>>>>
>>>>
>>>> In file included from source/flmap.cpp:18:
>>>> In file included from source/flext.h:65:
>>>> In file included from source/flclass.h:23:
>>>> In file included from source/flbase.h:24:
>>>> source/flsupport.h:269:19: warning: 't_buffer' is deprecated [- 
>>>> Wdeprecated-declarations]
>>>>             const t_buffer *p = (const t_buffer *)sym->s_thing;
>>>>                   ^
>>>> /Users/luca/Documents/RICERCA/Codice_MaxMsp/VARIE/MaxSDK-6.1.1/ 
>>>> c74support/msp-includes/buffer.h:96:40: note: 't_buffer' declared  
>>>> here
>>>> C74_DEPRECATED( typedef struct _buffer t_buffer );
>>>>                                        ^
>>>> /Users/luca/Documents/RICERCA/Codice_MaxMsp/VARIE/MaxSDK-6.1.1/ 
>>>> c74support/max-includes/ext.h:22:30: note: expanded from macro  
>>>> 'C74_DEPRECATED'
>>>> #define C74_DEPRECATED(func) func __attribute__ ((deprecated))
>>>>                              ^
>>>> 2 warnings generated.
>>>> c++ -mmacosx-version-min=10.4 -framework MaxAPI -framework  
>>>> MaxAudioAPI -dynamiclib -dynamic -framework vecLib -Wl,-S  - 
>>>> install_name /usr/local/lib/libflext-max.dylib -current_version  
>>>> 0.5.2 -compatibility_version 0.5 -preload -seg1addr 0xd0000000  - 
>>>> o max-darwin/release-shared/libflext-max.0.5.2.dylib   max-darwin/ 
>>>> release-shared/flbase.opp max-darwin/release-shared/flext.opp max- 
>>>> darwin/release-shared/flbuf.opp max-darwin/release-shared/ 
>>>> fldsp.opp max-darwin/release-shared/fllib.opp max-darwin/release- 
>>>> shared/flxlet.opp max-darwin/release-shared/flattr.opp max-darwin/ 
>>>> release-shared/flattr_ed.opp max-darwin/release-shared/ 
>>>> flsupport.opp max-darwin/release-shared/flutil.opp max-darwin/ 
>>>> release-shared/flatom.opp max-darwin/release-shared/flatom_pr.opp  
>>>> max-darwin/release-shared/flthr.opp max-darwin/release-shared/ 
>>>> fltimer.opp max-darwin/release-shared/flsimd.opp max-darwin/ 
>>>> release-shared/flout.opp max-darwin/release-shared/ 
>>>> flatom_part.opp max-darwin/release-shared/flitem.opp max-darwin/ 
>>>> release-shared/flmeth.opp max-darwin/release-shared/flmsg.opp max- 
>>>> darwin/release-shared/flproxy.opp max-darwin/release-shared/ 
>>>> flqueue.opp max-darwin/release-shared/flbind.opp max-darwin/ 
>>>> release-shared/flmap.opp
>>>> clang: warning: argument unused during compilation: '-preload'
>>>> Undefined symbols for architecture x86_64:
>>>>   "_object_method_imp", referenced from:
>>>>       flext_shared::buffer::Dirty(bool) in flbuf.opp
>>>> ld: symbol(s) not found for architecture x86_64
>>>> clang: error: linker command failed with exit code 1 (use -v to  
>>>> see invocation)
>>>> make[1]: *** [max-darwin/release-shared/libflext-max.0.5.2.dylib]  
>>>> Error 1
>>>> make: *** [build-release-shared] Error 2
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ______________________________________________
>>>>
>>>> Luca Turchet, Ph.D.
>>>> Postdoctoral Research Fellow
>>>>
>>>> Department of Architecture, Design & Media Technology
>>>> Aalborg University Copenhagen
>>>> A. C. Meyers Vænge 15
>>>> DK-2450 Copenhagen SV
>>>>
>>>> E-mail: tur at create.aau.dk
>>>> Website: www.lucaturchet.it
>>>>
>>>>
>>>> From: Thomas Grill [grrrr.org at gmail.com] on behalf of Thomas  
>>>> Grill [gr at grrrr.org]
>>>> Sent: Wednesday, May 08, 2013 2:13 PM
>>>> To: Luca Turchet
>>>> Cc: flext at grrrr.org
>>>> Subject: Re: [flext] Compilation errors running bash build.sh max  
>>>> gcc on Mac osx 10.8
>>>>
>>>> Hi Luca,
>>>> my guess is that you are compiling a fat binary with Intel and  
>>>> PowerPC architectures. (ARCH option in the flext/buildsys/config- 
>>>> mac-max-gcc.txt file).
>>>> Comment out the ppc architecture and retry!
>>>> gr~~~
>>>>
>>>>
>>>> --
>>>> Thomas Grill
>>>> http://grrrr.org
>>>>
>>>>
>>>> Am 08.05.2013 um 14:08 schrieb Luca Turchet:
>>>>
>>>>> Dear all,
>>>>> I am having problems during the installation of the last version  
>>>>> of flext on my mac
>>>>> (osx 10.8.3, with xcode 4.6 having the Command Line Tools  
>>>>> download installed).
>>>>>
>>>>> When launching the command "bash build.sh max gcc " I get these  
>>>>> errors:
>>>>>
>>>>> clang: warning: not using the clang compiler for the 'powerpc'  
>>>>> architecture
>>>>> llvm-g++-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/ 
>>>>> powerpc-apple-darwin11-llvm-g++-4.2': execvp: No such file or  
>>>>> directory
>>>>> clang: error: gcc frontend command failed with exit code 255  
>>>>> (use -v to see invocation)
>>>>>
>>>>> Has anyone else come across this issue? If so, did you find a fix?
>>>>>
>>>>> I searched on internet but none of those solutions helped me.
>>>>>
>>>>> Thanks in advance
>>>>>
>>>>> Luca
>>>>>
>>>>> ______________________________________________
>>>>>
>>>>> Luca Turchet, Ph.D.
>>>>> Postdoctoral Research Fellow
>>>>>
>>>>> Department of Architecture, Design & Media Technology
>>>>> Aalborg University Copenhagen
>>>>> A. C. Meyers Vænge 15
>>>>> DK-2450 Copenhagen SV
>>>>>
>>>>> E-mail: tur at create.aau.dk
>>>>> Website: www.lucaturchet.it
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://grrrr.org/ext/flext
>>>>>
>>>>> flext mailing list
>>>>> flext at grrrr.org
>>>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>>>
>>>> <config-mac-max-gcc.txt>
>>
>> <compilation_error.txt>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20130510/297b7268/attachment-0001.htm>


More information about the flext mailing list