This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: lesstiff compilation pb
- To: "Xfree (E-mail)" <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: lesstiff compilation pb
- From: Cedric Bompart <cedric dot bompart at morse dot com>
- Date: Thu, 7 Jun 2001 19:03:56 +0100
thx fixed it!
in the LTconfig.h the CYGWIN const wasn't define
-----Original Message-----
From: Cedric Bompart [mailto:cedric.bompart@morse.com]
Sent: 07 June 2001 18:43
To: Xfree (E-mail)
Subject: RE: lesstiff compilation pb
thx to reply so quickly... :-)
I checked and every thing is defined... and I got getopt.h in /usr/include
Here is my configure call:
./configure --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-production=yes --enable-static=yes
--enable-shared=no
-----Original Message-----
From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
Sent: 07 June 2001 18:36
To: 'Cedric Bompart'; 'cygwin-xfree@sourceware.cygnus.com'
Subject: RE: lesstiff compilation pb
check if main.c includes getopt.h
If not then you need to add to it
#ifdef __CYGWIN__
#include <getopt.h>
#endif
suhaib
> -----Original Message-----
> From: Cedric Bompart [mailto:cedric.bompart@morse.com]
> Sent: Thursday, June 07, 2001 1:29 PM
> To: 'cygwin-xfree@sourceware.cygnus.com'
> Subject: lesstiff compilation pb
>
>
> Hi,
>
> I try to compile lesstiff 0.92.32 and I got this error during the
> compilation:
>
> make[3]: Entering directory `/lesstif-0.92.32/clients/Motif-2.0/uil'
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include
> -I../../../include/Motif-1.2
> -I..
> /../../include/Motif-1.2 -I../../../lib/Mrm
> -I../../
> ../lib/Mrm -I/usr/X11R6/include -g -Wall -c main.c
> main.c: In function `main':
> main.c:82: warning: implicit declaration of function `getopt'
> main.c:91: `optarg' undeclared (first use in this function)
> main.c:91: (Each undeclared identifier is reported only once
> main.c:91: for each function it appears in.)
> main.c:127: `optind' undeclared (first use in this function)
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory `/lesstif-0.92.32/clients/Motif-2.0/uil'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/lesstif-0.92.32/clients/Motif-2.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/lesstif-0.92.32/clients'
> make: *** [all-recursive] Error 1
>
> I compiled/installed the latest version of libtool (1.4), so
> what should I
> do? and I got the latest version of cygwin and xfree...
>
> Thx.
> Ced.
>
> --
> Cedric Bompart, Internet Developer, Morse Hughes Rae
> tel: 01332 826110 mobile: 07931 536934 switchboard: 01332 826000
> email: c.bompart@hughesrae.co.uk
>
> This email and any attachments are confidential and are
> intended only for
> the addressee. If you are not the intended recipient of this
> email and have
> received it in error, please notify the sender immediately by
> reply email
> and then delete it from your system.
>