On Mon, Mar 21, 2011 at 5:23 PM, Guenter Knauf <fua...@apache.org> wrote: > Am 21.03.2011 20:51, schrieb Jeff Trawick: >> >> On Mon, Mar 21, 2011 at 3:12 PM, William A. Rowe Jr. >> <wr...@rowe-clan.net> wrote: >>> >>> On 3/21/2011 12:56 PM, Jeff Trawick wrote: >>>> >>>> apr 1.4 doesn't link for me (undefined reference to CreateHardLinkW), >>> >>> That's odd, it's in kernel32.dll. A broken kernel32.dll.a/kernel32.lib >>> file, >>> perhaps? >>> >> >> part of it was a missing define to say we're on NT>= some value (a >> commit from you ~1.5 years ago); without it, we skip over the defs in >> winbase.h) >> >> that may be all, but it is mixed in with a bunch of other backports to >> 1.4.x >> > I wonder how you convince APR to link DLLs at all - for me that doesnt work, > I only get a static lib ...
I don't get DLLs. Check recent activity for bug 46175 for an update about that. > what version are you using? I tried with relative new one: > $ msysinfo > msysinfo-1.3: Send this to the MSYS support list: > > MSYS 1.0.16(0.48/3/2) 2010-09-29 00:07 i686 unknown; targ=MINGW32 > GNU bash, version 3.1.17(1)-release (i686-pc-msys); ENV=.profile > GNU Make 3.81This program built for i686-pc-msys; MAKE_MODE=unix > gcc.exe (GCC) 4.5.2; targ=MINGW32 I have those versions. > > and also with mingw32-cross on SuSE 11.1 Linux: > $ i686-pc-mingw32-gcc -v > Using built-in specs. > Target: i686-pc-mingw32 > Configured with: ../configure --prefix=/usr --bindir=/usr/bin > --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 > --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share > --build=x86_64-suse-linux-gnu --host=x86_64-suse-linux-gnu > --target=i686-pc-mingw32 --with-gnu-as --with-gnu-ld --verbose > --without-newlib --disable-multilib --with-system-zlib --disable-nls > --without-included-gettext --disable-win32-registry > --enable-version-specific-runtime-libs > --with-sysroot=/usr/i686-pc-mingw32/sys-root > --enable-languages=c,c++,java,fortran,objc,obj-c++ --enable-libgcj > --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug > --enable-hash-synchronization > Thread model: win32 > gcc version 4.3.3 (GCC) > > the build logs look similar, and both build no DLLs ... > here are the build logs and the script I used: > http://people.apache.org/~fuankg/mingw/ > > Gün.