Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2007 00:40:50 +0200
From:      Bruno Damour <freebsd@ruomad.net>
To:        freebsd-x11@freebsd.org
Subject:   Re: beryl compile fails
Message-ID:  <46424DF2.7090407@ruomad.net>
In-Reply-To: <46424D23.9030704@ruomad.net>
References:  <46424D23.9030704@ruomad.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46424DF2.7090407>