Cannot build source

Bug #1608316 reported by chacham15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssl-cmake
New
Undecided
Unassigned

Bug Description

The error:

make[6]: Entering directory `/C/Code/myProject/ProjectFiles/openssl_cmake-prefix/src/openssl_cmake-build'
[ 92%] Linking C executable openssl.exe
CMakeFiles/openssl.dir/objects.a(x509.c.obj):x509.c:(.text+0x3074): undefined reference to `__imp_NETSCAPE_X509_it'
CMakeFiles/openssl.dir/objects.a(apps.c.obj):apps.c:(.text+0x1443): undefined reference to `__imp_NETSCAPE_X509_it'
collect2.exe: error: ld returned 1 exit status
apps/CMakeFiles/openssl.dir/build.make:1449: recipe for target `apps/openssl.exe' failed
make[6]: *** [apps/openssl.exe] Error 1

to repro:

add:

include(ExternalProject)

ExternalProject_Add(openssl_cmake
  URL https://launchpad.net/openssl-cmake/1.0.1e/1.0.1e-1/+download/openssl-cmake-1.0.1e-src.tar.gz
  SOURCE_DIR ./srcs/openssl
)

to a cmakelists file and have your target depend on openssl_cmake and then watch it fail to build. system specs: (uname -a) MINGW32_NT-6.1 SERVER1 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys and gcc specs:

Using built-in specs.
COLLECT_GCC=c:\MinGW_64\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/MinGW_64/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.2/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-4.9.2/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-
sysroot=/c/mingw492/x86_64-492-win32-seh-rt_v3-rev1/mingw64 --with-gxx-include-dir=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared --enable-static -
-disable-multilib --enable-languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=win32 --enable-libgomp --enable-libatom
ic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-isl-version-check
 --disable-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls -
-disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw492
/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw492/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw492/prerequisites/x86_64-w64-min
gw32-static --with-isl=/c/mingw492/prerequisites/x86_64-w64-mingw32-static --with-cloog=/c/mingw492/prerequisites/x86_64-w64-mingw32-static --enable-cloog-b
ackend=isl --with-pkgversion='x86_64-win32-seh-rev1, Built by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -
I/c/mingw492/x86_64-492-win32-seh-rt_v3-rev1/mingw64/opt/include -I/c/mingw492/prerequisites/x86_64-zlib-static/include -I/c/mingw492/prerequisites/x86_64-w
64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw492/x86_64-492-win32-seh-rt_v3-rev1/mingw64/opt/include -I/c/mingw492/prerequisites/x86_64-zlib-sta
tic/include -I/c/mingw492/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw492/x86_64-492-win32-seh-rt_v3-rev1/mingw64/op
t/lib -L/c/mingw492/prerequisites/x86_64-zlib-static/lib -L/c/mingw492/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: win32
gcc version 4.9.2 (x86_64-win32-seh-rev1, Built by MinGW-W64 project)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.