View previous topic :: View next topic |
Author |
Message |
ColinK Tux's lil' helper
Joined: 30 Dec 2005 Posts: 142
|
Posted: Sun Apr 02, 2006 5:10 pm Post subject: Is it possible to mix 32/64-bit? |
|
|
Is it possible to compile a 64-bit application against 32-bit libraries |
|
Back to top |
|
|
avendesora Veteran
Joined: 16 Aug 2002 Posts: 1739 Location: Betelgeuse vicinity
|
Posted: Sun Apr 02, 2006 5:26 pm Post subject: |
|
|
no.
You can't link 64bit exe to 32bit so files. (You can't do the reverse either.) |
|
Back to top |
|
|
ColinK Tux's lil' helper
Joined: 30 Dec 2005 Posts: 142
|
Posted: Sun Apr 02, 2006 5:45 pm Post subject: |
|
|
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Apr 02, 2006 5:49 pm Post subject: |
|
|
Is the driver 64bit native? Need to really provide more information before people can help. |
|
Back to top |
|
|
ColinK Tux's lil' helper
Joined: 30 Dec 2005 Posts: 142
|
Posted: Sun Apr 02, 2006 6:08 pm Post subject: |
|
|
The problem with more information is, that I don't know much more. I'm just asking to help someone else.
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 |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Apr 02, 2006 6:13 pm Post subject: |
|
|
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 |
|
|
|