Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crossdev autotools library checks failing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
natesully
n00b
n00b


Joined: 23 Feb 2006
Posts: 49

PostPosted: Wed Nov 02, 2011 3:52 am    Post subject: Crossdev autotools library checks failing Reply with quote

Anytime I try and cross-emerge packages right now, the autotools library checks usually seem to fail ("checking for gzopen in -lz... no"). Come to think of it, how exactly are these supposed to pass when my host system has x64 libs, and the packages are looking for ARM libs?
Back to top
View user's profile Send private message
natesully
n00b
n00b


Joined: 23 Feb 2006
Posts: 49

PostPosted: Wed Nov 02, 2011 11:48 pm    Post subject: Reply with quote

Well, I figured it out to some degree, I need to set CFLAGS and LDFLAGS to point at the includes/libs on the target system. Unfortunately, it does look like some packages ignore those and try to link against host libraries (like libuuid in X stuff, for example). It seems like cross compiling is not as easy as it looked at first.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum