gimp-2.0.1 fails to compile

Nick Hudson nhudson at lunar-linux.org
Wed Apr 14 12:24:03 GMT 2004


Ok 3 things here.  1) Make sure you are updated to the latest gtk+-2 
version 2.4.0.   2) Might want to try with some other opts besides -O3, 
-O3 sometimes causes things to break.    3) Are you using distcc??  if 
so you might want to try turning that off and compile again.  Gimp 2.0.1 
compiles fine for me running gtk+-2 2.4.0 gcc 3.3.3 and kernel 2.6.5

Nick


Mike Mandel wrote:

>Hello!
>
>gimp-2.0.1 fails to compile:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DPREFIX=\"/usr\" -DGIMPDIR=\".gimp-2.0\" -DDATADIR=\"/usr/share/gimp/2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPLUGINDIR=\"/usr/lib/gimp/2.0\" -DSYSCONFDIR=\"/etc/gimp/2.0\" -DG_LOG_DOMAIN=\"LibGimpBase\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -O3 -mcpu=pentium3 -march=pentium3 -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387 -Wall -MT gimpprotocol.lo -MD -MP -MF .deps/gimpprotocol.Tpo -c gimpprotocol.c  -fPIC -DPIC -o .libs/gimpprotocol.o
>gimpprotocol.c:1415:12: warning: null character(s) ignored
>gimpprotocol.c: In function `_gp_params_read':
>gimpprotocol.c:1415: syntax error before "case"
>gimpprotocol.c:1423: case label not within a switch statement
>gimpprotocol.c:1425: request for member `data' in something not a structure or union
>gimpprotocol.c:1426: request for member `data' in something not a structure or union
>gimpprotocol.c:1431: case label not within a switch statement
>gimpprotocol.c:1433: request for member `data' in something not a structure or union
>gimpprotocol.c:1434: request for member `data' in something not a structure or union
>gimpprotocol.c:1439: case label not within a switch statement
>gimpprotocol.c:1441: request for member `data' in something not a structure or union
>gimpprotocol.c:1453: case label not within a switch statement
>gimpprotocol.c:1456: case label not within a switch statement
>gimpprotocol.c:1458: request for member `data' in something not a structure or union
>gimpprotocol.c:1463: case label not within a switch statement
>gimpprotocol.c:1465: request for member `data' in something not a structure or union
>gimpprotocol.c:1470: case label not within a switch statement
>gimpprotocol.c:1472: request for member `data' in something not a structure or union
>gimpprotocol.c:1477: case label not within a switch statement
>gimpprotocol.c:1479: request for member `data' in something not a structure or union
>gimpprotocol.c:1484: case label not within a switch statement
>gimpprotocol.c:1486: request for member `data' in something not a structure or union
>gimpprotocol.c:1491: case label not within a switch statement
>gimpprotocol.c:1493: request for member `data' in something not a structure or union
>gimpprotocol.c:1498: case label not within a switch statement
>gimpprotocol.c:1500: request for member `data' in something not a structure or union
>gimpprotocol.c:1505: case label not within a switch statement
>gimpprotocol.c:1507: request for member `data' in something not a structure or union
>gimpprotocol.c:1512: case label not within a switch statement
>gimpprotocol.c:1514: request for member `data' in something not a structure or union
>gimpprotocol.c:1535: case label not within a switch statement
>gimpprotocol.c:1537: request for member `data' in something not a structure or union
>gimpprotocol.c:1542: case label not within a switch statement
>gimpprotocol.c:1421: break statement not within loop or switch
>gimpprotocol.c:1429: break statement not within loop or switch
>gimpprotocol.c:1437: break statement not within loop or switch
>gimpprotocol.c:1451: break statement not within loop or switch
>gimpprotocol.c:1454: break statement not within loop or switch
>gimpprotocol.c:1461: break statement not within loop or switch
>gimpprotocol.c:1468: break statement not within loop or switch
>gimpprotocol.c:1475: break statement not within loop or switch
>gimpprotocol.c:1482: break statement not within loop or switch
>gimpprotocol.c:1489: break statement not within loop or switch
>gimpprotocol.c:1496: break statement not within loop or switch
>gimpprotocol.c:1503: break statement not within loop or switch
>gimpprotocol.c:1510: break statement not within loop or switch
>gimpprotocol.c:1519: break statement not within loop or switch
>gimpprotocol.c:1533: break statement not within loop or switch
>gimpprotocol.c:1540: break statement not within loop or switch
>gimpprotocol.c:1543: break statement not within loop or switch
>gimpprotocol.c: At top level:
>gimpprotocol.c:1545: syntax error before '}' token
>gimpprotocol.c:134: warning: `_gp_params_write' declared `static' but never defined
>make[2]: *** [gimpprotocol.lo] Fehler 1
>make[2]: Leaving directory `/usr/src/gimp-2.0.1/libgimpbase'
>make[1]: *** [all-recursive] Fehler 1
>make[1]: Leaving directory `/usr/src/gimp-2.0.1'
>make: *** [all] Fehler 2
>
>
>gimp-2.0.0 built fine a few days ago!
>
>Kernel 2.6.5-mm4, gcc-3.2.3
>
>Thanks for your help,
>
>Mike
>_______________________________________________
>Lunar mailing list
>Lunar at lunar-linux.org
>http://dbguin.lunar-linux.org/mailman/listinfo/lunar
>
>  
>



More information about the Lunar mailing list