From owner-freebsd-x11@FreeBSD.ORG Wed May 9 23:03:17 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24CAD16A403 for ; Wed, 9 May 2007 23:03:17 +0000 (UTC) (envelope-from freebsd@ruomad.net) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9911013C448 for ; Wed, 9 May 2007 23:03:16 +0000 (UTC) (envelope-from freebsd@ruomad.net) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by postfix2-g20.free.fr (Postfix) with ESMTP id 84EF6FDB9C1 for ; Wed, 9 May 2007 23:41:17 +0200 (CEST) Received: from [192.168.0.100] (vln78-1-82-238-160-33.fbx.proxad.net [82.238.160.33]) by smtp2-g19.free.fr (Postfix) with ESMTP id 8293896AEC for ; Thu, 10 May 2007 00:40:51 +0200 (CEST) Message-ID: <46424DF2.7090407@ruomad.net> Date: Thu, 10 May 2007 00:40:50 +0200 From: Bruno Damour User-Agent: Thunderbird 1.5.0.10 (X11/20070309) MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <46424D23.9030704@ruomad.net> In-Reply-To: <46424D23.9030704@ruomad.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: beryl compile fails X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2007 23:03:17 -0000 Bruno Damour wrote: > Hello > I"m using the up-to-date git repository. > trying to build beryl-core fails with (in libberyldecoration): > > if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT > main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; then mv -f > ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit > 1; fi > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall > -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT > main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o > In file included from main.c:30: > ../include/beryl-decoration.h:25:22: X11/Xlib.h: No such file or > directory > ../include/beryl-decoration.h:26:36: X11/extensions/Xrender.h: No such > file or directory > In file included from main.c:30: > ../include/beryl-decoration.h:129: error: syntax error before "Pixmap" > ../include/beryl-decoration.h:135: error: syntax error before '*' token > ../include/beryl-decoration.h:141: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:152: error: syntax error before "Pixmap" > ../include/beryl-decoration.h:158: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:166: error: syntax error before "Pixmap" > ../include/beryl-decoration.h:171: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:245: error: syntax error before '*' token > ../include/beryl-decoration.h:260: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:263: error: syntax error before '*' token > ../include/beryl-decoration.h:264: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:270: error: syntax error before '*' token > ../include/beryl-decoration.h:271: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:274: error: syntax error before '*' token > ../include/beryl-decoration.h:280: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:295: error: syntax error before '*' token > ../include/beryl-decoration.h:299: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:302: error: syntax error before '*' token > ../include/beryl-decoration.h:311: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:314: error: syntax error before '*' token > ../include/beryl-decoration.h:323: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:326: error: syntax error before '*' token > ../include/beryl-decoration.h:335: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:338: error: syntax error before '*' token > ../include/beryl-decoration.h:347: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:350: error: syntax error before '*' token > ../include/beryl-decoration.h:359: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:366: error: syntax error before '*' token > ../include/beryl-decoration.h:370: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:373: error: syntax error before '*' token > ../include/beryl-decoration.h:374: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:380: error: syntax error before '*' token > ../include/beryl-decoration.h:382: warning: function declaration isn't > a prototype > ../include/beryl-decoration.h:385: error: syntax error before '*' token > ../include/beryl-decoration.h:387: warning: function declaration isn't > a prototype > main.c:32:23: X11/Xatom.h: No such file or directory > main.c:33:25: X11/Xregion.h: No such file or directory > main.c:80: error: syntax error before "Pixmap" > main.c:87: warning: function declaration isn't a prototype > main.c: In function `decor_quads_to_property': > main.c:88: error: `data' undeclared (first use in this function) > main.c:88: error: (Each undeclared identifier is reported only once > main.c:88: error: for each function it appears in.) > main.c:90: error: `pixmap' undeclared (first use in this function) > main.c:90: error: `Pixmap' undeclared (first use in this function) > main.c:92: error: `input' undeclared (first use in this function) > main.c:97: error: `max_input' undeclared (first use in this function) > main.c:102: error: `min_width' undeclared (first use in this function) > main.c:103: error: `min_height' undeclared (first use in this function) > main.c:105: error: `nQuad' undeclared (first use in this function) > main.c:108: error: `quad' undeclared (first use in this function) > main.c: At top level: > main.c:139: error: syntax error before "Pixmap" > main.c:145: warning: function declaration isn't a prototype > main.c: In function `decor_property_to_quads': > main.c:148: error: `size' undeclared (first use in this function) > main.c:151: error: `data' undeclared (first use in this function) > main.c:156: error: `pixmap' undeclared (first use in this function) > main.c:156: error: `Pixmap' undeclared (first use in this function) > main.c:158: error: `input' undeclared (first use in this function) > main.c:163: error: `max_input' undeclared (first use in this function) > main.c:168: error: `min_width' undeclared (first use in this function) > main.c:169: error: `min_height' undeclared (first use in this function) > main.c:177: error: `quad' undeclared (first use in this function) > main.c: In function `decor_apply_gravity': > main.c:217: warning: implicit declaration of function `MAX' > main.c:217: warning: nested extern declaration of `MAX' > main.c:221: warning: implicit declaration of function `MIN' > main.c:221: warning: nested extern declaration of `MIN' > main.c:226: warning: nested extern declaration of `MAX' > main.c:227: warning: nested extern declaration of `MIN' > main.c:234: warning: nested extern declaration of `MAX' > main.c:238: warning: nested extern declaration of `MIN' > main.c:243: warning: nested extern declaration of `MAX' > main.c:244: warning: nested extern declaration of `MIN' > main.c: At top level: > main.c:781: error: syntax error before '*' token > main.c:783: warning: function declaration isn't a prototype > main.c:792: error: syntax error before '*' token > main.c:797: warning: function declaration isn't a prototype > main.c: In function `XRenderSetPictureFilter_wrapper': > main.c:798: error: syntax error before '*' token > main.c:798: warning: function declaration isn't a prototype > main.c:802: warning: implicit declaration of function `XSetErrorHandler' > main.c:802: warning: nested extern declaration of `XSetErrorHandler' > main.c:802: warning: assignment makes pointer from integer without a cast > main.c:804: warning: implicit declaration of function > `XRenderSetPictureFilter' > main.c:804: warning: nested extern declaration of > `XRenderSetPictureFilter' > main.c:804: error: `dpy' undeclared (first use in this function) > main.c:804: error: `picture' undeclared (first use in this function) > main.c:804: error: `filter' undeclared (first use in this function) > main.c:804: error: `params' undeclared (first use in this function) > main.c:804: error: `nparams' undeclared (first use in this function) > main.c:805: warning: implicit declaration of function `XSync' > main.c:805: warning: nested extern declaration of `XSync' > main.c:805: error: `False' undeclared (first use in this function) > main.c:818: error: `XFixed' undeclared (first use in this function) > main.c:818: error: syntax error before ')' token > main.c: At top level: > main.c:827: error: syntax error before '*' token > main.c:831: warning: function declaration isn't a prototype > main.c: In function `set_picture_transform': > main.c:832: error: syntax error before "transform" > main.c: At top level: > main.c:797: warning: 'XRenderSetPictureFilter_wrapper' defined but not > used > main.c:831: warning: 'set_picture_transform' defined but not used > *** Error code 1 > > Am I missing something obvious ? > > Thanks > Bruno > Of course the files _are_ in /usr/local/include/X11 and /usr/local/include/X11/extensions Bruno