Newsgroup: it.comp.os.linux.sys
Titolo: gcc

Ho installato oggi SuSE 10.3 dopo circa due anni di lontananza da linux.
Ho scaricato dei programmi da compilare ma al momento di lanciare " make "
mi sono accorto che non c'era gcc. Ho installato gcc 4.2 dal dvd di
installazione di SuSEe tutte le dipendenze ( anzi o installato
tutti i pacchetti che menzionavano gcc ), ma ora quando lancio make
mi da, per ogni pacchetto che compilo i seguenti output con errore finale :
wmbutton.c:134: warning: implicit declaration of function \u2018DefaultDepth\u2019
wmbutton.c:136: error: \u2018bg_pixel\u2019 undeclared (first use in this function)
wmbutton.c:136: warning: implicit declaration of function \u2018WhitePixel\u2019
wmbutton.c:137: error: \u2018fg_pixel\u2019 undeclared (first use in this function)
wmbutton.c:137: warning: implicit declaration of function \u2018BlackPixel\u2019
wmbutton.c:139: error: \u2018xsizehints\u2019 undeclared (first use in this function)
wmbutton.c:139: error: \u2018USSize\u2019 undeclared (first use in this function)
wmbutton.c:139: error: \u2018USPosition\u2019 undeclared (first use in this function)
wmbutton.c:144: warning: implicit declaration of function \u2018XWMGeometry\u2019
wmbutton.c:155: error: \u2018win\u2019 undeclared (first use in this function)
wmbutton.c:155: warning: implicit declaration of function \u2018XCreateSimpleWindow\u2019
wmbutton.c:166: error: \u2018iconwin\u2019 undeclared (first use in this function)
wmbutton.c:179: error: \u2018pixmask\u2019 undeclared (first use in this function)
wmbutton.c:179: warning: implicit declaration of function \u2018XCreateBitmapFromData\u2019
wmbutton.c:187: warning: implicit declaration of function \u2018XShapeCombineMask\u2019
wmbutton.c:187: error: \u2018ShapeBounding\u2019 undeclared (first use in this function)
wmbutton.c:187: error: \u2018ShapeSet\u2019 undeclared (first use in this function)
wmbutton.c:195: error: \u2018xwmhints\u2019 undeclared (first use in this function)
wmbutton.c:195: warning: implicit declaration of function \u2018XAllocWMHints\u2019
wmbutton.c:196: error: \u2018WindowGroupHint\u2019 undeclared (first use in this function)
wmbutton.c:196: error: \u2018IconWindowHint\u2019 undeclared (first use in this function)
wmbutton.c:196: error: \u2018StateHint\u2019 undeclared (first use in this function)
wmbutton.c:199: error: \u2018WithdrawnState\u2019 undeclared (first use in this function)
wmbutton.c:200: warning: implicit declaration of function \u2018XSetWMHints\u2019
wmbutton.c:202: error: \u2018xclasshint\u2019 undeclared (first use in this function)
wmbutton.c:204: warning: implicit declaration of function \u2018XSetClassHint\u2019
wmbutton.c:206: warning: implicit declaration of function \u2018XSetWMNormalHints\u2019
wmbutton.c:210: warning: implicit declaration of function \u2018XStringListToTextProperty\u2019
wmbutton.c:210: error: \u2018app_name_atom\u2019 undeclared (first use in this function)
wmbutton.c:212: warning: implicit declaration of function \u2018XSetWMName\u2019
wmbutton.c:215: error: \u2018gc\u2019 undeclared (first use in this function)
wmbutton.c:215: warning: implicit declaration of function \u2018XCreateGC\u2019
wmbutton.c:215: error: \u2018GCForeground\u2019 undeclared (first use in this function)
wmbutton.c:215: error: \u2018GCBackground\u2019 undeclared (first use in this function)
wmbutton.c:215: error: \u2018xgcValues\u2019 undeclared (first use in this function)
wmbutton.c:220: warning: implicit declaration of function \u2018XSelectInput\u2019
wmbutton.c:221: error: \u2018ExposureMask\u2019 undeclared (first use in this function)
wmbutton.c:222: error: \u2018ButtonPressMask\u2019 undeclared (first use in this function)
wmbutton.c:223: error: \u2018ButtonReleaseMask\u2019 undeclared (first use in this function)
wmbutton.c:224: error: \u2018PointerMotionMask\u2019 undeclared (first use in this function)
wmbutton.c:225: error: \u2018StructureNotifyMask\u2019 undeclared (first use in this function)
wmbutton.c:226: error: \u2018LeaveWindowMask\u2019 undeclared (first use in this function)
wmbutton.c:236: warning: implicit declaration of function \u2018XSetCommand\u2019
wmbutton.c:240: warning: implicit declaration of function \u2018XMapWindow\u2019
wmbutton.c:248: warning: implicit declaration of function \u2018XPending\u2019
wmbutton.c:249: warning: implicit declaration of function \u2018XNextEvent\u2019
wmbutton.c:249: error: \u2018report\u2019 undeclared (first use in this function)
wmbutton.c:251: error: \u2018Expose\u2019 undeclared (first use in this function)
wmbutton.c:259: error: \u2018ConfigureNotify\u2019 undeclared (first use in this function)
wmbutton.c:264: error: \u2018MotionNotify\u2019 undeclared (first use in this function)
wmbutton.c:285: error: \u2018LeaveNotify\u2019 undeclared (first use in this function)
wmbutton.c:294: error: \u2018ButtonPress\u2019 undeclared (first use in this function)
wmbutton.c:299: error: \u2018Button1\u2019 undeclared (first use in this function)
wmbutton.c:311: error: \u2018Button2\u2019 undeclared (first use in this function)
wmbutton.c:325: error: \u2018Button3\u2019 undeclared (first use in this function)
wmbutton.c:339: error: \u2018ButtonRelease\u2019 undeclared (first use in this function)
wmbutton.c:381: error: \u2018DestroyNotify\u2019 undeclared (first use in this function)
wmbutton.c:386: warning: implicit declaration of function \u2018XFreeGC\u2019
wmbutton.c:387: warning: implicit declaration of function \u2018XDestroyWindow\u2019
wmbutton.c:389: warning: implicit declaration of function \u2018XCloseDisplay\u2019
wmbutton.c: In function \u2018redraw\u2019:
wmbutton.c:430: warning: implicit declaration of function \u2018XCopyArea\u2019
wmbutton.c:430: error: \u2018display\u2019 undeclared (first use in this function)
wmbutton.c:430: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:430: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:430: error: \u2018gc\u2019 undeclared (first use in this function)
wmbutton.c:431: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:431: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:447: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:447: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:461: warning: implicit declaration of function \u2018XSetForeground\u2019
wmbutton.c:461: error: \u2018bg_pixel\u2019 undeclared (first use in this function)
wmbutton.c:462: warning: implicit declaration of function \u2018XDrawLine\u2019
wmbutton.c:462: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:464: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:466: error: \u2018fg_pixel\u2019 undeclared (first use in this function)
wmbutton.c:467: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:469: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:473: warning: implicit declaration of function \u2018flush_expose\u2019
wmbutton.c:473: error: \u2018win\u2019 undeclared (first use in this function)
wmbutton.c:474: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:475: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:475: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:476: error: \u2018iconwin\u2019 undeclared (first use in this function)
wmbutton.c:477: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:478: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:478: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c: In function \u2018getPixmaps\u2019:
wmbutton.c:516: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:516: error: \u2018XpmReturnPixels\u2019 undeclared (first use in this function)
wmbutton.c:516: error: \u2018XpmReturnExtensions\u2019 undeclared (first use in this function)
wmbutton.c:517: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:518: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:523: warning: implicit declaration of function \u2018XpmCreatePixmapFromData\u2019
wmbutton.c:523: error: \u2018display\u2019 undeclared (first use in this function)
wmbutton.c:523: error: \u2018rootwin\u2019 undeclared (first use in this function)
wmbutton.c:524: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:524: error: \u2018XpmIcon\u2019 has no member named \u2018mask\u2019
wmbutton.c:525: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:525: error: \u2018XpmSuccess\u2019 undeclared (first use in this function)
wmbutton.c:530: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:530: error: \u2018XpmIcon\u2019 has no member named \u2018mask\u2019
wmbutton.c:531: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:537: warning: implicit declaration of function \u2018XpmReadFileToPixmap\u2019
wmbutton.c:538: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:538: error: \u2018XpmIcon\u2019 has no member named \u2018mask\u2019
wmbutton.c:539: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
wmbutton.c:549: error: \u2018XpmIcon\u2019 has no member named \u2018pixmap\u2019
wmbutton.c:549: error: \u2018XpmIcon\u2019 has no member named \u2018mask\u2019
wmbutton.c:550: error: \u2018XpmIcon\u2019 has no member named \u2018attributes\u2019
make: *** [wmbutton.o] Error 1
Qualcuno ha qualche idea ? 

 
a occhio ti mancano delle librerie.
guarda nel readme del programma per vedere cosa devi avere installato


ok, ho risolto, mancavano i pacchetti di " base development "