Newsgroup: it.comp.os.linux.iniziare
Titolo: Compilatore

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 ‘DefaultDepth’
wmbutton.c:136: error: ‘bg_pixel’ undeclared (first use in this function)
wmbutton.c:136: warning: implicit declaration of function ‘WhitePixel’
wmbutton.c:137: error: ‘fg_pixel’ undeclared (first use in this function)
wmbutton.c:137: warning: implicit declaration of function ‘BlackPixel’
wmbutton.c:139: error: ‘xsizehints’ undeclared (first use in this function)
wmbutton.c:139: error: ‘USSize’ undeclared (first use in this function)
wmbutton.c:139: error: ‘USPosition’ undeclared (first use in this function)
wmbutton.c:144: warning: implicit declaration of function ‘XWMGeometry’
wmbutton.c:155: error: ‘win’ undeclared (first use in this function)
wmbutton.c:155: warning: implicit declaration of function ‘XCreateSimpleWindow’
wmbutton.c:166: error: ‘iconwin’ undeclared (first use in this function)
wmbutton.c:179: error: ‘pixmask’ undeclared (first use in this function)
wmbutton.c:179: warning: implicit declaration of function ‘XCreateBitmapFromData’
wmbutton.c:187: warning: implicit declaration of function ‘XShapeCombineMask’
wmbutton.c:187: error: ‘ShapeBounding’ undeclared (first use in this function)
wmbutton.c:187: error: ‘ShapeSet’ undeclared (first use in this function)
wmbutton.c:195: error: ‘xwmhints’ undeclared (first use in this function)
wmbutton.c:195: warning: implicit declaration of function ‘XAllocWMHints’
wmbutton.c:196: error: ‘WindowGroupHint’ undeclared (first use in this function)
wmbutton.c:196: error: ‘IconWindowHint’ undeclared (first use in this function)
wmbutton.c:196: error: ‘StateHint’ undeclared (first use in this function)
wmbutton.c:199: error: ‘WithdrawnState’ undeclared (first use in this function)
wmbutton.c:200: warning: implicit declaration of function ‘XSetWMHints’
wmbutton.c:202: error: ‘xclasshint’ undeclared (first use in this function)
wmbutton.c:204: warning: implicit declaration of function ‘XSetClassHint’
wmbutton.c:206: warning: implicit declaration of function ‘XSetWMNormalHints’
wmbutton.c:210: warning: implicit declaration of function ‘XStringListToTextProperty’
wmbutton.c:210: error: ‘app_name_atom’ undeclared (first use in this function)
wmbutton.c:212: warning: implicit declaration of function ‘XSetWMName’
wmbutton.c:215: error: ‘gc’ undeclared (first use in this function)
wmbutton.c:215: warning: implicit declaration of function ‘XCreateGC’
wmbutton.c:215: error: ‘GCForeground’ undeclared (first use in this function)
wmbutton.c:215: error: ‘GCBackground’ undeclared (first use in this function)
wmbutton.c:215: error: ‘xgcValues’ undeclared (first use in this function)
wmbutton.c:220: warning: implicit declaration of function ‘XSelectInput’
wmbutton.c:221: error: ‘ExposureMask’ undeclared (first use in this function)
wmbutton.c:222: error: ‘ButtonPressMask’ undeclared (first use in this function)
wmbutton.c:223: error: ‘ButtonReleaseMask’ undeclared (first use in this function)
wmbutton.c:224: error: ‘PointerMotionMask’ undeclared (first use in this function)
wmbutton.c:225: error: ‘StructureNotifyMask’ undeclared (first use in this function)
wmbutton.c:226: error: ‘LeaveWindowMask’ undeclared (first use in this function)
wmbutton.c:236: warning: implicit declaration of function ‘XSetCommand’
wmbutton.c:240: warning: implicit declaration of function ‘XMapWindow’
wmbutton.c:248: warning: implicit declaration of function ‘XPending’
wmbutton.c:249: warning: implicit declaration of function ‘XNextEvent’
wmbutton.c:249: error: ‘report’ undeclared (first use in this function)
wmbutton.c:251: error: ‘Expose’ undeclared (first use in this function)
wmbutton.c:259: error: ‘ConfigureNotify’ undeclared (first use in this function)
wmbutton.c:264: error: ‘MotionNotify’ undeclared (first use in this function)
wmbutton.c:285: error: ‘LeaveNotify’ undeclared (first use in this function)
wmbutton.c:294: error: ‘ButtonPress’ undeclared (first use in this function)
wmbutton.c:299: error: ‘Button1’ undeclared (first use in this function)
wmbutton.c:311: error: ‘Button2’ undeclared (first use in this function)
wmbutton.c:325: error: ‘Button3’ undeclared (first use in this function)
wmbutton.c:339: error: ‘ButtonRelease’ undeclared (first use in this function)
wmbutton.c:381: error: ‘DestroyNotify’ undeclared (first use in this function)
wmbutton.c:386: warning: implicit declaration of function ‘XFreeGC’
wmbutton.c:387: warning: implicit declaration of function ‘XDestroyWindow’
wmbutton.c:389: warning: implicit declaration of function ‘XCloseDisplay’
wmbutton.c: In function ‘redraw’:
wmbutton.c:430: warning: implicit declaration of function ‘XCopyArea’
wmbutton.c:430: error: ‘display’ undeclared (first use in this function)
wmbutton.c:430: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:430: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:430: error: ‘gc’ undeclared (first use in this function)
wmbutton.c:431: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:431: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:447: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:447: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:461: warning: implicit declaration of function ‘XSetForeground’
wmbutton.c:461: error: ‘bg_pixel’ undeclared (first use in this function)
wmbutton.c:462: warning: implicit declaration of function ‘XDrawLine’
wmbutton.c:462: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:464: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:466: error: ‘fg_pixel’ undeclared (first use in this function)
wmbutton.c:467: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:469: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:473: warning: implicit declaration of function ‘flush_expose’
wmbutton.c:473: error: ‘win’ undeclared (first use in this function)
wmbutton.c:474: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:475: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:475: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:476: error: ‘iconwin’ undeclared (first use in this function)
wmbutton.c:477: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:478: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:478: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c: In function ‘getPixmaps’:
wmbutton.c:516: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:516: error: ‘XpmReturnPixels’ undeclared (first use in this function)
wmbutton.c:516: error: ‘XpmReturnExtensions’ undeclared (first use in this function)
wmbutton.c:517: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:518: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:523: warning: implicit declaration of function ‘XpmCreatePixmapFromData’
wmbutton.c:523: error: ‘display’ undeclared (first use in this function)
wmbutton.c:523: error: ‘rootwin’ undeclared (first use in this function)
wmbutton.c:524: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:524: error: ‘XpmIcon’ has no member named ‘mask’
wmbutton.c:525: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:525: error: ‘XpmSuccess’ undeclared (first use in this function)
wmbutton.c:530: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:530: error: ‘XpmIcon’ has no member named ‘mask’
wmbutton.c:531: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:537: warning: implicit declaration of function ‘XpmReadFileToPixmap’
wmbutton.c:538: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:538: error: ‘XpmIcon’ has no member named ‘mask’
wmbutton.c:539: error: ‘XpmIcon’ has no member named ‘attributes’
wmbutton.c:549: error: ‘XpmIcon’ has no member named ‘pixmap’
wmbutton.c:549: error: ‘XpmIcon’ has no member named ‘mask’
wmbutton.c:550: error: ‘XpmIcon’ has no member named ‘attributes’
make: *** [wmbutton.o] Error 1
Qualcuno ha qualche idea ?

 Qualcuno ha qualche idea ?
Oltre a cercare di capire se wmbutton esiste anche gia' pronto
nella tua distribuzione? (si')
Ti servono le librerie di sviluppo.
Oltre alle classiche che il compilatore si porta dietro, servono
quelle di X (comprese estensioni e pixmap).
Non so in che pacchetti siano, su suse 10.3.
-- 
           |Save our planet!
    Ciao   |Save wildlife!
   roberto |For your E-MAIL use ONLY recycled Bytes  !!
           |roberto poggi   
rpo...@softhome.net

 tutti i pacchetti che menzionavano gcc ),
hai installato con Yast? Devi selezionare almeno "Base development".
bye, giubbe


Ottimo, effettivamente dopo aver installato il base development
tutto ok.
Mi sa che alla SuSE sono diventati troppo commerciali

 Non so in che pacchetti siano, su suse 10.3.
Ottimo ho installato " base development " ed e tutto ok