Tracker: Bugs

5 error: unrecognized command line option '-mwindows' - ID: 3577819
Last Update: Attachment added ( solo_oboroten )

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).


Aleksey Avdeev ( solo_oboroten ) - 2012-10-17 04:23:19 PDT

5

Open

None

Nobody/Anonymous

Compile issues

iTALC 1

Public


Comments

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
0001-Fix-use-mwindows-flag.patch see http://git.altlinux.org/people/solo/packages/italc.git?p=italc.git;a=commitdiff;h=3f1de933f2bc4bf2ec8f98291cde2366c5e1410e Download

Change ( 1 )

Field Old Value Date By
File Added 454981: 0001-Fix-use-mwindows-flag.patch 2012-10-17 04:23:28 PDT solo_oboroten