When I compile with --with-target-platform=darwin, it fails to find
stdlib.h for some reason.

Jeremiah


On Mon, Mar 24, 2014 at 11:00 AM, Jeremiah Benham <
[email protected]> wrote:

> I sent this to aubio-user but am not sure if that is where I am supposed
> to get help or not. Please read the attached email.
>
> ---------- Forwarded message ----------
> From: Jeremiah Benham <[email protected]>
> Date: Sat, Mar 22, 2014 at 11:08 AM
> Subject: uint_t conflicting types
> To: [email protected]
>
>
> When cross compiling for darwin I get these errors:
>
> [35/63] c: src/tempo/beattracking.c -> build/src/tempo/beattracking.c.1.o
> In file included from
> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:45,
>                  from
> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:25,
>                  from
> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h:27,
>                  from
> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h:22,
>                  from ../src/io/sink_apple_audio.c:32:
> /home/jjbenham/public_html/gub/target/darwin-x86/root/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OpenTransport.h:234:
> error: conflicting types for 'uint_t'
> /home/jjbenham/public_html/gub/target/darwin-x86/build/libaubio-0.4.0/src/types.h:60:
> error: previous declaration of 'uint_t' was here
>
>
> #################################################################
>
> I see in types.h it is defined as:
> typedef unsigned int uint_t;
> In OpenTransport.h it is defined as:
> typedef unsigned long                   uint_t
>
> What should I do here?
>
> Jeremiah
>
>
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to