"error adding symbols" error with buildg.bat?

"error adding symbols" error with buildg.bat?

Postby Taavi » Sat Dec 09, 2017 4:45 pm

"d:\harbour201712\lib\win\mingw/libhbmacro.a: error adding symbols: Malformed archive collect2.exe: error: ld returned 1 exit status

My setting in buildg.bat

if "%fwh%" == "" set fwh=.\..

set hdir=d:\harbour201712
set hdirc=%hdir%\bin\harbour.exe
set hlibs=%hdir%\lib\win\mingw
set mingw=%hdir%\comp\mingw
set path=%mingw%\bin

Using latest harbour (nightly build) ang Mingw



Any ideas?
Thanks
Taavi.
Taavi
 
Posts: 89
Joined: Mon Nov 21, 2005 10:29 am

Re: "error adding symbols" error with buildg.bat?

Postby andijahja » Sun Dec 10, 2017 11:13 am

Taavi wrote:"d:\harbour201712\lib\win\mingw/libhbmacro.a: error adding symbols: Malformed archive collect2.exe: error: ld returned 1 exit status

My setting in buildg.bat

if "%fwh%" == "" set fwh=.\..

set hdir=d:\harbour201712
set hdirc=%hdir%\bin\harbour.exe
set hlibs=%hdir%\lib\win\mingw
set mingw=%hdir%\comp\mingw
set path=%mingw%\bin

Using latest harbour (nightly build) ang Mingw



Any ideas?
Thanks
Taavi.


Hi Tavi,

Try to rearrange the libs you linked.
There's no exact "how to", but try it randomly.
Andi
User avatar
andijahja
 
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 29 guests