Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-06-14 20:36:00

markjolesen
Member
Registered: 2007-06-14
Posts: 3

frame.c:817: error: syntax error before ';' token

followed intsructions (installed all pre-req's; sudo ./xfce4-4.4.1-installer.run)
Getting build error (see below)

Any ideas?

CentOS 4
Linux 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 i686 i386 GNU/Linux

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr//include  -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr//include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/X11R6/include -I/usr//include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0   -I/usr/X11R6/include   -I/usr/include/startup-notification-1.0   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/X11R6/include   -I../common -DPACKAGE_LOCALE_DIR=\"/usr//share/locale\" -DDATADIR=\"/usr//share\" -DPACKAGE_DATADIR=\"/usr//share/xfwm4\" -I/usr//include  -I/usr/X11R6/include -I/usr/include -O2 -pipe -MT xfwm4-frame.o -MD -MP -MF ".deps/xfwm4-frame.Tpo" -c -o xfwm4-frame.o `test -f 'frame.c' || echo './'`frame.c; \
then mv -f ".deps/xfwm4-frame.Tpo" ".deps/xfwm4-frame.Po"; else rm -f ".deps/xfwm4-frame.Tpo"; exit 1; fi
frame.c: In function `frameSetShape':
frame.c:817: error: syntax error before ';' token
frame.c:818: error: syntax error before ';' token
frame.c:819: error: syntax error before ';' token
gmake[2]: *** [xfwm4-frame.o] Error 1
gmake[2]: Leaving directory `/tmp/selfgz411730068/xfwm4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/selfgz411730068/xfwm4'
gmake: *** [all] Error 2
!! Failed to build xfwm4, see the errors above
!! for details on the problem.

   /* Set Input shape when using XShape extension 1.1 and later */
    if (display_info->shape_version >= 1001)
    {
        XShapeCombineShape (display_info->dpy, shape_win, ShapeInput, frameLeft (c), frameTop (c), c->window, ShapeBounding, ShapeSubtract);
        XShapeCombineShape (display_info->dpy, shape_win, ShapeInput, frameLeft (c), frameTop (c), c->window, ShapeInput, ShapeUnion);
        XShapeCombineShape (display_info->dpy, c->frame, ShapeInput, 0, 0, shape_win, ShapeInput, ShapeSet);
    }

Offline

#2 2007-06-15 21:11:35

markjolesen
Member
Registered: 2007-06-14
Posts: 3

Re: frame.c:817: error: syntax error before ';' token

still not resolved, I will leave it for the developers to try and figure out? However, I downloaded source, if def'd out offending code, compiled and installed it. Seems to be running fine.

Offline

#3 2007-06-17 07:04:17

markjolesen
Member
Registered: 2007-06-14
Posts: 3

Re: frame.c:817: error: syntax error before ';' token

additonal note: using a carp DELL insprion laptop 1100 using netbst current and current pkgsrc, i was able to build and install xfce w/o any problems....

Offline

#4 2007-06-17 13:21:14

penguin
Member
Registered: 2007-06-17
Posts: 3

Re: frame.c:817: error: syntax error before ';' token

Offline

#5 2007-06-18 07:07:28

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: frame.c:817: error: syntax error before ';' token

I've send the problem to the xfmw4 developer. He'll probably take a look at it when he has time.

Offline

#6 2007-06-19 20:30:56

mdeka
Member
Registered: 2007-06-19
Posts: 2

Re: frame.c:817: error: syntax error before ';' token

I have the same problem while trying to build xfwm4 from sources. Debian Linux i386 with Xfree86 4.6.0 & newest gtk+

Offline

#7 2007-06-20 20:21:22

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,143
Website

Re: frame.c:817: error: syntax error before ';' token

It was a typo that will be fixed in the 4.4.2 release.

It only affects systems without XShape 1.1.

-- Reply from Olivier

Offline

Board footer

Powered by FluxBB