"error adding symbols" error with buildg.bat?

Post Reply
Taavi
Posts: 77
Joined: Mon Nov 21, 2005 10:29 am

"error adding symbols" error with buildg.bat?

Post by Taavi »

"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.
User avatar
andijahja
Posts: 35
Joined: Sun Aug 29, 2010 12:44 pm

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

Post by andijahja »

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
Post Reply