Re: FVWM: compiling fvwm2

From: Mark Powell <medp_at_primag.co.uk>
Date: Thu, 7 Mar 1996 14:25:08 GMT

> From: Charbel Abou Khalil <yvpec_at_westminster.ac.uk>
> Date: Thu, 7 Mar 1996 10:36:54 +0000 (GMT)
>
> Hello,
>
> I have downloaded fvwm.2.0.41.tar.gz file, but When i try to compile using
> make this is the error message that i get:
>
> making all in ./libs...
> cc -O -pipe -I. -I/libs -DSHAPE -DXPM -target sun4 -c CatString3.c
> "CatString3.c", line 12: syntax error at or near type word "char"
..snip
>
> the problem maybe because iam using cc instead of gcc but i could not
> chnage that .

The problem *is* that you're cc. The function CatString3() is defined
using ANSI syntax. I just took a quick look at the rest of lib/ and
lots, if not all, the files use ANSI.

If you have gcc installed, you can use it simply by giving the command
(after making the Makefiles as usual):

        make CC=gcc

Judging by the compiler line included in your error report, this should
work.

If you haven't gcc or some other ANSI compiler you have a big problem :(

-- 
Mark Powell, Senior Software Engineer <medp_at_primag.co.uk>
Primagraphics Limited, Graphics Court, Melbourn Science Park,
Melbourn, Royston, Herts SG8 6EJ, England. Tel. +44 1763 262041
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Mar 07 1996 - 10:55:53 GMT

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