bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: `S_IXOTH' undeclared in Mingw32


From: haibin zhang
Subject: error: `S_IXOTH' undeclared in Mingw32
Date: Sun, 28 Aug 2005 15:54:49 +0800 (CST)

HI All:

   When I use autoconf,automake and libtool to build
project in Mingw32 (autoconf-2.59,automake-1.9.6 and
libtool-1.5.18 ), it occured the following error:

creating dirTest.exe
./.libs/lt-dirTest.exe.c: In function `main':
./.libs/lt-dirTest.exe.c:109: warning: passing arg 2
of `execv' from incompatible pointer type
./.libs/lt-dirTest.exe.c: In function
`check_executable':
./.libs/lt-dirTest.exe.c:156: error: `S_IXOTH'
undeclared (first use in this function)
./.libs/lt-dirTest.exe.c:156: error: (Each undeclared
identifier is reported only once
./.libs/lt-dirTest.exe.c:156: error: for each function
it appears in.)
./.libs/lt-dirTest.exe.c:157: error: `S_IXGRP'
undeclared (first use in this function)

now I replication it

I don't have autoconf,automake and libtool in Mingw32,
so I use autoconf,automake and libtool in Cygwin 
(autoconf-2.59,automake-1.9.5 and libtool-1.5.18)

I use following steps to create configure file in
cygwin

libtoolize -c --force --automake

aclocal
autoheader
autoconf
automake -a -c

when I use autoconf-2.59,automake-1.9.6 and
libtool-1.5.18 in Mingw32 to create configure, it
don't occured error , But still have warning:
./.libs/lt-dirTest.exe.c:109: warning: passing arg 2
of `execv' from incompatible pointer type


How can I fix this bug

regards

Zhang haibin



        

        
                
___________________________________________________________ 
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 
http://cn.mail.yahoo.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]