Hello

Can anybody tell me how i can build fpc 2.5.1 with gdb support. I have ubuntu 10.10 with gdb 7.2 binary package installed , when i tried to 'make build' i got linker errors like:

(.text+0x142): undefined reference to `_Py_NoneStruct'
//usr/lib/libgdb.a(py-type.o): In function `typy_get_tag':
(.text+0x148): undefined reference to `_Py_NoneStruct'
//usr/lib/libgdb.a(py-type.o): In function `typy_get_sizeof':
(.text+0x1ba): undefined reference to `PyLong_FromLong'
//usr/lib/libgdb.a(py-type.o): In function `typy_lookup_typename':
(.text+0x348): undefined reference to `PyExc_KeyboardInterrupt'
//usr/lib/libgdb.a(py-type.o): In function `typy_lookup_typename':
(.text+0x34f): undefined reference to `PyExc_RuntimeError'
//usr/lib/libgdb.a(py-type.o): In function `typy_lookup_typename':
(.text+0x359): undefined reference to `PyErr_Format'
//usr/lib/libgdb.a(py-type.o): In function `typy_range':
(.text+0x4c4): undefined reference to `PyLong_FromLong'
//usr/lib/libgdb.a(py-type.o): In function `typy_range':
(.text+0x4d6): undefined reference to `PyLong_FromLong'
//usr/lib/libgdb.a(py-type.o): In function `typy_range':
(.text+0x4ec): undefined reference to `PyTuple_New'
//usr/lib/libgdb.a(py-type.o): In function `typy_range':
(.text+0x50a): undefined reference to `PyTuple_SetItem'
//usr/lib/libgdb.a(py-type.o): In function `typy_range':
etc...

--
С Уважением, Евгений Семенов
Best regards, Evgeniy Semenov.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to