Provando a compilare un driver unichrome su una Mepis 6.5 mi viene fuori una serie di errori:
Ho evidenziato quello che mi sembra l'errore principale ma non so come porvi rimedio...codice:root@2[openchrome]# make make all-recursive make[1]: Entering directory `/root/openchrome' Making all in unichrome make[2]: Entering directory `/root/openchrome/unichrome' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF ".deps/via_accel.Tpo" -c -o via_accel.lo via_accel.c; \ then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f ".deps/via_accel.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT via_accel.lo -MD -MP -MF .deps/via_accel.Tpo -c via_accel.c -fPIC -DPIC -o .libs/via_accel.o In file included from via_accel.c:45: via_driver.h:73:23: error: GL/glxint.h: No such file or directory In file included from via_accel.c:45: via_driver.h:319: error: syntax error before '__GLXvisualConfig' via_driver.h:319: warning: no semicolon at end of struct or union via_driver.h:369: error: syntax error before '}' token via_driver.h:369: warning: data definition has no type or storage class via_driver.h:432: error: syntax error before 'pVia' via_accel.c: In function 'viaFlushPCI': via_accel.c:86: error: syntax error before 'pVia' via_accel.c:92: error: 'pVia' undeclared (first use in this function) via_accel.c:92: error: (Each undeclared identifier is reported only once via_accel.c:92: error: for each function it appears in.) via_accel.c: In function 'viaFlushDRIEnabled': via_accel.c:141: error: syntax error before 'pVia' via_accel.c:151: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupCBuffer': via_accel.c:189: error: syntax error before 'pVia' via_accel.c:205: error: 'pVia' undeclared (first use in this function) via_accel.c: At top level: via_accel.c:229: error: syntax error before 'pVia' via_accel.c: In function 'viaInitAgp': via_accel.c:231: error: 'pVia' undeclared (first use in this function) via_accel.c: At top level: via_accel.c:253: error: syntax error before 'pVia' via_accel.c: In function 'viaEnableVQ': via_accel.c:256: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaDisableVQ': via_accel.c:294: error: syntax error before 'pVia' via_accel.c:296: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaInitialize2DEngine': via_accel.c:338: error: syntax error before 'pVia' via_accel.c:339: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelSync': via_accel.c:368: error: syntax error before 'pVia' via_accel.c:373: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetClippingRectangle': via_accel.c:388: error: syntax error before 'pVia' via_accel.c:389: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaDisableClipping': via_accel.c:405: error: syntax error before 'pVia' via_accel.c:406: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForScreenToScreenCopy': via_accel.c:556: error: syntax error before 'pVia' via_accel.c:558: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentScreenToScreenCopy': via_accel.c:579: error: syntax error before 'pVia' via_accel.c:580: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForSolidFill': via_accel.c:603: error: syntax error before 'pVia' via_accel.c:604: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentSolidFillRect': via_accel.c:616: error: syntax error before 'pVia' via_accel.c:617: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForMono8x8PatternFill': via_accel.c:649: error: syntax error before 'pVia' via_accel.c:651: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentMono8x8PatternFillRect': via_accel.c:675: error: syntax error before 'pVia' via_accel.c:677: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForColor8x8PatternFill': via_accel.c:709: error: syntax error before 'pVia' via_accel.c:710: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentColor8x8PatternFillRect': via_accel.c:724: error: syntax error before 'pVia' via_accel.c:726: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForCPUToScreenColorExpandFill': via_accel.c:763: error: syntax error before 'pVia' via_accel.c:765: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentScanlineCPUToScreenColorExpandFill': via_accel.c:789: error: syntax error before 'pVia' via_accel.c:790: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForImageWrite': via_accel.c:816: error: syntax error before 'pVia' via_accel.c:817: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentImageWriteRect': via_accel.c:831: error: syntax error before 'pVia' via_accel.c:832: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForSolidLine': via_accel.c:855: error: syntax error before 'pVia' via_accel.c:856: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentSolidTwoPointLine': via_accel.c:875: error: syntax error before 'pVia' via_accel.c:877: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSubsequentSolidHorVertLine': via_accel.c:939: error: syntax error before 'pVia' via_accel.c:940: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaSetupForDashedLine': via_accel.c:969: error: syntax error before 'pVia' via_accel.c:972: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaInitXAA': via_accel.c:1020: error: syntax error before 'pVia' via_accel.c:1027: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelMarkSync': via_accel.c:1132: error: syntax error before 'pVia' via_accel.c:1134: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelWaitMarker': via_accel.c:1163: error: syntax error before 'pVia' via_accel.c:1166: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaPrepareSolid': via_accel.c:1184: error: syntax error before 'pVia' via_accel.c:1185: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaSolid': via_accel.c:1210: error: syntax error before 'pVia' via_accel.c:1211: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaPrepareCopy': via_accel.c:1236: error: syntax error before 'pVia' via_accel.c:1237: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaCopy': via_accel.c:1274: error: syntax error before 'pVia' via_accel.c:1275: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaCheckUpload': via_accel.c:1470: error: syntax error before 'pVia' via_accel.c:1473: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelDMADownload': via_accel.c:1506: error: syntax error before 'pVia' via_accel.c:1532: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaDownloadFromScreen': via_accel.c:1597: error: syntax error before 'pVia' via_accel.c:1616: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaTexUploadToScreen': via_accel.c:1651: error: syntax error before 'pVia' via_accel.c:1660: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaUploadToScreen': via_accel.c:1774: error: syntax error before 'pVia' via_accel.c:1788: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaUploadToScratch': via_accel.c:1835: error: syntax error before 'pVia' via_accel.c:1840: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaCheckComposite': via_accel.c:1885: error: syntax error before 'pVia' via_accel.c:1886: error: 'pVia' undeclared (first use in this function) via_accel.c: At top level: via_accel.c:1953: error: syntax error before 'pVia' via_accel.c: In function 'viaIsAGP': via_accel.c:1958: error: 'pVia' undeclared (first use in this function) via_accel.c:1959: error: 'pPix' undeclared (first use in this function) via_accel.c:1963: error: 'offset' undeclared (first use in this function) via_accel.c: At top level: via_accel.c:1972: error: syntax error before 'pVia' via_accel.c: In function 'viaIsOffscreen': via_accel.c:1974: error: 'pPix' undeclared (first use in this function) via_accel.c:1975: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaPrepareComposite': via_accel.c:1985: error: syntax error before 'pVia' via_accel.c:1986: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExaComposite': via_accel.c:2089: error: syntax error before 'pVia' via_accel.c:2090: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaInitExa': via_accel.c:2117: error: syntax error before 'pVia' via_accel.c:2127: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaInitAccel': via_accel.c:2269: error: syntax error before 'pVia' via_accel.c:2274: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaExitAccel': via_accel.c:2394: error: syntax error before 'pVia' via_accel.c:2397: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaFinishInitAccel': via_accel.c:2448: error: syntax error before 'pVia' via_accel.c:2454: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelBlitRect': via_accel.c:2543: error: syntax error before 'pVia' via_accel.c:2544: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelFillRect': via_accel.c:2577: error: syntax error before 'pVia' via_accel.c:2578: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelFillPixmap': via_accel.c:2603: error: syntax error before 'pVia' via_accel.c:2605: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelSyncMarker': via_accel.c:2626: error: syntax error before 'pVia' via_accel.c:2628: error: 'pVia' undeclared (first use in this function) via_accel.c: In function 'viaAccelTextureBlit': via_accel.c:2637: error: syntax error before 'pVia' via_accel.c:2639: error: 'pVia' undeclared (first use in this function) via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from incompatible pointer type via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from incompatible pointer type make[2]: *** [via_accel.lo] Error 1 make[2]: Leaving directory `/root/openchrome/unichrome' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/openchrome' make: *** [all] Error 2
Aiuto!!