Re: Do autotools support free Microsoft compiler?

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

 



Richard Dawe wrote:

Hello.

Braden McDaniel wrote:
[snip]

Unfortunately I haven't been able to test this yet. CVS autoconf now appears to want "help2man", which I have not yet succeeded in building/installing on Cygwin. (The attempt sent me on quite a wild goose chase, though: help2man wants perl Locale::gettext wants fresher gettext (than Cygwin packages) wants a C# compiler (!...fortunately this dependency could be disabled).)


Try running configure with --disable-nls. My Linux box doesn't have Locale::gettext, but I can build help2man if I use --disable-nls.

Thanks. But if it ain't one thing...


$ make
gcc -o hacklocaledir.so -fPIC -shared ../hacklocaledir.c
cc1: warning: -fPIC ignored for target (all code is position independent)
../hacklocaledir.c: In function `__open':
../hacklocaledir.c:44: error: `RTLD_NEXT' undeclared (first use in this function)
../hacklocaledir.c:44: error: (Each undeclared identifier is reported only once
../hacklocaledir.c:44: error: for each function it appears in.)
../hacklocaledir.c: At top level:
../hacklocaledir.c:113: warning: weak declaration of `open' not supported
make: *** [hacklocaledir.so] Error 1


Cygwin dlfcn.h does not define RTLD_NEXT. Sigh.

Braden




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux