Em 27/5/2010 14:50, Viktor Szakáts escreveu:
God. The "how to f*ck up" contest continues :(

You have mingw two times in PATH. Remove one.

C:\harbour\trunk\harbour>win-make.exe install
! Building Harbour 2.1.0beta1 from source - http://www.harbour-project.org
! MAKE: win-make.exe 3.81 sh.exe install
! HB_INSTALL_PREFIX: c:\dev\harbour
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
config/global.mk:971: *** ! HB_COMPILER not set, could not autodetect. Stop.

C:\harbour\trunk\harbour>set path=c:\mingw\bin;%PATH%

C:\harbour\trunk\harbour>win-make.exe install

Now compiling fine until here:

lp.o dbgtinp.o dbgtmenu.o dbgtmitm.o dbgtwin.o debugger.o dbgtarr.o dbgthsh.o db gtobj.o tbrwtext.o dbgwa.o dbgbrwsr.o ) || del /q /f ..\..\..\..\..\lib\win\min
gw\libhbdebug.a
        1 arquivo(s) copiado(s).
gcc -Wl,--nxcompat -Wl,--dynamicbase -shared -L../../../../../lib/win/mingw -o ../../../../../bin/win/mingw/harbour-21.dll __dyn__.tmp -lkernel32 -luser32 -lw s2_32 -ladvapi32 -lgdi32 -Wl,--out-implib,../../../../../lib/win/mingw/libharbou
r-21.a,--output-def,../../../../../bin/win/mingw/harbour-21.def
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: unrecogniz
ed option '--nxcompat'
c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: use the --
help option for usage information
collect2: ld returned 1 exit status
win-make.exe[3]: *** [harbour-21.dll] Error 1
win-make.exe[2]: *** [descend] Error 2
win-make.exe[1]: *** [dynlib.inst] Error 2
win-make.exe: *** [src.inst] Error 2


Best regards,
Itamar M. Lins Jr.

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

Reply via email to