[Yhc] build on x86-64 fails with undefined references
Kartik Vaddadi
itskartik at iitb.ac.in
Thu Sep 14 09:53:02 EDT 2006
Thank you once again. You shouldn't have bothered, given that I already
have things working (and I need the uname hack to build other software).
But thanks a lot for going out of your way to help me :)
Tom Shackell wrote:
> Yhc does indeed work on (fully) 64-bit platforms but apparently not on
> 32-bit distros running on 64-bit kernels.
>
> We suspect the problem is that the architecture detects x86_64 (from
> the kernel) and then builds for that. But then nothing links because
> you don't have the 64bit development libraries. This is why your uname
> hack works, it makes the build script think you're running an x86 kernel.
>
> In the long run you're probably better off sticking with either both
> 64bit kernel and distro or both 32bit. I suspect you'll get a lot of
> trouble trying to build almost anything with a 'mixed' system. It's
> also worth remembering 64bit is still quite capable of running 32bit
> applications in Ubuntu (I run 64-bit ubuntu).
>
> Anyhow, I've asked Andrew to add an option to the build to force the
> architecture. When that's done you should be able to repull the source
> and try rebuilding with:
>
> scons arch=x86
>
> Hope that helps.
>
--
Kartik Vaddadi.
Home: www.cse.iitb.ac.in/~kart
Blogs: kartik.infogami.com, kartik-log.blogspot.com, kartik-rlog.blogspot.com
Alternate mail ID: kartik.vad at gmail.com
"50% Reservation, 100% Politics" - Protest the Indian government's decision to increase reservation in private educational institutions (yfemumbai.blogspot.com)
More information about the Yhc
mailing list