From: Jarek H. <pow...@gd...> - 2004-01-28 17:15:49
|
Hi, I am new here. I am trying to compile a little modified IaxComm (for Ansterisk in my school) under Windows XP (i tried win2k too) with Cygwin (uname: CYGWIN_NT-5.1 falken 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin) with gcc (3.3.1) and make (3.8). I have also installed MinGW (i tried 2.0.0-3 and 3.1.0-1) and WxWindows (i tried 2.4.1 and 2.4.2). I have correct enviroment variables (list below). I set the "MINGW32=0" in makeg95.env (wxwin) and "findstring CYGWIN_NT-5.1" in makefile (iaxcomm). /sample/minimal is compiling corectly (there is some warnings). When I try to compile IaxComm or WX (/simpleclient/wx) with make under Cygwin, i get a lot of compile errors. I have no idea whats going on :( There is a piece of my 2> strings. For wxwindows (make -f makefile.g95) : ../../src/msw/listctrl.cpp:2442: warning: `wxListItemAttr* wxGetInternalDataAttr(wxListCtrl*, long int)' defined but not used cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC ... And for IaxComm (or WX, whatever): In file included from c:/wxwindows-2.4.1/include/wx/platform.h:88, from c:/wxwindows-2.4.1/include/wx/defs.h:23, from c:/wxwindows-2.4.1/include/wx/wxprec.h:13, from wx.cc:2: c:/wxwindows-2.4.1/include/wx/chkconf.h:734:17: #error "wxUSE_PROTOCOL_FTP/HTTP requires wxUSE_SOCKETS" c:/wxwindows-2.4.1/include/wx/chkconf.h:1042:13: #error "wxCalendarCtrl requires wxSpinButton and wxComboBox" In file included from c:/wxwindows-2.4.1/include/wx/wxprec.h:13, from wx.cc:2: c:/wxwindows-2.4.1/include/wx/defs.h:550:10: #error "Please define a 32 bit type" In file included from c:/wxwindows-2.4.1/include/wx/wx.h:23, from wx.cc:5: c:/wxwindows-2.4.1/include/wx/event.h:837: error: syntax error before `)' token c:/wxwindows-2.4.1/include/wx/event.h: In member function `bool wxKeyEvent::ControlDown() const': c:/wxwindows-2.4.1/include/wx/event.h:823: error: `m_controlDown' undeclared (first use this function) c:/wxwindows-2.4.1/include/wx/event.h:823: error: (Each undeclared identifier is reported only once for each function it appears in.) c:/wxwindows-2.4.1/include/wx/event.h: In member function `bool wxKeyEvent::MetaDown() const': c:/wxwindows-2.4.1/include/wx/event.h:824: error: `m_metaDown' undeclared (first use this function) ...etc. and return of set command under cygwin: !C:='C:\cygwin\bin' ALLUSERSPROFILE='C:\Documents and Settings\All Users' APPDATA='C:\Documents and Settings\Powolniak\Application Data' BASH=/usr/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-pc-cygw in") BASH_VERSION='2.05b.0(1)-release' CLIENTNAME=Console COLUMNS=80 COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=FALKEN COMSPEC='C:\WINDOWS\system32\cmd.exe' CVS_RSH=/bin/ssh DIRSTACK=() EUID=1003 GROUPS=() HISTFILE=/home/Powolniak/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/Powolniak HOMEDRIVE=C: HOMEPATH='\Documents and Settings\Powolniak' HOSTNAME=falken HOSTTYPE=i686 IFS=$' \t\n' INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info: /usr /autotool/stable/info: LINES=25 LOGONSERVER='\\FALKEN' MACHTYPE=i686-pc-cygwin MAILCHECK=60 MAKE_MODE=unix MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man: NUMBER_OF_PROCESSORS=1 OLDPWD=/cygdrive/c/wxwindows-2.4.1/samples/iaxclient/simpleclient OPTERR=1 OPTIND=1 OS=Windows_NT OSTYPE=cygwin PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system3 2:/c ygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/mingw/bin:/u sr/b in PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]="0") PPID=1 PRINTER= PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 6 Model 8 Stepping 3, GenuineIntel' PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0803 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\n$ ' PS2='> ' PS4='+ ' PWD=/cygdrive/c/wxwindows-2.4.1/samples/iaxclient/simpleclient/wx SESSIONNAME=Console SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments: moni tor SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINDOWS' TEMP=/cygdrive/c/DOCUME~1/POWOLN~1/LOCALS~1/Temp TERM=cygwin TMP=/cygdrive/c/DOCUME~1/POWOLN~1/LOCALS~1/Temp UID=1003 USER=Powolniak USERDOMAIN=FALKEN USERNAME=Powolniak USERPROFILE='C:\Documents and Settings\Powolniak' WINDIR='C:\WINDOWS' WXWIN=c:/wxwindows-2.4.1 _=--version I think that somenthing wrong with my wxwindows, but I don't have idea what. Can You help me, please ? Jarek |