Project

General

Profile

Actions

Bug #982

closed

Error compiling Wt in cygwin (make error 134)

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/08/2011
Due date:
% Done:

0%

Estimated time:

Description

Cygwin updated from ftp://mirror.switch.ch

In attach the cygwin setup with base files version displayed.

I have boost 1.43 and gcc 4.5 installed.

$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe

Target: i686-pc-cygwin

Configured with: /gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3/co

nfigure ---srcdir=/gnu/gcc/releases/respins/4.5.3-2/gcc4-4.5.3-2/src/gcc-4.5.3 ---

prefix=/usr ---exec-prefix=/usr ---bindir=/usr/bin ---sbindir=/usr/sbin ---libexecdi

r=/usr/lib ---datadir=/usr/share ---localstatedir=/var ---sysconfdir=/etc ---dataroo

tdir=/usr/share ---docdir=/usr/share/doc/gcc4 -C ---datadir=/usr/share ---infodir=/

usr/share/info ---mandir=/usr/share/man -v ---with-gmp=/usr ---with-mpfr=/usr ---ena

ble-bootstrap ---enable-version-specific-runtime-libs ---libexecdir=/usr/lib ---ena

ble-static ---enable-shared ---enable-shared-libgcc ---disable~~__cxa_atexit ---with~~

gnu-ld ---with-gnu-as ---with-dwarf2 ---disable-sjlj-exceptions ---enable-languages=

ada,c,c,fortran,java,lto,objc,obj-c ---enable-graphite ---enable-lto ---enable-

java-awt=gtk ---disable-symvers ---enable-libjava ---program-suffix=--4 ---enable-lib

gomp ---enable-libssp ---enable-libada ---enable-threads=posix ---with-arch=i686 ---w

ith-tune=generic ---enable-libgcj-sublibs CC=gcc-4 CXX=g--4 CC_FOR_TARGET=gcc-4

CXX_FOR_TARGET=g~~4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind~~

-with-ecj-jar=/usr/share/java/ecj.jar

Thread model: posix

gcc version 4.5.3 (GCC)

Messages when calling cmake:

$ cmake ..

--- The C compiler identification is GNU

--- The CXX compiler identification is GNU

CMake Warning at /usr/share/cmake-2.8.4/Modules/Platform/CYGWIN.cmake:15 (messa

e):

CMake no longer defines WIN32 on Cygwin!

(1) If you are just trying to build this project, ignore this warning or

quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in

the CMake cache. If later configuration or build errors occur then this

project may have been written under the assumption that Cygwin is WIN32.

In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.

(2) If you are developing this project, add the line

set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required

at the top of your top-level CMakeLists.txt file or set the minimum

required version of CMake to 2.8.4 or higher. Then teach your project to

build on Cygwin without WIN32.

Call Stack (most recent call first):

/usr/share/cmake-2.8.4/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLU

E)

CMakeLists.txt:11 (PROJECT)

--- Check for working C compiler: /usr/bin/gcc.exe

--- Check for working C compiler: /usr/bin/gcc.exe --- works

--- Detecting C compiler ABI info

--- Detecting C compiler ABI info - done

--- Check for working CXX compiler: /usr/bin/c.exe

--- Check for working CXX compiler: /usr/bin/c.exe --- works

--- Detecting CXX compiler ABI info

--- Detecting CXX compiler ABI info - done

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:461 ] Boost not in cache

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:464 ] _boost_TEST_VERSIONS

1.35;1.36;1.37;1.38;1.39;1.40;1.41;1.42;1.43;1.44;1.45;1.46;1.47;1.48;1.49;1.4

.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40

1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:466 ] Boost_USE_MULTITHREAD

D = ON

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:468 ] Boost_USE_STATIC_LIBS

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:470 ] Boost_USE_STATIC_RUNT

ME =

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:472 ] Boost_ADDITIONAL_VERS

ONS = 1.35;1.36;1.37;1.38;1.39;1.40;1.41;1.42;1.43;1.44;1.45;1.46;1.47;1.48;1.4

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:474 ] Boost_NO_SYSTEM_PATHS

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:537 ] Declared as CMake or

nvironmental Variables:

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:539 ] BOOST_ROOT = /usr

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:541 ] BOOST_INCLUDEDIR =

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:543 ] BOOST_LIBRARYDIR =

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:545 ] _boost_TEST_VERSIONS

1.35;1.36;1.37;1.38;1.39;1.40;1.41;1.42;1.43;1.44;1.45;1.46;1.47;1.48;1.49;1.4

.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40

1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:598 ] Include debugging inf

:

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:600 ] _boost_INCLUDE_SEAR

H_DIRS = /usr/include;/usr;C:/boost/include;C:/boost;/boost/include;/boost;/sw/

ocal/include

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:602 ] _boost_PATH_SUFFIXE

= boost-1_35;boost_1_35;boost-1_36;boost_1_36;boost-1_37;boost_1_37;boost-1_38

boost_1_38;boost-1_39;boost_1_39;boost-1_40;boost_1_40;boost-1_41;boost_1_41;bo

st-1_42;boost_1_42;boost-1_43;boost_1_43;boost-1_44;boost_1_44;boost-1_45;boost

1_45;boost-1_46;boost_1_46;boost-1_47;boost_1_47;boost-1_48;boost_1_48;boost-1_

9;boost_1_49;boost-1_46_0;boost_1_46_0;boost-1_46;boost_1_46;boost-1_45_0;boost

1_45_0;boost-1_45;boost_1_45;boost-1_44_0;boost_1_44_0;boost-1_44;boost_1_44;bo

st-1_43_0;boost_1_43_0;boost-1_43;boost_1_43;boost-1_42_0;boost_1_42_0;boost-1_

2;boost_1_42;boost-1_41_0;boost_1_41_0;boost-1_41;boost_1_41;boost-1_40_0;boost

1_40_0;boost-1_40;boost_1_40;boost-1_39_0;boost_1_39_0;boost-1_39;boost_1_39;bo

st-1_38_0;boost_1_38_0;boost-1_38;boost_1_38;boost-1_37_0;boost_1_37_0;boost-1_

7;boost_1_37;boost-1_36_1;boost_1_36_1;boost-1_36_0;boost_1_36_0;boost-1_36;boo

t_1_36;boost-1_35_1;boost_1_35_1;boost-1_35_0;boost_1_35_0;boost-1_35;boost_1_3

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:627 ] location of version.h

p: /usr/include/boost/version.hpp

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:646 ] version.hpp reveals b

ost 1.43.0

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:737 ] guessed _boost_COMPIL

R = -gcc45

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:747 ] _boost_MULTITHREADED

-mt

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:790 ] _boost_RELEASE_ABI_TA

= -

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:792 ] _boost_DEBUG_ABI_TAG

-d

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:835 ] _boost_LIBRARY_SEARCH

DIRS = /usr/lib;/usr/stage/lib;/usr/include/lib;/usr/include/../lib;/usr/includ

/stage/lib;C:/boost/lib;C:/boost;/boost/boost_1_43_0/lib;/boost/boost_1_43/lib;

boost/lib;/boost;/sw/local/lib

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for DATE_TI

E_LIBRARY_RELEASE: boost_date_time-gcc45-mt-1_43;boost_date_time-gcc45-mt;boost

date_time-mt-1_43;boost_date_time-mt;boost_date_time

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for DATE_TI

E_LIBRARY_DEBUG: boost_date_time-gcc45-mt-d-1_43;boost_date_time-gcc45-mt-d;boo

t_date_time-mt-d-1_43;boost_date_time-mt-d;boost_date_time-mt;boost_date_time

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for REGEX_L

BRARY_RELEASE: boost_regex-gcc45-mt-1_43;boost_regex-gcc45-mt;boost_regex-mt-1_

3;boost_regex-mt;boost_regex

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for REGEX_L

BRARY_DEBUG: boost_regex-gcc45-mt-d-1_43;boost_regex-gcc45-mt-d;boost_regex-mt-

--1_43;boost_regex-mt-d;boost_regex-mt;boost_regex

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for PROGRAM

OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc45-mt-1_43;boost_program_opti

ns-gcc45-mt;boost_program_options-mt-1_43;boost_program_options-mt;boost_progra

_options

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for PROGRAM

OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc45-mt-d-1_43;boost_program_opti

ns-gcc45-mt-d;boost_program_options-mt-d-1_43;boost_program_options-mt-d;boost_

rogram_options-mt;boost_program_options

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for SIGNALS

LIBRARY_RELEASE: boost_signals-gcc45-mt-1_43;boost_signals-gcc45-mt;boost_signa

s-mt-1_43;boost_signals-mt;boost_signals

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for SIGNALS

LIBRARY_DEBUG: boost_signals-gcc45-mt-d-1_43;boost_signals-gcc45-mt-d;boost_sig

als-mt-d-1_43;boost_signals-mt-d;boost_signals-mt;boost_signals

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for SYSTEM_

IBRARY_RELEASE: boost_system-gcc45-mt-1_43;boost_system-gcc45-mt;boost_system-m

--1_43;boost_system-mt;boost_system

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for SYSTEM_

IBRARY_DEBUG: boost_system-gcc45-mt-d-1_43;boost_system-gcc45-mt-d;boost_system

mt-d-1_43;boost_system-mt-d;boost_system-mt;boost_system

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for FILESYS

EM_LIBRARY_RELEASE: boost_filesystem-gcc45-mt-1_43;boost_filesystem-gcc45-mt;bo

st_filesystem-mt-1_43;boost_filesystem-mt;boost_filesystem

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for FILESYS

EM_LIBRARY_DEBUG: boost_filesystem-gcc45-mt-d-1_43;boost_filesystem-gcc45-mt-d;

oost_filesystem-mt-d-1_43;boost_filesystem-mt-d;boost_filesystem-mt;boost_files

stem

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:906 ] Searching for THREAD_

IBRARY_RELEASE: boost_thread-gcc45-mt-1_43;boost_thread-gcc45-mt;boost_thread-m

--1_43;boost_thread-mt;boost_thread

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:938 ] Searching for THREAD_

IBRARY_DEBUG: boost_thread-gcc45-mt-d-1_43;boost_thread-gcc45-mt-d;boost_thread

mt-d-1_43;boost_thread-mt-d;boost_thread-mt;boost_thread

--- [ /usr/share/cmake-2.8.4/Modules/FindBoost.cmake:1048 ] Boost_FOUND = TRUE

--- Boost version: 1.43.0

--- Found the following Boost libraries:

--- date_time

--- regex

--- program_options

--- signals

--- system

--- filesystem

--- thread

--- Looking for connect

--- Looking for connect - found

--- Looking for sin

--- Looking for sin - found

--- Looking for include files CMAKE_HAVE_PTHREAD_H

--- Looking for include files CMAKE_HAVE_PTHREAD_H - found

--- Looking for pthread_create in pthreads

--- Looking for pthread_create in pthreads - not found

--- Looking for pthread_create in pthread

--- Looking for pthread_create in pthread - found

--- Found Threads: TRUE

Enabling multi threading.

--- Found Doxygen: /usr/bin/doxygen.exe

Disabling PDF support (WPdfImage, WPdfRenderer): requires libharu.

Indicate the location of your haru library using -DHARU_PREFIX=...

Disabling raster image support (WRasterImage): requires graphicsmagick.

Indicate the location of your graphicsmagick library using -DGM_PREFIX=...

Wt::Dbo: building SQLite3 backend.

Wt::Dbo: not building Postgres backend.

Indicate the location of your postgres installation using -DPOSTGRES_PREFIX

...

Disabling ISAPI.

Disabling FCGI connector: requires libfcgi

Indicate the location of libfcgi using -DUSERLIB_ROOT=..., or omit this conn

ctor using -DCONNECTOR_FCGI=OFF

Enabling built-in httpd.

--- Looking for crypt

--- Looking for crypt - not found

--- Looking for crypt in crypt

--- Looking for crypt in crypt - found

--- Not building hangman example: requires mysql

--- Indicate the path of your mysql--2.x installation using -DMYSQL_PREFIX=.

.

--- Not building mandelbrot example: requires Wt::WRasterImage.

--- Not building style example: requires WRasterImage.

--- Not building wtwithqt example.

--- wtwithqt example requires a Qt4 installation.

--- Configuring done

--- Generating done

--- Build files have been written to: /cygdrive/c/cygwin/home/pedromf/dev/wt-3.1

10/build

It finds boost 1.43 correctly and all looks ok.

But when I call Make:

$ make

[ 1%] Generating JQuery_js.C

/bin/sh: line 1: 2240 Aborted (core dumped) /usr/bin/cmake.exe

-Dinfile:FILEPATH=/cygdrive/c/cygwin/home/pedromf/dev/wt-3.1.10/src/web/skeleton

/jquery.min.js -Doutfile:FILEPATH=/cygdrive/c/cygwin/home/pedromf/dev/wt-3.1.10/

build/src/JQuery_js.C -Dvar:STRING=JQuery_js -P /cygdrive/c/cygwin/home/pedromf/

dev/wt-3.1.10/src/filetostring.cmake

make[2]: * [src/JQuery_js.C] Error 134

make[1]: * [src/CMakeFiles/wt.dir/all] Error 2

make: * [all] Error 2


Files

cygwin-setup.bmp (1.45 MB) cygwin-setup.bmp Cygwin setup display Anonymous, 09/08/2011 03:31 PM
Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to InProgress
  • Assignee set to Pieter Libin
Actions #2

Updated by Koen Deforche over 12 years ago

  • Assignee changed from Pieter Libin to Wim Dumon
  • Target version set to 3.1.11
Actions #3

Updated by Wim Dumon over 12 years ago

I can confirm this, cmake crashes under cygwin.

This should be reported as bug in cmake.

Actions #4

Updated by Koen Deforche over 12 years ago

  • Target version changed from 3.1.11 to 3.2.0
Actions #5

Updated by Koen Deforche over 12 years ago

  • Status changed from InProgress to Closed

Won't be fixed, needs fix in cmake.

Actions

Also available in: Atom PDF