Re: [Anjuta-list] anjuta compile errors at libs/libanjuta-gdb.so:



Hello


Sébastien Granjoux wrote:
> 
> 
> solarisx a écrit :
>> ----snip----
>> gcc -O0 -g -Wall -Wmissing-prototypes -Wmissing-declarations
>> -Wparentheses
>> -Wpointer-arith -g -O2 -o .libs/gdbmi-test gdbmi-test.o 
>> ./.libs/libanjuta-gdb.so -Wl,--rpath -Wl,/usr/local/lib/anjuta
>> ./.libs/libanjuta-gdb.so: undefined reference to
>> `ianjuta_variable_debugger_get_type'
>> ./.libs/libanjuta-gdb.so: undefined reference to
>> `ianjuta_cpu_debugger_get_type'
>> collect2: ld returned 1 exit status
>> make[4]: *** [gdbmi-test] Fehler 1
>> ----snip----
>> 
>> is that a known problem?
> 
> gdbmi-test is used to check the implementation of gdbmi parsing. It is 
> broken now but I was not aware that it makes a compilation error.
> 
> ianjuta_variable_debugger_get_type and ianjuta_cpu_debugger_get_type are 
> defined respectively in libanjuta/interfaces/ianjuta-variable-debugger.c 
> and libanjuta/interfaces/ianjuta-cpu-debugger.c both compiled in the 
> library libanjuta-interfaces.
> 
> I have tried to recompile gdbmi-test here, and it is linked will a big 
> bunch of libraries including libanjuta-interfaces.
> 
> There is probably a problem with the generation of all makefiles. You 
> can try to find why libanjuta-interfaces is not used or just remove 
> gdbmi-test as it's not useful for anjuta.
> 

Thanks for the hint!
I tried to uncomment gdb in configure and in the Makefiles without success.
Simply removing gdbmi-test and modifying the Makefile didnt work too.
Is there a fast way to fix the problem?

kind regards solarisx
-- 
View this message in context: http://www.nabble.com/anjuta-compile-errors-at-libs-libanjuta-gdb.so%3A-tf2948566.html#a8278036
Sent from the Anjuta - Users mailing list archive at Nabble.com.





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