Fw: wip/MesaLib-dri
Ondrej Tuma <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Organization | Blackmouse |
| Message-ID | <[email protected]> |
Hi, i try to compile this package on Linux.. and... i got error on Mesa-7.0.1/src/mesa/main/execmem.c error: `MAP_ANONYMOUS' undeclared (first use in this function) problem is, that i don't know why.. but __USE_MISC is not defined, and MAP_ANONYMOUS is depended on that. So i add line '#define __USE_MISC' before '#include <sys/mmap.h>' and all compile ends right. another problem is in compile file Mesa-7.0.1/src/mesa/drivers/dri/common/xmlconfig.c :917: error: `program_invocation_short_name' undeclared (first use in this function) here i must defined __USE_GNU before line '# include <errno.h>' next problem is with Mesa-7.0.1/src/glw/*.* GLwDrawAP.h:49: error: syntax error before "caddr_t" GLwDrawAP.h:49: warning: no semicolon at end of struct or union GLwDrawAP.h:50: warning: type defaults to `int' in declaration of `GLwDrawingAreaClassPart' GLwDrawAP.h:50: warning: data definition has no type or storage class GLwDrawAP.h:69: error: syntax error before "GLwDrawingAreaClassPart" GLwDrawAP.h:69: warning: no semicolon at end of struct or union GLwDrawAP.h:70: warning: type defaults to `int' in declaration of `GLwDrawingAreaClassRec' GLwDrawAP.h:70: warning: data definition has no type or storage class GLwDrawAP.h:72: error: syntax error before "glwDrawingAreaClassRec" GLwDrawAP.h:72: warning: type defaults to `int' in declaration of `glwDrawingAreaClassRec' GLwDrawAP.h:72: warning: data definition has no type or storage classGLwDrawAP.h GLwDrawA.c:294: error: syntax error before "glwDrawingAreaClassRec" GLwDrawA.c:294: warning: type defaults to `int' in declaration of `glwDrawingAreaClassRec' GLwDrawA.c:295: warning: braces around scalar initializer here is problem with caddr_t ... i did't find what is not declared, so i simple add this line to GLwDrawAP.h: typedef char * caddr_t; after that, build finish right. Full log from bulk-build is here: http://linux.blackmouse.biz/pub/blackmouse-current/i686/pkgstat/20070826.1526/wip/MesaLib-dri/.broken.html but when i try your this version from pkgsrc/graphics (i have it from the short time from cvs) all works righ. note: Here is some packages... which works with this (pkgsrc/graphics) version: http://linux.blackmouse.biz/pub/blackmouse-current/i686/packages-modular/All/ now, i start testing this package (compiling packages and using on PC with dri (sis and intel)) -- Ondrej Tuma Www: www.blackmouse.biz, mcbig.webjet.cz Jabber: [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pkgsrc-wip-review mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG0dn3BmNIPxOnb/IRArAGAJ4mfi/o7JkR0pre762loUB7EELkhACfeoC7 MSNuc1Cys0eqOqXz847mvdM= =PCUU -----END PGP SIGNATURE-----