[omniORB] Build problem on Mandrake 9.1

Harri Pasanen harri.pasanen at trema.com
Fri Aug 29 10:37:14 BST 2003


You need python-devel package.

sudo urpmi python-devel

should take care it.

Harri


On Thursday 28 August 2003 23:11, dahaverk at rockwellcollins.com wrote:
> I have python 2.2 and gcc 3.2.2 on my Mandrake 9.1 system.  
> However, I get the following when trying to build omniORB-4.0.2
>
> Suggestions welcome.   I haven't been able to figure out where it
> wants to find the "python2.2/Python.h" file and that seems to be
> the "root" cause of the following errors.
>
> Thanks.
>
> -Dave
>
> g++ -c -O2 -Wall -Wno-unused -fexceptions
> -DIDLMODULE_VERSION="\"0x2420\"" -I/usr/include
> -DPYTHON_INCLUDE="<python2.2/Python.h>" -fPIC -I. -I.
> -I../../../../include -I../../../../include -D__OSVERSION__=2
> -D__linux__ -D__x86__ -o idlpython.o idlpython.cc
> idlpython.cc:178:24: python2.2/Python.h: No such file or directory
> idlpython.cc:194:6: #error "omniidl requires Python 1.5.2 or
> higher" idlpython.cc:261: syntax error before `*' token
> idlpython.cc:263: ISO C++ forbids defining types within return type
> idlpython.cc:263: syntax error before `*' token
> idlpython.cc:264: syntax error before `*' token
> idlpython.cc:268: syntax error before `*' token
> idlpython.cc:269: type specifier omitted for parameter `PyObject'
> idlpython.cc:269: parse error before `*' token
> idlpython.cc:270: syntax error before `*' token
> idlpython.cc:272: syntax error before `*' token
> idlpython.cc:273: syntax error before `*' token
> idlpython.cc:275: syntax error before `*' token
> idlpython.cc: In constructor `PythonVisitor::PythonVisitor()':
> idlpython.cc:281: `idlast_' undeclared (first use this function)
> idlpython.cc:281: (Each undeclared identifier is reported only once
> for each function it appears in.)
> idlpython.cc:281: `PyImport_ImportModule' undeclared (first use
> this function)
> idlpython.cc:282: `idltype_' undeclared (first use this function)
> idlpython.cc:283: `PyErr_Print' undeclared (first use this
> function) idlpython.cc: In destructor `virtual
> PythonVisitor::~PythonVisitor()': idlpython.cc:290: `Py_DECREF'
> undeclared (first use this function) idlpython.cc: At global scope:
> idlpython.cc:295: syntax error before `*' token
> idlpython.cc:302: parse error before `for'
> idlpython.cc:302: ISO C++ forbids declaration of `f' with no type
> idlpython.cc:302: ISO C++ forbids declaration of `f' with no type
> idlpython.cc:302: redefinition of `int f'
> idlpython.cc:302: `int f' previously declared here
> idlpython.cc:302: base operand of `->' is not a pointer
> idlpython.cc:302: parse error before `++' token
> idlpython.cc:304: syntax error before `*' token
> idlpython.cc:306: ISO C++ forbids declaration of `f' with no type
> idlpython.cc:306: redefinition of `int f'
> idlpython.cc:302: `int f' previously defined here
> idlpython.cc:306: ISO C++ forbids declaration of `f' with no type
> idlpython.cc:306: redefinition of `int f'
> idlpython.cc:306: `int f' previously declared here
> idlpython.cc:306: base operand of `->' is not a pointer
> idlpython.cc:306: parse error before `++' token
> idlpython.cc:313: syntax error before `*' token
> idlpython.cc:318: redefinition of `int i'
> idlpython.cc:300: `int i' previously declared here
> idlpython.cc:320: parse error before `for'
> idlpython.cc:320: ISO C++ forbids declaration of `p' with no type
> idlpython.cc:320: ISO C++ forbids declaration of `p' with no type
> idlpython.cc:320: redefinition of `int p'
> idlpython.cc:320: `int p' previously declared here
> idlpython.cc:320: base operand of `->' is not a pointer
> idlpython.cc:320: parse error before `++' token
> idlpython.cc:322: syntax error before `*' token
> idlpython.cc:323: syntax error before `*' token
> idlpython.cc:325: ISO C++ forbids declaration of `p' with no type
> idlpython.cc:325: redefinition of `int p'
> idlpython.cc:320: `int p' previously defined here
> idlpython.cc:325: ISO C++ forbids declaration of `p' with no type
> idlpython.cc:325: redefinition of `int p'
> idlpython.cc:325: `int p' previously declared here
> idlpython.cc:325: base operand of `->' is not a pointer
> idlpython.cc:325: parse error before `++' token
> idlpython.cc:330: `pylist' was not declared in this scope
> idlpython.cc:330: `pypragma' was not declared in this scope
> idlpython.cc:330: ISO C++ forbids declaration of `PyList_SetItem'
> with no type
> idlpython.cc:330: initializer list being treated as compound
> expression idlpython.cc:331: parse error before `}' token
> idlpython.cc:335: syntax error before `*' token
> idlpython.cc:340: redefinition of `int i'
> idlpython.cc:318: `int i' previously declared here
> idlpython.cc:342: parse error before `for'
> idlpython.cc:342: ISO C++ forbids declaration of `c' with no type
> idlpython.cc:342: ISO C++ forbids declaration of `c' with no type
> idlpython.cc:342: redefinition of `int c'
> idlpython.cc:342: `int c' previously declared here
> idlpython.cc:342: base operand of `->' is not a pointer
> idlpython.cc:342: parse error before `++' token
> idlpython.cc:344: syntax error before `*' token
> idlpython.cc:345: syntax error before `*' token
> idlpython.cc:347: ISO C++ forbids declaration of `c' with no type
> idlpython.cc:347: redefinition of `int c'
> idlpython.cc:342: `int c' previously defined here
> idlpython.cc:347: ISO C++ forbids declaration of `c' with no type
> idlpython.cc:347: redefinition of `int c'
> idlpython.cc:347: `int c' previously declared here
> idlpython.cc:347: base operand of `->' is not a pointer
> idlpython.cc:347: parse error before `++' token
> idlpython.cc:352: `pylist' was not declared in this scope
> idlpython.cc:352: `pycomment' was not declared in this scope
> idlpython.cc:352: ISO C++ forbids declaration of `PyList_SetItem'
> with no type
> idlpython.cc:352: redefinition of `int PyList_SetItem'
> idlpython.cc:330: `int PyList_SetItem' previously defined here
> idlpython.cc:352: initializer list being treated as compound
> expression idlpython.cc:353: parse error before `}' token
> idlpython.cc:360: type specifier omitted for parameter `PyObject'
> idlpython.cc:360: parse error before `*' token
> idlpython.cc:361: no `void PythonVisitor::registerPyDecl(...)'
> member function declared in class `PythonVisitor'
> idlpython.cc: In member function `void
> PythonVisitor::registerPyDecl(...)': idlpython.cc:362: `PyObject'
> undeclared (first use this function) idlpython.cc:362: `pysn'
> undeclared (first use this function) idlpython.cc:362: `sn'
> undeclared (first use this function) idlpython.cc:362:
> `scopedNameToList' undeclared (first use this function)
> idlpython.cc:363: `r' undeclared (first use this function)
> idlpython.cc:364: `pydecl' undeclared (first use this function)
>
>
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list