From: Mike G. <mik...@gm...> - 2005-10-21 19:21:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list, I have problems compiling hpoj with gcc4. I analyzed it and have no solution for this: cc -O -Wall -g -I/usr/src/hpoj-0.91/include - -L/usr/src/hpoj-0.91/lib/hpojip -L/usr/src/hpoj-0.91/lib/ptal - -L/usr/src/hpoj-0.91/lib/sane -DHPOJIP_INTERNAL -fPIC -c -o xjpg_fix.shared.o xjpg_fix.c xjpg_fix.c: In function 'jpgFix_getActualTraits': xjpg_fix.c:512: error: invalid lvalue in assignment xjpg_fix.c:533: error: invalid lvalue in assignment xjpg_fix.c:549: error: invalid lvalue in assignment xjpg_fix.c:560: error: invalid lvalue in assignment xjpg_fix.c:581: error: invalid lvalue in assignment xjpg_fix.c:587: error: invalid lvalue in assignment xjpg_fix.c:595: error: invalid lvalue in assignment xjpg_fix.c:605: error: invalid lvalue in assignment xjpg_fix.c:610: error: invalid lvalue in assignment make[1]: *** [xjpg_fix.shared.o] Error 1 make[1]: Leaving directory `/usr/src/hpoj-0.91/lib/hpojip' make: *** [just_compile] Error 2 It seems that gcc4 changed its behavior in makro-handling, because its the #define MYLOCATE. Does anybody have a hint for this? I just want to scan with my PSC1210, printing works fine with HPLIP but scanning is not working. Greetings Mike -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDWT+6vPgECXfzC+oRAnqCAJ9PwOowoJPnmh7O0hrjpmTJJQJ5zQCgkL93 Lrocb3xjichB7f+Ib4kbQOw= =lgAl -----END PGP SIGNATURE----- |