#247 error: unrecognized command line option '-mwindows'

iTALC 1
closed-out-of-date
5
2013-08-26
2012-10-17
Aleksey Avdeev
No

Current italc-1.0 uncollectible for Linux with gcc4.7. During assembly, the compiler detects an unknown flag -mwindows:

...
/bin/sh ../libtool --tag=CXX --mode=link x86_64-alt-linux-g++ -I/usr/include/qt4 -I/usr/include/qt4/Qt -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_XML_LIB -DQT_THREAD_SUPPORT -O2 -DBUILD_ICA -pipe -Wall -g -O2 -I/usr/include -g -O2 -Wall -fPIC -L/usr/bin -mwindows -rpath /usr/lib64/italc -L/usr/bin -o ica ica_main.o ivs.o isd_server.o local_system_ica.o system_service.o demo_server.o demo_client.o ica_qrc.o x11vnc.o appshare.o auth.o cargs.o corre.o cursor.o cutpaste.o d3des.o draw.o font.o hextile.o httpd.o main.o rfbregion.o rfbserver.o rre.o scale.o selbox.o sockets.o stats.o translate.o ultra.o vncauth.o zlib.o zrle.o zrleoutstream.o zrlepalettehelper.o tight.o -L/usr/lib64 -L/usr/lib64/qt4 -lQtCore -lQtXml -lQtNetwork -lQtGui -lz -ljpeg -lssl -lcrypto -lXtst -lXtst -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lcrypt -lX11 -lpthread -L../lib -litalc_core -lnsl -lpthread
libtool: link: x86_64-alt-linux-g++ -I/usr/include/qt4 -I/usr/include/qt4/Qt -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_XML_LIB -DQT_THREAD_SUPPORT -O2 -DBUILD_ICA -pipe -Wall -g -O2 -I/usr/include -g -O2 -Wall -fPIC -mwindows -o ica ica_main.o ivs.o isd_server.o local_system_ica.o system_service.o demo_server.o demo_client.o ica_qrc.o x11vnc.o appshare.o auth.o cargs.o corre.o cursor.o cutpaste.o d3des.o draw.o font.o hextile.o httpd.o main.o rfbregion.o rfbserver.o rre.o scale.o selbox.o sockets.o stats.o translate.o ultra.o vncauth.o zlib.o zrle.o zrleoutstream.o zrlepalettehelper.o tight.o -L/usr/bin -L/usr/lib64 -L/usr/lib64/qt4 -lQtCore -lQtXml -lQtNetwork -lQtGui -lz -ljpeg -lssl -lcrypto -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lcrypt -lX11 -L../lib -litalc_core -lnsl -lpthread -Wl,-rpath -Wl,/usr/lib64/italc
x86_64-alt-linux-g++: error: unrecognized command line option '-mwindows'
make[3]: *** [ica] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/italc-1.0.13/ica'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/italc-1.0.13/ica'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/italc-1.0.13'
make: *** [all] Error 2

I fixed this problem in the brunch ALT/italc/patch/fix_mwindows my git repository (see http://git.altlinux.org/people/solo/packages/italc.git?p=italc.git;a=shortlog;h=refs/heads/ALT/italc/patch/fix_mwindows\).

Discussion

    • status: open --> closed-out-of-date
    • assigned_to: Tobias Doerffel
     
  • Fixed in iTALC 2.