You are not logged in.

#1 2015-06-17 20:28:26

joaocandre
Member
Registered: 2013-02-23
Posts: 166

stdlib.h not found when compiling MXE

I'm trying to build MXE (M cross environment) on my Arch Linux install. When building the `aubio` package, I get thrown the following error:

 Checking for header stdlib.h : not found

I'm pretty sure stdlib.h is installed on my system (I can include it on my C/C++ programs) and I have all the requirements and dependencies MXE asks for. What am I missing?

Offline

#2 2015-06-17 20:58:01

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: stdlib.h not found when compiling MXE

Is it including <stdlib.h> or "stdlib.h" ?


You're just jealous because the voices only talk to me.

Offline

#3 2015-06-17 23:49:21

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: stdlib.h not found when compiling MXE

moetunes wrote:

Is it including <stdlib.h> or "stdlib.h" ?


It's not compiling any particular piece of code, it's compile the default MXE tools/environment. A makefile is included in the package that builds several libraries, **aubio** is one of them.

Offline

#4 2015-06-18 02:30:48

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: stdlib.h not found when compiling MXE

If a makefile builds something it must be compiling some code...


You're just jealous because the voices only talk to me.

Offline

#5 2015-06-18 10:22:10

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: stdlib.h not found when compiling MXE

moetunes wrote:

If a makefile builds something it must be compiling some code...

Well, yeah, but there was no info on the error as to where exactly was stdlib being included. Anyway, I took a look into the log files and it is indeed <stdlib.h> being included, so I don't know how it would throw an error (it should be looking into /include or /usr/include)

Offline

#6 2015-06-18 11:12:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: stdlib.h not found when compiling MXE

You've given absolutely no information to work with here.  How are you building this?  From an aur package?  which one?  If so, why is this is programming & scripting and not in AUR issues?

Where/when dou you get this error?  Post the actual command you used and the full output?

mod note: moving to N.C. for lack of a better place and due to a lack of any information to work with.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2015-06-18 12:18:22

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: stdlib.h not found when compiling MXE

Trilby wrote:

You've given absolutely no information to work with here.  How are you building this?  From an aur package?  which one?  If so, why is this is programming & scripting and not in AUR issues?

Not from AUR, I'm cloning their git repo as instructed on their website. I just call the Makefile included.

[joao@joao-laptop mxe]$ make
[using autodetected 4 job(s)]
[target]   i686-w64-mingw32.static with 368 goals from src/*.mk
[build]    aubio

Failed to build package aubio!
------------------------------------------------------------
Checking for header stdlib.h             : not found 
The configuration failed
(complete log in /home/joao/Work/ASBG/code/mxe/tmp-aubio-i686-w64-mingw32.static/aubio-0.4.1/build/config.log)
Makefile:437: recipe for target 'build-only-aubio_i686-w64-mingw32.static' failed
make[1]: *** [build-only-aubio_i686-w64-mingw32.static] Error 1
make[1]: Leaving directory '/home/joao/Work/ASBG/code/mxe'
real	0m2.915s
user	0m2.710s
sys	0m0.100s
------------------------------------------------------------
[log]      /home/joao/Work/ASBG/code/mxe/log/aubio

Makefile:437: recipe for target '/home/joao/Work/ASBG/code/mxe/usr/i686-w64-mingw32.static/installed/aubio' failed
make: *** [/home/joao/Work/ASBG/code/mxe/usr/i686-w64-mingw32.static/installed/aubio] Error 1

I'd only included that one line because it is pretty much what's relevant in the whole output.

Last edited by joaocandre (2015-06-18 12:18:44)

Offline

Board footer

Powered by FluxBB