Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it possible to mix 32/64-bit?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
ColinK
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 142

PostPosted: Sun Apr 02, 2006 5:10 pm    Post subject: Is it possible to mix 32/64-bit? Reply with quote

Is it possible to compile a 64-bit application against 32-bit libraries :?:
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Sun Apr 02, 2006 5:26 pm    Post subject: Reply with quote

no.
You can't link 64bit exe to 32bit so files. (You can't do the reverse either.)
Back to top
View user's profile Send private message
ColinK
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 142

PostPosted: Sun Apr 02, 2006 5:45 pm    Post subject: Reply with quote

Canon released some drivers (sourcecode + a few 32-bit libraries)

I don't run AMD64, but some who tried my canon-ebuild do. So I don't know much about 64-bit issues.

Is there any workaround? Something like a 64-bit wrapper around 32-bit libraries?
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Sun Apr 02, 2006 5:49 pm    Post subject: Reply with quote

Is the driver 64bit native? Need to really provide more information before people can help.
Back to top
View user's profile Send private message
ColinK
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 142

PostPosted: Sun Apr 02, 2006 6:08 pm    Post subject: Reply with quote

The problem with more information is, that I don't know much more. I'm just asking to help someone else. :roll:

What do you mean by "64bit native"?


Does the following help? It's the Portage-Output from someone having trouble with my ebuild.

Quote:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib64/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcnbpcmcm221.so when searching for -lcnbpcmcm221
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm221
collect2: ld returned 1 exit status
make[2]: *** [bjfilter] Error 1
make[2]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip4100/bjfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixusip4100/bjfilter'
make: *** [all] Error 2

!!! ERROR: net-print/bjfilter-2.50 failed.


"libcnbpcmcm221.so" is beeing shipped by canon along with the sourcecode. But 32-bit. (And I don't have any problem on my 32bit AthlonXP).
Back to top
View user's profile Send private message
uxbod
Guru
Guru


Joined: 30 Dec 2002
Posts: 474
Location: UK

PostPosted: Sun Apr 02, 2006 6:13 pm    Post subject: Reply with quote

64bit native means was the driver designed for 64bit operability only. But what I read from your recent post is that you are asking whether the 32bit release Cannon driver can be built on 64bit AMD64. Well I would imagine that if somebody has enabled 32bit emulation in their 64bit install it should compile okay, as long as the dependancies are available.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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