Re: Building 0.8.4 standalone

Matti Lattu <[email protected]> Mon, 18 Oct 2004 20:20:38 +0300
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Matthew,

Removing the extra ';' solved the problem. Thanks once again for your help.

My gcc is 2.96.

r. Matti L


Matthew Allum wrote:
> Hi;
> 
> There appears to be a stray extra ';' on line 1545 of wm.c. My
> compiler seems to ignore it but yours does not. If you remove it it
> should build. 
> 
>   -- Matthew
> 
> on Mon, Oct 18, 2004 at 03:48:42PM +0300, Matti Lattu wrote:
> 
>>Hi
>>
>>I'm trying to compile 0.8.4 window manager from 
>>matchbox-window-manager-0.8.4.tar.gz. My configure options 
>>(--disable-xft --disable-png --disable-keyboard --enable-standalone 
>>--x-includes=/usr/X11R6/libs/ --disable-ping-protocol --with-x) result 
>>following notes from ./configure:
>>
>>                   Matchbox-wm 0.8.4
>>                 ======================
>>
>>       prefix:                 /usr/local
>>       source code location:   .
>>       compiler:               gcc  -L/usr/X11R6/lib
>>
>>       Building with Debug:                no
>>       Building with gcov:                 no
>>       Building with gprof:                no
>>
>>       Building Standalone:                yes
>>       Building Standalone with Xft:       no
>>
>>       Building with Keyboard:             no
>>       Building with wm ping protocol:     no
>>       Building with Message Windows:      no
>>       Building with Expat:                no
>>       Building with XSettings:
>>       Building with Startup-Notification: no
>>       Building with GConf:                no
>>       Building with composite manager:    no
>>
>>Looks good. However, the make process fails:
>>
>>make  all-recursive
>>make[1]: Entering directory 
>>`/root/kioski_ltsp/matchbox/matchbox-window-manager-0.8.4'
>>Making all in src
>>make[2]: Entering directory 
>>`/root/kioski_ltsp/matchbox/matchbox-window-manager-0.8.4/src'
>>if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\" 
>>-DPKGDATADIR=\"/usr/local/share/matchbox\" -DPREFIX=\"/usr/local\" -g 
>>-Wall -fno-strict-aliasing    -DNO_KBD -DNO_PING        -g -O2 -MT 
>>main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
>>then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f 
>>".deps/main.Tpo"; exit 1; fi
>>if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/local/share\" 
>>-DPKGDATADIR=\"/usr/local/share/matchbox\" -DPREFIX=\"/usr/local\" -g 
>>-Wall -fno-strict-aliasing    -DNO_KBD -DNO_PING        -g -O2 -MT wm.o 
>>-MD -MP -MF ".deps/wm.Tpo" -c -o wm.o wm.c; \
>>then mv -f ".deps/wm.Tpo" ".deps/wm.Po"; else rm -f ".deps/wm.Tpo"; exit 
>>1; fi
>>wm.c: In function `wm_event_loop':
>>wm.c:653: warning: unused variable `hung_app_timer'
>>wm.c: In function `wm_make_new_client':
>>wm.c:1545: parse error before `unsigned'
>>wm.c:1553: `old_main_client' undeclared (first use in this function)
>>wm.c:1553: (Each undeclared identifier is reported only once
>>wm.c:1553: for each function it appears in.)
>>wm.c:1563: `c' undeclared (first use in this function)
>>wm.c:1568: `status' undeclared (first use in this function)
>>wm.c:1570: `format' undeclared (first use in this function)
>>wm.c:1571: `n' undeclared (first use in this function)
>>wm.c:1571: `extra' undeclared (first use in this function)
>>wm.c:1663: `mwm_flags' undeclared (first use in this function)
>>wm.c:1677: `t' undeclared (first use in this function)
>>wm.c:1683: `wmhints' undeclared (first use in this function)
>>wm.c:1747: `val' undeclared (first use in this function)
>>wm.c:1797: warning: control reaches end of non-void function
>>make[2]: *** [wm.o] Error 1
>>make[2]: Leaving directory 
>>`/root/kioski_ltsp/matchbox/matchbox-window-manager-0.8.4/src'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory 
>>`/root/kioski_ltsp/matchbox/matchbox-window-manager-0.8.4'
>>make: *** [all] Error 2
>>
>>Am I missing something?
>>
>>r. Matti L
>>
>>
>>_______________________________________________
>>Matchbox mailing list
>>[email protected]
>>https://handhelds.org/mailman/listinfo/matchbox
>>