Re: [Harbour] Error building WinCE

2010-02-20 Thread Jarosław Kądzioła
Hi,


 I'm trying build WinCE-HB and i get :
 
 gcc   -I. -I../../../../../include -Wall -W -O2 -fomit-frame-pointer 
 -DHB_LEGACY_TYPES_OFF -DUNICODE   -ohbpp.o -c ../../../hbpp.c
 gcc  -L../../../../../lib/wce/mingwarm   -o 
 ..\..\..\..\..\bin\wce\mingwarm\hbpp.exe hbpp.o -lhbnortl -lhbcommon 
 -lcoredll -lws2 
 d:/qt/4.5.3/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
  cannot find -lcoredll
 collect2: ld returned 1 exit status
 mingw32-make[3]: *** [hbpp.exe] Error 1
 rm hbpp.o
 mingw32-make[2]: *** [descend] Error 2
 mingw32-make[1]: *** [pp.inst] Error 2
 mingw32-make: *** [src.inst] Error 2
 
 Waht's wrong ?
 
 My batch :
 
 SET PATH=D:\Qt\4.5.3\mingw\bin;%PATH%
 SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
 SET HB_PLATFORM=wce
 SET HB_COMPILER=mingwarm
 SET HB_WITH_QT=D:\Qt\4.5.3\include
 SET HB_DIR_QT=D:\Qt\4.5.3
 SET HB_QT_STATIC=yes 
 SET HB_INSTALL_PREFIX=%~dp0
 win-make clean install %1 %2  log-%HB_COMPILER%.txt 21


 You will need the CEGCC version of mingw to create 
 WinCE Harbour build, the Win32 edition won't do. 
 See INSTALL for links and examples.

After modifications :

SET PATH=D:\hb20\comp\mingwarm\opt\mingw32ce\bin;%PATH%
SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
SET HB_WITH_QT=D:\Qt\4.5.3\include
SET HB_DIR_QT=D:\Qt\4.5.3
SET HB_QT_STATIC=yes 
SET HB_INSTALL_PREFIX=%~dp0
mingw32-make clean install %1 %2  log-%HB_COMPILER%.txt 21

! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
! MAKE: win-make 3.81 sh.exe clean install  
! HB_INSTALL_PREFIX: D:\LASTHB\HARBOUR\
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: wce (arm) (autodetected)
! HB_COMPILER: mingwarm (autodetected: D:/hb20/comp/mingwarm/opt/mingw32ce/bin/)
! HB_BIN_COMPILE: D:\LASTHB\HARBOUR\bin
.
.
.
arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
-DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c ../../../sqlite3.c
win-make[3]: *** [sqlite3.o] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [sqlite3.inst] Error 2
win-make: *** [external.inst] Error 2

And what's wrong now ?


-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error building WinCE

2010-02-20 Thread Viktor Szakáts
 You will need the CEGCC version of mingw to create 
 WinCE Harbour build, the Win32 edition won't do. 
 See INSTALL for links and examples.
 
 After modifications :
 
 SET PATH=D:\hb20\comp\mingwarm\opt\mingw32ce\bin;%PATH%
 SET HB_BIN_COMPILE=D:\LASTHB\HARBOUR\bin
 SET HB_WITH_QT=D:\Qt\4.5.3\include
 SET HB_DIR_QT=D:\Qt\4.5.3
 SET HB_QT_STATIC=yes 
 SET HB_INSTALL_PREFIX=%~dp0
 mingw32-make clean install %1 %2  log-%HB_COMPILER%.txt 21
 
 ! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
 ! MAKE: win-make 3.81 sh.exe clean install  
 ! HB_INSTALL_PREFIX: D:\LASTHB\HARBOUR\
 ! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
 ! HB_PLATFORM: wce (arm) (autodetected)
 ! HB_COMPILER: mingwarm (autodetected: 
 D:/hb20/comp/mingwarm/opt/mingw32ce/bin/)
 ! HB_BIN_COMPILE: D:\LASTHB\HARBOUR\bin
 .
 .
 .
 arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
 -DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c 
 ../../../sqlite3.c
 win-make[3]: *** [sqlite3.o] Error 1
 win-make[2]: *** [descend] Error 2
 win-make[1]: *** [sqlite3.inst] Error 2
 win-make: *** [external.inst] Error 2
 
 And what's wrong now ?

Since there is no visible error in above log, I can 
just guess it's an installation problem. INSTALL says 
you need Cygwin in PATH, probably it's missing.

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error building WinCE

2010-02-20 Thread Jarosław Kądzioła
Hi,


 Since there is no visible error in above log, I can 
 just guess it's an installation problem. INSTALL says 
 you need Cygwin in PATH, probably it's missing.

Cygwin added to path and full log is :

! Building Harbour 2.1.0dev from source - http://www.harbour-project.org
! MAKE: win-make 3.81 D:/hb20/cygwin/bin/sh.exe clean install  
! HB_INSTALL_PREFIX: D:\LASTHB\HARBOUR\
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: wce (arm) (autodetected)
! HB_COMPILER: mingwarm (autodetected: D:/hb20/comp/mingwarm/opt/mingw32ce/bin/)
! HB_BIN_COMPILE: D:\LASTHB\HARBOUR\bin
! Component: 'zlib' found in D:/LASTHB/HARBOUR/external/zlib (local)
! Component: 'pcre' found in D:/LASTHB/HARBOUR/external/pcre (local)
! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL.
! Component: 'gpm' not supported on wce platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on wce platform
! 'gtcrs' library skipped (component not found)
! 'gtdos' library skipped (platform not supported)
! 'gtos2' library skipped (platform not supported)
! 'gtsln' library skipped (component not found)
! 'gttrm' library skipped (platform or compiler not supported)
! 'gtwin' library skipped (platform not supported)
! 'gtxwc' library skipped (component not found)
! 'gtwvg' library skipped (platform not supported)
! 'gtalleg' library skipped ('allegro' not supported with mingwarm compiler)
! 'hbblat' library skipped (platform not supported)
! 'hbcairo' library skipped ('cairo' not found. Configure with HB_WITH_CAIRO.)
! 'hbcurl' library skipped ('libcurl' not found. Configure with HB_WITH_CURL.)
! 'hbfbird' library skipped ('firebird' not found. Configure with 
HB_WITH_FIREBIRD.)
! 'hbfimage' library skipped ('freeimage' not found. Configure with 
HB_WITH_FREEIMAGE.)
! 'hbgd' library skipped ('libgd' not found. Configure with HB_WITH_GD.)
! 'hbmysql' library skipped ('mysql' not found. Configure with HB_WITH_MYSQL.)
! 'hbpgsql' library skipped ('postgresql' not found. Configure with 
HB_WITH_PGSQL.)
! Using QT 'moc' executable: D:\Qt\4.5.3\include\..\bin\moc.exe (autodetected)
! 'hbssl' library skipped (component not found)
! 'rddads' library skipped ('ads' not found. Configure with HB_WITH_ADS.)
! 'sddmy' library skipped ('mysql' not found. Configure with HB_WITH_MYSQL.)
! 'sddpg' library skipped ('postgresql' not found. Configure with 
HB_WITH_PGSQL.)
! 'sddfb' library skipped ('firebird' not found. Configure with 
HB_WITH_FIREBIRD.)
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\doc' is the same as source
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\doc/en-EN' is the same as 
source
! Skip install, destination dir 'D:\LASTHB\HARBOUR\\include' is the same as 
source
arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
-DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c ../../../sqlite3.c
win-make[3]: *** [sqlite3.o] Error 1
win-make[2]: *** [descend] Error 2
win-make[1]: *** [sqlite3.inst] Error 2
win-make: *** [external.inst] Error 2


-- 
Regards,
Jaroslaw Kadziola


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Error building WinCE

2010-02-20 Thread Viktor Szakáts
 arm-mingw32ce-gcc   -I. -I../../../../../include -O2 -fomit-frame-pointer 
 -DHB_LEGACY_TYPES_OFF -DUNICODE  -D_WIN32_WCE  -osqlite3.o -c 
 ../../../sqlite3.c
 win-make[3]: *** [sqlite3.o] Error 1
 win-make[2]: *** [descend] Error 2
 win-make[1]: *** [sqlite3.inst] Error 2
 win-make: *** [external.inst] Error 2

Here it still misses the actual error. No more 
guesses, maybe wrong Cygwin version, for sure 
the compiler doesn't work in your environment. 
The make process and configuration itself (as 
indicated by rest of log) is alright, though.

Brgds,
Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour