Arnie Stender wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
        I'm trying to get printing (CUPS) working and I'm using the online dev
book. I'm getting what looks to me to be gcc4 errors but I dont' know
what to do about it. There is one patch recommended but that only has to
do with testing. Do we have a patch to correct this? I'm building on an
AMD64 pure 64 CLFS system.

Compiling GfxFont.cxx...
GfxFont.cxx: In member function 'Gushort*
Gfx8BitFont::getCodeToGIDMap(TrueTypeFontFile*)':
GfxFont.cxx:972: error: cast from 'void*' to 'int' loses precision
make[1]: *** [GfxFont.o] Error 1
make: *** [all] Error 1

Arnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE3oF9I9lqJPlLBqQRAvzeAJ4qVzjduq18xMlOh81CxbS3PL76HQCfZxlL
WPKb2mIpTVDp1tDeqa1L/us=
=zi19
-----END PGP SIGNATURE-----


Last I knew cups was 32 bit only. You can "fix" this by changing the cast from int to long and cups will compile, but then if you try to use cups to print more than one copy of something, you will get strange results. (i.e. 3 copies becomes 9 in reality, 2 becomes either 4 or 5 I can't remember exactly right now).

Best thing is compile cups as a 32 bit app on a multilib system.

Stan


--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to