[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Adonthell-devel] problem compiling toward charedit
From: |
Andrew Phillips |
Subject: |
Re: [Adonthell-devel] problem compiling toward charedit |
Date: |
Tue, 17 Jul 2007 13:54:11 -0500 |
I've added that #ifdef statement.
I think I have the include chain right, more or less, but the errors that g++ kicks back include the following:
undefined reference to `PyCallable_Check'
undefined reference to `PyDict_New'
undefined reference to `PyErr_Occurred'
undefined reference to `PyErr_Print'
undefined reference to `PyImport_ImportModule'
undefined reference to `PyImport_ReloadModule'
undefined reference to `PyInt_AsLong'
undefined reference to `PyInt_FromLong'
undefined reference to `PyInt_Type'
undefined reference to `PyObject_CallObject'
undefined reference to `PyObject_GetAttrString'
undefined reference to `PyObject_HasAttrString'
undefined reference to `PyObject_Repr'
undefined reference to `PyObject_SetAttrString'
undefined reference to `PyRun_SimpleString'
undefined reference to `PyRun_String'
undefined reference to `PyString_AsString'
undefined reference to `PyString_FromString'
undefined reference to `PyString_Type'
undefined reference to `PyTuple_GetItem'
undefined reference to `PyTuple_New'
undefined reference to `PyTuple_SetItem'
undefined reference to `PyTuple_Size'
undefined reference to `PyTuple_Type'
undefined reference to `Py_Finalize'
undefined reference to `Py_Initialize'
I think I have all the appropriate Python files included.
I've also noticed some oddness when I include base/timer.cc and base/paths.cc
/home/cptlogic/adonthell/src/base/timer.cc:43: redefinition of `struct timespec'
/usr/include/time.h:107: previous definition here
/home/cptlogic/adonthell/src/base/timer.cc: In function `int nanosleep (const timespec *, timespec *)':
/home/cptlogic/adonthell/src/base/timer.cc:50: `Sleep' undeclared (first use this function)
/home/cptlogic/adonthell/src/base/timer.cc:50: (Each undeclared identifier is reported only once for
each function it appears in.)
/home/cptlogic/adonthell/src/base/timer.cc: In function `void base::timer::sleep (unsigned int)':
/home/cptlogic/adonthell/src/base/timer.cc:83: no matching function for call to `timespec::timespec ()'
/home/cptlogic/adonthell/src/base/timer.cc:46: candidates are: timespec::timespec (const timespec &)
/home/cptlogic/adonthell/src/base/timer.cc:83: no matching function for call to `timespec::timespec ()'
/home/cptlogic/adonthell/src/base/timer.cc:46: candidates are: timespec::timespec (const timespec &)
/home/cptlogic/adonthell/src/base/paths.cc: In function `lt_dlhandle_struct *base::get_module (const
string &)':
/home/cptlogic/adonthell/src/base/paths.cc:65: `PKGLIBDIR' undeclared (first use this function)
/home/cptlogic/adonthell/src/base/paths.cc:65: (Each undeclared identifier is reported only once for
each function it appears in.)
/home/cptlogic/adonthell/src/base/paths.cc: In method `bool base::paths::init (const string &, const
string &)':
/home/cptlogic/adonthell/src/base/paths.cc:116: `DATA_DIR' undeclared (first use this function)
/home/cptlogic/adonthell/src/base/paths.cc: In method `bool base::paths::open (base::igzstream &, const
string &) const':
/home/cptlogic/adonthell/src/base/paths.cc:158: `stderr' undeclared (first use this function)
/home/cptlogic/adonthell/src/base/paths.cc:158: `fprintf' undeclared (first use this function)
/home/cptlogic/adonthell/src/base/paths.cc: In method `bool base::paths::find_in_path (string &)
const':
/home/cptlogic/adonthell/src/base/paths.cc:206: `getcwd' undeclared (first use this function)
Is there something that I'm missing?
Andrew
- [Adonthell-devel] problem compiling toward charedit, Andrew Phillips, 2007/07/03
- Re: [Adonthell-devel] problem compiling toward charedit, Tyler Nielsen, 2007/07/03
- Re: [Adonthell-devel] problem compiling toward charedit, Andrew Phillips, 2007/07/03
- Re: [Adonthell-devel] problem compiling toward charedit, Andrew Phillips, 2007/07/16
- Re: [Adonthell-devel] problem compiling toward charedit, Kai Sterker, 2007/07/16
- Re: [Adonthell-devel] problem compiling toward charedit, Andrew Phillips, 2007/07/16
- Message not available
- Message not available
- Re: [Adonthell-devel] problem compiling toward charedit,
Andrew Phillips <=
- Re: [Adonthell-devel] problem compiling toward charedit, Kai Sterker, 2007/07/17
- Re: [Adonthell-devel] problem compiling toward charedit, Andrew Phillips, 2007/07/17