gcalctool-5.7.26



I'm running into a problem building gcalctool in garnome 2.3.15.

libparser.a(lex.lr.o)(.text+0xe00): In function
  _yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_':
/home/fsolensky/gnome/garnome-2.13.5/desktop/gcalctool/
    work/main.d/gcalctool-5.7.26/gcalctool/lex.lr.c:1854:
  multiple definition of `_yy_dummy_uses_of_static_functions_b2f4_517d_02ff_b30c_3e5a_47d7_aaa3_3b5d_'
libparser.a(lex.ce.o)(.text+0xe30):/home/fsolensky/gnome/garnome-2.13.5/desktop/gcalctool/
    work/main.d/gcalctool-5.7.26/gcalctool/lex.ce.c:1887: first defined here
collect2: ld returned 1 exit status
make[4]: *** [gcalctool] Error 1

It's an attempt to avoid a warning message when compiling a
lex-generated source file.  It accomplishes this by replacing it with a
link error message when the same function shows up in two different
source files.

In case anyone else has run into this: changing the routine in either of
the source files to an "extern" works around it well enough for the
build to continue.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]