Re: FVWM: Preprozessor error

From: <midan23_at_gmx.de>
Date: Tue, 19 Nov 2002 17:41:42 +0100 (MET)

> midan23_at_gmx.de writes:
> > > Well, if the only available cpp is broken, you basically have no
> > > working gcc at all, right? I can't think of anything else but to
> > > live with it or let someone else compile it with a working
> > > compiler.
> >
> > Why broken ? I compiled mysql without problems ...
> > blackbox and some other tools are just fine ...
> >
> > But I want fvwm as windowmanager for XDarwin (Xfree on Mac OS X)
>
> You reported that this wouldn't preprocess:
>
> #if RETSIGTYPE != void
>
> It looks valid to me.
>
> Then you reported that you got this linker error:
>
> gcc -g -O2 -o FvwmBacker FvwmBacker.o root_bits.o -L../../libs
> -L/usr/X11R6/lib -lfvwm -lXpm -lSM -lICE -lXext -lX11 -lm
> ld: Undefined symbols:
> _Pcmap
> _Pdepth
> _Pdpy
> _Pvisual
>
> Those symbols should have been in libfvwm.a, located in
> ../../libs. They are defined in libs/PictureBase.c.
> (I'm not sure what adds the "_", but I think they are normal.)
>
> Anyway, it just looks like your compiler isn't working.
>
> We've had other users report successful Fvwm compiles on MacOS.
>
> --
> Dan Espen E-mail: dane_at_mk.telcordia.com
>

I got it !!!
My fix for the preprocessor error :
   I did it myself (fvwm/fvwm.h: lines 120-124)
My fix for those undefined symbols :
   In modules/FvwmBacker I changed the Makefile :
all:
        echo "Removed !!!"
(Means : I don't have the FvwmBacker Module)

But with these changes, I can compile it ...

-- 
Frederic Gobin
Georg-Wopfner-Str. 58
80939 Muenchen
Telefon : 089 / 32 36 91 13
Handy : 0170 / 804 68 52
eMail : mailto:midan23_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Nov 19 2002 - 10:43:23 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST