Mark Brand | 21 May 2013 15:28
Picon

Re: [Mingw-cross-env-list] Failed to build package gsoap

On Tuesday 21 May 2013 10:07:08 Ramon Thurler Palomo wrote:
> Hello, Mark
> 
> I am pasting bellow what I found near the end of the /log/gsoap. I
> still don't know how to fix it. Please, give a look.
> 
> g++  -g -O2 -L.  -o wsdl2h wsdl2h-wsdl2h.o wsdl2h-wsdl.o
> wsdl2h-schema.o wsdl2h-types.o wsdl2h-service.o wsdl2h-soap.o
> wsdl2h-mime.o wsdl2h-wsp.o wsdl2h-wsdlC.o ../../gsoap/libgsoapssl++.a
> -lssl -lcrypto -lz
> /usr/bin/ld: cannot find -lssl
> /usr/bin/ld: cannot find -lcrypto
> collect2: ld returned 1 exit status
> make[5]: *** [wsdl2h] Error 1
> make[5]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap/wsdl'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap/wsdl'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap'
> make[1]: *** [build-only-gsoap] Error 2
> make[1]: Leaving directory `/home/ramon/mxe'
> 
> Is that simple to fix? If not, please tell me and I will download the
> development version. But before that should I uninstall anything or
> it's just download the other version and give the make command again?

Linking the *native* wsdl2h is failing because of the missing libssl.a. You 
probably need to install the openssl dev package from your distro.
(Continue reading)

Ramon Thurler Palomo | 21 May 2013 14:14
Picon

[Mingw-cross-env-list] Failed to build package gsoap

I have installed all the required packages as asked here: http://mxe.cc/#requirements
And then I gave the command 'make' to build MXE.

After download and build many packages, when trying to build the GSOAP, it gives me an error:  

Failed to build package gsoap!
------------------------------------------------------------
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ramon/mxe/tmp-gsoap/gsoap-2.8/gsoap'
make[1]: *** [build-only-gsoap] Error 2
make[1]: Leaving directory `/home/ramon/mxe'
real    2m29.010s
user    1m59.019s
sys    0m22.697s
------------------------------------------------------------
[log]      /home/ramon/mxe/log/gsoap

make: *** [/home/ramon/mxe/usr/installed/gsoap] Error 1

Any help with that?

Thanks!
Ramon
Niels Kristian Bech Jensen | 21 May 2013 14:09
Picon
Favicon

[Mingw-cross-env-list] [PATCH] Various updates and a fix.

Here are updates for armadillo, fontconfig, harfbuzz, imagemagick, and ogg. The patch for gcc is a fix for the update macro in gcc.mk.
 
Best regards,
Niels Kristian Bech Jensen
 
Attachment (mxe-armadillo-update.patch): application/octet-stream, 1053 bytes
Attachment (mxe-fontconfig-update.patch): application/octet-stream, 1023 bytes
Attachment (mxe-gcc-update.patch): application/octet-stream, 412 bytes
Attachment (mxe-harfbuzz-update.patch): application/octet-stream, 1022 bytes
Attachment (mxe-imagemagick-update.patch): application/octet-stream, 1046 bytes
Attachment (mxe-ogg-update.patch): application/octet-stream, 944 bytes
zhangxinghai | 20 May 2013 17:08
Favicon

[Mingw-cross-env-list] build wxwidgets 2.9.4 with mingw64(rubenvb) return error

Hi
I download i686-w64-mingw32-gcc-4.8.0-win32_rubenvb.7z from http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/rubenvb/gcc-4.8-release/,unpack it to a directory.
I also download wxwidgets2.9.4 from https://sourceforge.net/projects/wxwindows/files/2.9.4/wxWidgets- 2.9.4.7z,unpack it to a directory
My OS:Microsoft Windows XP Professional (32-bit) version 5.01.2600 Service Pack 3

I cd the wx\build\msw directory and invoke command 
mingw32-make -f makefile.gcc -j4 LDFLAGS="-Wl,--gc-sections,--strip-all" BUILD=release SHARED=1 MONOLITHIC=0 UNICODE=1 CXXFLAGS="-m32 -pipe -fno-keep-inline-dllexport   -Os  -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-attributes -DNDEBUG" USE_EXCEPTION=0 USE_RTTI=0  1>1.txt 2>2.txt

The command returns error when it comes to 
g++ -shared -fPIC -o ..\..\lib \gcc_dll\wxmsw294u_core_gcc_custom.dll ....

I check the 2.txt and find it returns error as following

gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent[__ZN20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_EclEP12wxEvtHandlerR7wxEvent]+0xfe1dc0318d74f364): Cannot get section contents - auto-import exception
gcc_mswudll\coredll_textentry.o:textentry.cpp:(.text$_ZN11wxTextEntry23DoAutoCompleteFileNamesEi+0x3cbfb505472509dc): Cannot get section contents - auto-import exception
d:/mingw32win32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: gcc_mswudll\coredll_textentry.o: bad reloc address 0x2 in section `.text$_ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv[__ZNK20wxEventFunctorMethodI14wxEventTypeTagI10wxKeyEventE22wxTextAutoCompleteDataS1_S3_E11GetWxTypeIdEv]'
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw294u_core_gcc_custom.dll] Error 1

What's wrong
Thanks










Tony Theodore | 20 May 2013 06:24
Favicon

Re: [Mingw-cross-env-list] New package icu4c (was qt5 QtWebkit)

Hi Fabrice,

On 20/05/2013, at 6:26 AM, fabrice <fabrnicol@...> wrote:

> Hi Tony,
> 
> To add details to my prior email, you'll find attached a log of "make qtbase" under MXE with the added switch
-icu to the qtbase.mk configure command line.
> 
> -icu is made necessary by qtwebkit yet on linking -licu (pre-installed), the config test crashes because
of unresolved symbols.

Mark has added support for icu in qtbase:

https://github.com/mxe/mxe/commit/9898a6ec1860245d271959022202973138eae99f

> Note that additionally, your tweak in the icu4c.mk (on the 's' label for static lib) did not actually work,
as I had to manually rename libs*icu*.a into lib*icu*.a (under the MXE lib directory) for the linker to
recognize it at config.test stage above.

If you wanted to do this manually, you'd have to also add `-licuuc`, but it's better to follow the
conventions of a project and use pkg-config.

Cheers,

Tony

fabrice | 17 May 2013 23:07
Picon

[Mingw-cross-env-list] qt5 QtWebkit

I just built qt5 successfully under linux (kubuntu 13.04) and used it to 
cross-build a fairly complex qt5 app OK.

However I need QtWebkit to enable a (marginally useful) browsing 
capability.
To date QtWebkit is not available under qt5 and a search in this forum 
tells me it has been disabled in qt4 too.

Is there any chance of getting it back on board?

A tentative try to build it pointed to the following issue: QtWebkit 
requests libicu, which normally cross-builds.
However trying to do so in the MXE environment resulted in configure 
complaining about namespace support not being enabled.
The issue arises with all common (recent) versions of libstdc++ 
(specifically, the MXE version/environment, my standard i686-pc-mingw32 
gcc-4.8.0 based environment and the debian i586-mingw32msvc-gcc 
apt-installed environment, based on gcc-4.2.1)

I could not circumvent this. Any idea?

Niels Kristian Bech Jensen | 17 May 2013 19:51
Picon
Favicon

[Mingw-cross-env-list] [PATCH] Update openscenegraph (and update macro fix).

Hi.
 
This patch updates openscenegraph to version 3.1.6. It also fixes the update macro in openscenegraph.mk to make sure it finds the highest version number.
 
Best regards,
Niels Kristian Bech Jensen
 
Attachment (mxe-openscenegraph-update.patch): application/octet-stream, 1381 bytes
Adri CS | 15 May 2013 19:21
Picon

[Mingw-cross-env-list] MXE can't find Boost.Thread

Hi,
I built Boost and Qt libs in Ubuntu with your project using 'make pthreads zlib boost qt'. No error messages were output.

Then I tried to build PCL version 1.7 from their repo in Github, using Cmake, like in the step 5b of the tutorial:

ccmake ../src -DCMAKE_TOOLCHAIN_FILE=/home/a/c/mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake

However, when configuring I got two errors, that Cmake can't find Boost.thread and QtCore.

I checked and in the mxe dir do exist "libboost_thread-win32.a" and "libQtCore.a" libs. If I set by hand the path to those libs, when reconfiguring I still get the Boost.Thread complaint.

Whant might be happening?

Thanks,
Adrián.

PS: The OS is Ubuntu 12.04 32 bits
Niels Kristian Bech Jensen | 15 May 2013 05:19
Picon
Favicon

[Mingw-cross-env-list] [PATCH] Gsoap: Wrong checksum.

Since the update to gsoap I get a wrong checksum message each time I try to download the source package. The attached patch fixes the checksum.
 
Best regards,
Niels Kristian Bech Jensen
 
Attachment (mxe-gsoap-checksum.patch): application/octet-stream, 549 bytes
Niels Kristian Bech Jensen | 13 May 2013 19:22
Picon
Favicon

[Mingw-cross-env-list] [PATCH] Updates for armadillo and gtk2.

Here are updates for armadillo and gtk2.
 
Best regards,
Niels Kristian Bech Jensen
 
Attachment (mxe-armadillo-update.patch): application/octet-stream, 1053 bytes
Attachment (mxe-gtk2-update.patch): application/octet-stream, 2061 bytes
Tony Theodore | 11 May 2013 04:50
Favicon

Re: [Mingw-cross-env-list] Linker error when compiling a Qt application


On 11/05/2013, at 12:28 PM, Saikrishna Arcot
<saiarcot895@...> wrote:

> -lcrypt32 seems to be in the line ("-lQtGui -lpq -lsecur32 -lssl 
> -lcrypto -lcrypt32").

Indeed! Don't know how I didn't see that.

> Does order matter here?

Yes, it needs to be come after gnutls.

Cheers,

Tony


Gmane