Re: Problems building snap-20021114

2002-11-15 Thread Alex Wallis
S. Anderson wrote:
 
 Bindings.c: In function `__compare_binding':
 Bindings.c:500: parse error before `)'
 Bindings.c:505: warning: control reaches end of non-void function
 Bindings.c: In function `MatchBindingExactly':
 Bindings.c:585: parse error before `)'
 Bindings.c:590: warning: control reaches end of non-void function
 make[2]: *** [Bindings.o] Error 1
 make[2]: Leaving directory `/home/sa/src/fvwm/libs'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/sa/src/fvwm'
 make: *** [all-recursive-am] Error 2
 
 if I comment out the if statments at line 500 and 585 it compiles fine.
 also it works without modifications on another system with libstroke.
 

On my new redhat 8.0 system I got exactly the same errors (from current
cvs) until I installed the libstroke package from tarball source, then
it compiles fine! I suspect there's only a problem if you don't have
libstroke.


Alex
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Problems building snap-20021114

2002-11-15 Thread Dominik Vogt
On Thu, Nov 14, 2002 at 08:32:16PM -0700, S. Anderson wrote:
 On Thu, Nov 14, 2002 at 02:05:48PM +0100, Dominik Vogt wrote:
  On Thu, Nov 14, 2002 at 06:32:58AM -0600, Jason L Tibbitts III wrote:
   /home/tibbs/fvwm/fvwm/session.c:232: the use of `tempnam' is dangerous, 
   better use `mkstemp'
   events.o: In function `__handle_key_event':
   /home/tibbs/fvwm/fvwm/events.c:1960: undefined reference to 
   `CheckTwoBindings'
   /home/tibbs/fvwm/fvwm/events.c:1966: undefined reference to `MyXGrabKey'
   /home/tibbs/fvwm/fvwm/events.c:1976: undefined reference to 
   `CheckTwoBindings'
   /home/tibbs/fvwm/fvwm/events.c:2000: undefined reference to `MyXUngrabKey'
   bindings.o: In function `activate_binding':
   /home/tibbs/fvwm/fvwm/bindings.c:113: undefined reference to 
   `MyXUngrabKey'
   collect2: ld returned 1 exit status
  
  That works in CVS.  I guess that tarball was built while I was checking
  in my changes.
  
 
 I just checked out fvwm-cvs at Thu Nov 14 20:19:49 MST 2002
 
 and it dies here:
 
 Bindings.c: In function `__compare_binding':
 Bindings.c:500: parse error before `)'
 Bindings.c:505: warning: control reaches end of non-void function
 Bindings.c: In function `MatchBindingExactly':
 Bindings.c:585: parse error before `)'
 Bindings.c:590: warning: control reaches end of non-void function

Fixed.

Bye

Dominik ^_^  ^_^
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Problems building snap-20021114

2002-11-14 Thread Dominik Vogt
On Thu, Nov 14, 2002 at 06:32:58AM -0600, Jason L Tibbitts III wrote:
 /home/tibbs/fvwm/fvwm/session.c:232: the use of `tempnam' is dangerous, 
 better use `mkstemp'
 events.o: In function `__handle_key_event':
 /home/tibbs/fvwm/fvwm/events.c:1960: undefined reference to `CheckTwoBindings'
 /home/tibbs/fvwm/fvwm/events.c:1966: undefined reference to `MyXGrabKey'
 /home/tibbs/fvwm/fvwm/events.c:1976: undefined reference to `CheckTwoBindings'
 /home/tibbs/fvwm/fvwm/events.c:2000: undefined reference to `MyXUngrabKey'
 bindings.o: In function `activate_binding':
 /home/tibbs/fvwm/fvwm/bindings.c:113: undefined reference to `MyXUngrabKey'
 collect2: ld returned 1 exit status

That works in CVS.  I guess that tarball was built while I was checking
in my changes.

Bye

Dominik ^_^  ^_^
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: Problems building snap-20021114

2002-11-14 Thread S. Anderson
On Thu, Nov 14, 2002 at 02:05:48PM +0100, Dominik Vogt wrote:
 On Thu, Nov 14, 2002 at 06:32:58AM -0600, Jason L Tibbitts III wrote:
  /home/tibbs/fvwm/fvwm/session.c:232: the use of `tempnam' is dangerous, 
  better use `mkstemp'
  events.o: In function `__handle_key_event':
  /home/tibbs/fvwm/fvwm/events.c:1960: undefined reference to 
  `CheckTwoBindings'
  /home/tibbs/fvwm/fvwm/events.c:1966: undefined reference to `MyXGrabKey'
  /home/tibbs/fvwm/fvwm/events.c:1976: undefined reference to 
  `CheckTwoBindings'
  /home/tibbs/fvwm/fvwm/events.c:2000: undefined reference to `MyXUngrabKey'
  bindings.o: In function `activate_binding':
  /home/tibbs/fvwm/fvwm/bindings.c:113: undefined reference to `MyXUngrabKey'
  collect2: ld returned 1 exit status
 
 That works in CVS.  I guess that tarball was built while I was checking
 in my changes.
 

I just checked out fvwm-cvs at Thu Nov 14 20:19:49 MST 2002

and it dies here:

[EMAIL PROTECTED] fvwm $ make
make  all-recursive
make[1]: Entering directory `/home/sa/src/fvwm'
Making all in libs
make[2]: Entering directory `/home/sa/src/fvwm/libs'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c gravity.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c Flocale.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c PictureUtils.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c FScreen.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c Graphics.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c PictureGraphics.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include/freetype2 -I/usr/X11R6/inc
lude -g -O2 -Wall -Wno-implicit-int -c Bindings.c
Bindings.c: In function `__compare_binding':
Bindings.c:500: parse error before `)'
Bindings.c:505: warning: control reaches end of non-void function
Bindings.c: In function `MatchBindingExactly':
Bindings.c:585: parse error before `)'
Bindings.c:590: warning: control reaches end of non-void function
make[2]: *** [Bindings.o] Error 1
make[2]: Leaving directory `/home/sa/src/fvwm/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sa/src/fvwm'
make: *** [all-recursive-am] Error 2

if I comment out the if statments at line 500 and 585 it compiles fine.
also it works without modifications on another system with libstroke.

hth,
sa
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]