[haiku-development] Re: undefined reference to `_Unwind_Resume'

  • From: CarozoDeQuilmes <carozodequilmes@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 11 Jul 2011 08:34:25 -0300

Hi Ingo, many thanks, replacing /system/lib with /system/lib/gcc4
or
deleting /system/lib
my linkedit step run very fine and I could make my application

Many thanks again
CdQ

On Sat, Jul 9, 2011 at 8:36 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:

> CarozoDeQuilmes wrote:
> > the problems continue
> >
> > gcc '/tmp/hbmk_b82zqt.dir/maindemo.o'
> '/tmp/hbmk_b82zqt.dir/d_browse_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_button_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_calendar_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_checkbox_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_combobox_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_datetime_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_dialogs_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_editbox_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_framebox_def.o'
> '/tmp/hbmk_b82zqt.dir/d_grid_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_image_def.o' '/tmp/hbmk_b82zqt.dir/d_key_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_label_def.o'
> '/tmp/hbmk_b82zqt.dir/d_listbox_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_mainmenu_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_navigator_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_progressbar_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_radiogroup_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_slider_def.o'
> '/tmp/hbmk_b82zqt.dir/d_spinner_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_style_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_statusbar_def.o'
> '/tmp/hbmk_b82zqt.dir/d_tab_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_textbox_def.o'
> '/tmp/hbmk_b82zqt.dir/d_timer_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_toolbar_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_treeview_def.o'
> > '/tmp/hbmk_b82zqt.dir/d_window_modal_def.o'
> > '/tmp/hbmk_b82zqt.dir/hbmk_apa1hk.o' -Wl,--start-group -lhbmzip
> -lhbziparc
> > -lminizip -lhbtip -lhbqtcore -lhbqtgui -lhbqtnetwork -lhbqtwebkit
> -lQtCore
> > -lQtGui -lQtNetwork -lQtWebKit -lxhb -lhbct -l'marinas-gui' -l'supc++'
> > -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca
> > -lgtstd -lgttrm -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx
> > -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon *
> > -lroot* -lnetwork -lz -lhbpcre -Wl,--end-group -ogui/samples/maindemo
> > -L/home/cdq/factory/harbour/lib -Lgui/lib -L/home/cdq/factory/qt/lib
> > -L/system/lib
> > /home/cdq/factory/harbour/lib/libhbqtcore.a(QEventLoop.o): In function
> > `hbqt_gcAllocate_QEventLoop':
> > QEventLoop.cpp:(.text+0x53e): *undefined reference to `_Unwind_Resume'*
> > /home/cdq/factory/harbour/lib/libhbqtcore.a(QEventLoop.o): In function
> > `HB_FUN_QEVENTLOOP':
> > QEventLoop.cpp:(.text+0x5e9): undefined reference to `_Unwind_Resume'
> > /home/cdq/factory/harbour/lib/libhbqtcore.a(QEventLoop.o): In function
> > `HB_FUN_NEW()':
> > QEventLoop.cpp:(.text+0x68a): undefined reference to `_Unwind_Resume'
> > /home/cdq/factory/harbour/lib/libhbqtcore.a(QFile.o): In function
> > `hbqt_gcAllocate_QFile':
> > QFile.cpp:(.text+0x7ae): undefined reference to `_Unwind_Resume'
> > /home/cdq/factory/harbour/lib/libhbqtcore.a(QFile.o): In function
> > `HB_FUN_SETPERMISSIONS()':
> > QFile.cpp:(.text+0x97b): undefined reference to `_Unwind_Resume'
> >
> /home/cdq/factory/harbour/lib/libhbqtcore.a(QFile.o):QFile.cpp:(.text+0xaba):
> > more undefined references to `_Unwind_Resume' follow
> > collect2: ld returned 1 exit status
> >
> > Another idea?
>
> I'm not sure whether it is even possible to correctly build Qt code on a
> gcc2 hybrid Haiku. At any rate, the "-L/system/lib" is definitely incorrect
> in this case. -lroot is superfluous, BTW.
>
> CU, Ingo
>
>


-- 
CdQ

Other related posts: