This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libwin32-perl-0.191 (ready for upload and testing)


Hallo Rafael,


> 4. The build option the second time runs until this error stops the
> build:

> gcc -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
> -DUSEIMPORTLIB -O2   -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" 
> "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"   Net.c
> Net.xs:9:22: lmUseFlg.h: No such file or directory
> Net.xs:10:22: lmAccess.h: No such file or directory
> Net.xs:11:22: lmAPIBuf.h: No such file or directory
> Net.xs:15:22: lmServer.h: No such file or directory
> Net.xs: In function `allocUserInfoX':
> Net.xs:555: error: `USER_INFO_3' undeclared (first use in this function)
> [...more errors...]


Unless you use CYGWIN=check_case:strict in your environment this seems
to work:
$ diff -u hints/cygwin.pl~ hints/cygwin.pl
--- hints/cygwin.pl~    2003-12-30 22:09:45.968747200 +0100
+++ hints/cygwin.pl     2003-12-30 22:09:38.257659200 +0100
@@ -20,7 +20,7 @@
        }
 }
 
-$self->{CCFLAGS} .= $Config{ccflags} . " -pipe ";
+$self->{CCFLAGS} .= $Config{ccflags} . " -pipe -I/usr/include/w32api";
 $self->{CCFLAGS} =~ s|-I/usr/local/include/?||g;
 
 $self->{clean}{FILES} .= ' *.res *.o *.obj vc*.pdb TMP*.$$$ dll.base dll.exp *.stackdump ';



Gerrit
-- 
=^..^=



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]