From: Erich B. <eri...@be...> - 2004-12-20 14:52:39
|
> > Can anyone point me in the right direction? > > > Not without some more information... > > what ExtUtils::MakeMaker version do you have? > > $VERSION = '6.17'; > > > What is the output of > > make > > ./cpp/helpers.h:27: error: `wxOutputStream' does not name a type > ./cpp/helpers.h:37: error: expected `,' or `...' before '*' token > ./cpp/helpers.h:37: error: ISO C++ forbids declaration of `wxChar' with > no type <snip> > Is this the first error? If not, could you send me the very first error appearing after compiler invocation? No it's not. Sorry about that - I don't know how that happened... ---------------- onion# make c++ -c -I. -I. -I/usr/local/lib/wx/include/gtkd-2.4 -O -pipe -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE" -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES Wx.c In file included from Wx.c:32: cpp/wxapi.h:21:21: wx/defs.h: No such file or directory cpp/wxapi.h:26:2: #error wxWindows 2.2.x and 2.3.x are no longer supported by wxPerl In file included from ./cpp/chkconfig.h:14, from cpp/wxapi.h:29, from Wx.c:32: /usr/local/lib/wx/include/gtkd-2.4/wx/setup.h:1144:24: wx/chkconf.h:No such file or directory In file included from cpp/wxapi.h:76, from Wx.c:32: ./cpp/helpers.h:16:23: wx/object.h: No such file or directory ./cpp/helpers.h:17:21: wx/list.h: No such file or directory ./cpp/helpers.h:18:23: wx/gdicmn.h: No such file or directory In file included from cpp/wxapi.h:76, from Wx.c:32: ./cpp/helpers.h:21: error: aggregate `WXDLLEXPORT wxInputStream' hasincomplete type and cannot be defined ./cpp/helpers.h:22: error: aggregate `WXDLLEXPORT wxOutputStream' has incomplete type and cannot be defined ./cpp/helpers.h:23: error: aggregate `WXDLLEXPORT wxEvtHandler' has incomplete type and cannot be defined ./cpp/helpers.h:24: error: aggregate `WXDLLEXPORT wxArrayInt' has incomplete type and cannot be defined ./cpp/helpers.h:25: error: aggregate `WXDLLEXPORT wxClientDataContainer' has incomplete type and cannot be defined ./cpp/helpers.h:26: error: `wxInputStream' does not name a type ./cpp/helpers.h:27: error: `wxOutputStream' does not name a type ./cpp/helpers.h:37: error: expected `,' or `...' before '*' token ./cpp/helpers.h:37: error: ISO C++ forbids declaration of `wxChar' with no type ./cpp/helpers.h:38: error: expected `,' or `...' before '&' token ./cpp/helpers.h:38: error: ISO C++ forbids declaration of `wxString'with no type ./cpp/helpers.h:77: error: expected `,' or `...' before '*' token ./cpp/helpers.h:78: error: ISO C++ forbids declaration of `wxChar' with no type ./cpp/helpers.h: In function `SV* wxPli_wxChar_2_sv(int)': ./cpp/helpers.h:79: error: `out' undeclared (first use this function) ./cpp/helpers.h:79: error: (Each undeclared identifier is reported only once for each function it appears in.) ./cpp/helpers.h:79: error: `str' undeclared (first use this function) ./cpp/helpers.h: At global scope: ./cpp/helpers.h:83: error: expected `,' or `...' before '&' token ./cpp/helpers.h:84: error: ISO C++ forbids declaration of `wxString'with no type ./cpp/helpers.h: In function `SV* wxPli_wxString_2_sv(int)': ./cpp/helpers.h:85: error: `out' undeclared (first use this function) ./cpp/helpers.h:85: error: `str' undeclared (first use this function) ./cpp/helpers.h: At global scope: ./cpp/helpers.h:124: error: expected `,' or `...' before '*' token ./cpp/helpers.h:125: error: ISO C++ forbids declaration of `wxChar' with no type ./cpp/helpers.h:148: error: `wxObject' has not been declared ./cpp/helpers.h:148: error: ISO C++ forbids declaration of `object' with no type ./cpp/helpers.h:149: error: `wxEvtHandler' is not a type ./cpp/helpers.h:149: error: ISO C++ forbids declaration of `evth' with no type ./cpp/helpers.h:154: error: `object' was not declared in this scope ./cpp/helpers.h:155: error: expected primary-expression before "const" ./cpp/helpers.h:155: error: initializer expression list treated as compound expression ./cpp/helpers.h:167: error: `wxWindowID' does not name a type ./cpp/helpers.h:168: error: `wxString' has not been declared ./cpp/helpers.h:168: error: ISO C++ forbids declaration of `array' with no type ./cpp/helpers.h:170: error: `wxChar' has not been declared ./cpp/helpers.h:170: error: ISO C++ forbids declaration of `array' with no type ./cpp/helpers.h:178: error: expected `,' or `...' before '&' token ./cpp/helpers.h:178: error: ISO C++ forbids declaration of `wxArrayString' with no type ./cpp/helpers.h:179: error: expected `,' or `...' before '&' token ./cpp/helpers.h:179: error: ISO C++ forbids declaration of `wxArrayInt' with no type ./cpp/helpers.h:180: error: expected `,' or `...' before '&' token ./cpp/helpers.h:180: error: ISO C++ forbids declaration of `wxArrayString' with no type ./cpp/helpers.h:182: error: expected `,' or `...' before '&' token ./cpp/helpers.h:182: error: ISO C++ forbids declaration of `wxList' with no type ./cpp/helpers.h:189: error: `wxPoint' does not name a type ./cpp/helpers.h:190: error: `wxPoint' does not name a type ./cpp/helpers.h:191: error: `wxSize' does not name a type ./cpp/helpers.h:192: error: `wxKeyCode' does not name a type ./cpp/helpers.h:194: error: `wxList' has not been declared ./cpp/helpers.h:194: error: `wxPoint' has not been declared ./cpp/helpers.h:194: error: ISO C++ forbids declaration of `points' with no type ./cpp/helpers.h:194: error: ISO C++ forbids declaration of `tmp' with no type ./cpp/helpers.h:195: error: `wxPoint' has not been declared ./cpp/helpers.h:195: error: ISO C++ forbids declaration of `points' with no type ./cpp/helpers.h:261: error: `wxEvtHandler' is not a type ./cpp/helpers.h:261: error: ISO C++ forbids declaration of `evth' with no type ./cpp/helpers.h:262: error: `wxObject' has not been declared ./cpp/helpers.h:262: error: ISO C++ forbids declaration of `parameter' with no type ./cpp/helpers.h:265: error: ISO C++ forbids declaration of `wxPoint'with no type ./cpp/helpers.h:265: error: expected `;' before '(' token ./cpp/helpers.h:266: error: ISO C++ forbids declaration of `wxPoint'with no type ./cpp/helpers.h:266: error: expected `;' before '(' token ./cpp/helpers.h:267: error: ISO C++ forbids declaration of `wxSize' with no type ./cpp/helpers.h:267: error: expected `;' before '(' token ./cpp/helpers.h:285: error: ISO C++ forbids declaration of `wxWindowID' with no type ./cpp/helpers.h:285: error: expected `;' before '(' token ./cpp/helpers.h:286: error: `wxString' has not been declared ./cpp/helpers.h:286: error: ISO C++ forbids declaration of `parameter' with no type ./cpp/helpers.h:288: error: expected `,' or `...' before '*' token ./cpp/helpers.h:289: error: ISO C++ forbids declaration of `wxChar' with no type ./cpp/helpers.h:294: error: expected `;' before '(' token ./cpp/helpers.h:300: error: expected `,' or `...' before '&' token ./cpp/helpers.h:300: error: ISO C++ forbids declaration of `wxList' with no type ./cpp/helpers.h:301: error: expected `,' or `...' before '&' token ./cpp/helpers.h:301: error: ISO C++ forbids declaration of `wxArrayInt' with no type ./cpp/helpers.h:360: error: `wxCALLBACK' does not name a type ./cpp/helpers.h:366: error: expected class-name before '{' token ./cpp/helpers.h:401: error: typedef `wxPliGetCallbackObjectFn' is initialized (use __typeof__ instead) ./cpp/helpers.h:401: error: `wxObject' was not declared in this scope ./cpp/helpers.h:401: error: `object' was not declared in this scope ./cpp/helpers.h:404: error: expected class-name before '{' token ./cpp/helpers.h:415: error: expected `)' before '*' token Wx.c:34:23: wx/window.h: No such file or directory Wx.c:35:23: wx/module.h: No such file or directory Wx.c:53: error: `WXDLLEXPORT' does not name a type Wx.c:55: error: `WXDLLEXPORT' does not name a type Wx.c:56: error: `WXDLLEXPORT' does not name a type In file included from Wx.c:59: cpp/typedef.h:192: error: `wxInputStream' does not name a type cpp/typedef.h:193: error: `wxOutputStream' does not name a type In file included from cpp/helpers.cpp:13, from Wx.c:65: ./cpp/streams.h:17:23: wx/stream.h: No such file or directory In file included from cpp/helpers.cpp:13, from Wx.c:65: ./cpp/streams.h:23: error: invalid use of undefined type `struct wxInputStream' cpp/typedef.h:192: error: forward declaration of `struct wxInputStream' ./cpp/streams.h:40: error: `wxSeekMode' has not been declared ./cpp/streams.h:40: error: ISO C++ forbids declaration of `mode' with no type ./cpp/streams.h:48: error: invalid use of undefined type `struct wxOutputStream' cpp/typedef.h:193: error: forward declaration of `struct wxOutputStream' ./cpp/streams.h:63: error: `wxSeekMode' has not been declared ./cpp/streams.h:63: error: ISO C++ forbids declaration of `mode' with no type In file included from cpp/helpers.cpp:14, from Wx.c:65: ./cpp/streams.cpp:58: error: `wxSeekMode' has not been declared ./cpp/streams.cpp:58: error: ISO C++ forbids declaration of `mode' with no type ./cpp/streams.cpp: In member function `size_t wxPliInputStream::OnSysRead(void*, size_t)': ./cpp/streams.cpp:125: error: `m_lasterror' undeclared (first use this function) ./cpp/streams.cpp:125: error: `wxSTREAM_NO_ERROR' undeclared (first use this function) ./cpp/streams.cpp:127: error: `wxSTREAM_READ_ERROR' undeclared (first use this function) ./cpp/streams.cpp:132: error: `wxSTREAM_EOF' undeclared (first use this function) ./cpp/streams.cpp: At global scope: ./cpp/streams.cpp:146: error: `wxSeekMode' has not been declared ./cpp/streams.cpp:147: error: ISO C++ forbids declaration of `mode' with no type ./cpp/streams.cpp: In member function `wxPliFileOffset wxPliInputStream::OnSysSeek(wxPliFileOffset, int)': ./cpp/streams.cpp:148: error: cannot convert `wxPliInputStream* const' to `wxStreamBase*' for argument `1' to `wxPliFileOffset stream_seek(wxStreamBase*, SV*, wxPliFileOffset, int)' ./cpp/streams.cpp: In member function `wxPliFileOffset wxPliInputStream::OnSysTell() const': ./cpp/streams.cpp:153: error: cannot convert `const wxPliInputStream* const' to `const wxStreamBase*' for argument `1' to `wxPliFileOffset stream_tell(const wxStreamBase*, SV*)' ./cpp/streams.cpp: In member function `size_t wxPliOutputStream::OnSysWrite(const void*, size_t)': ./cpp/streams.cpp:216: error: `m_lasterror' undeclared (first use this function) ./cpp/streams.cpp:216: error: `wxSTREAM_NO_ERROR' undeclared (first use this function) ./cpp/streams.cpp:218: error: `wxSTREAM_WRITE_ERROR' undeclared (first use this function) ./cpp/streams.cpp: At global scope: ./cpp/streams.cpp:235: error: `wxSeekMode' has not been declared ./cpp/streams.cpp:236: error: ISO C++ forbids declaration of `mode' with no type ./cpp/streams.cpp: In member function `wxPliFileOffset wxPliOutputStream::OnSysSeek(wxPliFileOffset, int)': ./cpp/streams.cpp:237: error: cannot convert `wxPliOutputStream* const' to `wxStreamBase*' for argument `1' to `wxPliFileOffset stream_seek(wxStreamBase*, SV*, wxPliFileOffset, int)' ./cpp/streams.cpp: In member function `wxPliFileOffset wxPliOutputStream::OnSysTell() const': ./cpp/streams.cpp:242: error: cannot convert `const wxPliOutputStream* const' to `const wxStreamBase*' for argument `1' to `wxPliFileOffset stream_tell(const wxStreamBase*, SV*)' ./cpp/streams.cpp: At global scope: ./cpp/streams.cpp:247: error: `wxSeekMode' has not been declared ./cpp/streams.cpp:248: error: ISO C++ forbids declaration of `mode' with no type ./cpp/streams.cpp: In function `wxPliFileOffset stream_seek(wxStreamBase*, SV*, wxPliFileOffset, int)': ./cpp/streams.cpp:253: error: `wxFromStart' undeclared (first use this function) ./cpp/streams.cpp:256: error: `wxFromCurrent' undeclared (first use this function) ./cpp/streams.cpp:259: error: `wxFromEnd' undeclared (first use thisfunction) In file included from Wx.c:65: cpp/helpers.cpp: At global scope: cpp/helpers.cpp:99: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp: In destructor `wxPliUserDataCD::~wxPliUserDataCD()': cpp/helpers.cpp:101: error: `m_data' undeclared (first use this function) cpp/helpers.cpp: At global scope: cpp/helpers.cpp:110: error: `wxCALLBACK' does not name a type cpp/helpers.cpp:143: error: expected `,' or `...' before '*' token cpp/helpers.cpp:145: error: ISO C++ forbids declaration of `wxChar' with no type cpp/helpers.cpp: In function `const char* wxPli_cpp_class_2_perl(int)': cpp/helpers.cpp:146: error: `buffer' undeclared (first use this function) cpp/helpers.cpp:148: error: `className' undeclared (first use this function) cpp/helpers.cpp:148: error: `wxT' undeclared (first use this function) cpp/helpers.cpp: In function `void wxPli_push_args(SV***, const char*, char*&)': cpp/helpers.cpp:191: error: `wxChar' undeclared (first use this function) cpp/helpers.cpp:191: error: `wstval' undeclared (first use this function) cpp/helpers.cpp:195: error: `wxString' undeclared (first use this function) cpp/helpers.cpp:195: error: `wxsval' undeclared (first use this function) cpp/helpers.cpp:229: error: `wxString' has not been declared cpp/helpers.cpp:229: error: expected `)' before '*' token cpp/helpers.cpp:229: error: expected primary-expression before ')' token cpp/helpers.cpp:229: error: expected `;' before ')' token cpp/helpers.cpp:237: error: `wxChar' has not been declared cpp/helpers.cpp:237: error: expected `)' before '*' token cpp/helpers.cpp:237: error: expected primary-expression before ')' token cpp/helpers.cpp:237: error: expected `;' before ')' token cpp/helpers.cpp:253: error: cannot convert `wxObject*' to `int*' forargument `2' to `SV* wxPli_object_2_sv(SV*, int*)' cpp/helpers.cpp: In function `void* wxPli_sv_2_object(SV*, const char*)': cpp/helpers.cpp:338: warning: cast to pointer from integer of different size cpp/helpers.cpp: At global scope: cpp/helpers.cpp:384: error: `wxEvtHandler' is not a type cpp/helpers.cpp:385: error: ISO C++ forbids declaration of `cdc' with no type cpp/helpers.cpp: In function `SV* wxPli_evthandler_2_sv(SV*, int*)': cpp/helpers.cpp:392: error: expected primary-expression before '*' token cpp/helpers.cpp:392: error: expected primary-expression before ')' token cpp/helpers.cpp:392: error: expected `,' or `;' before "cdc" cpp/helpers.cpp:396: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp:396: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp:396: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp:396: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp:396: error: invalid use of undefined type `struct wxPliUserDataCD' ./cpp/helpers.h:362: error: forward declaration of `struct wxPliUserDataCD' cpp/helpers.cpp:401: error: `GetClassInfo' has not been declared cpp/helpers.cpp:401: error: request for member of non-aggregate typebefore '(' token cpp/helpers.cpp:402: error: expected primary-expression before "const" cpp/helpers.cpp:402: error: expected `;' before "const" cpp/helpers.cpp:405: error: `classname' undeclared (first use this function) cpp/helpers.cpp: In function `SV* wxPli_object_2_sv(SV*, wxObject*)': cpp/helpers.cpp:420: error: invalid use of undefined type `struct wxObject' cpp/typedef.h:149: error: forward declaration of `struct wxObject' cpp/helpers.cpp:421: error: expected primary-expression before "const" cpp/helpers.cpp:421: error: expected `;' before "const" cpp/helpers.cpp:422: error: `evtHandler' undeclared (first use this function) cpp/helpers.cpp:422: error: `wxDynamicCast' undeclared (first use this function) cpp/helpers.cpp:430: error: `classname' undeclared (first use this function) cpp/helpers.cpp:434: error: `cci->wxPliClassInfo::m_func' cannot be used as a function cpp/helpers.cpp: In function `void wxPli_attach_object(SV*, void*)': cpp/helpers.cpp:472: warning: cast from pointer to integer of different size cpp/helpers.cpp: In function `void* wxPli_detach_object(SV*)': cpp/helpers.cpp:511: warning: cast to pointer from integer of different size cpp/helpers.cpp: At global scope: cpp/helpers.cpp:518: error: redefinition of `SV*wxPli_create_evthandler' ./cpp/helpers.h:154: error: `SV*wxPli_create_evthandler' previously defined here cpp/helpers.cpp:518: error: `object' was not declared in this scope cpp/helpers.cpp:519: error: expected primary-expression before "const" cpp/helpers.cpp:520: error: expected `,' or `;' before '{' token cpp/helpers.cpp:569: error: expected `,' or `...' before '&' token cpp/helpers.cpp:570: error: ISO C++ forbids declaration of `wxArrayString' with no type cpp/helpers.cpp: In function `void wxPli_stringarray_push(int)': cpp/helpers.cpp:573: error: `strings' undeclared (first use this function) cpp/helpers.cpp: At global scope: cpp/helpers.cpp:590: error: expected `,' or `...' before '&' token cpp/helpers.cpp:591: error: ISO C++ forbids declaration of `wxArrayInt' with no type cpp/helpers.cpp: In function `void wxPli_intarray_push(int)': cpp/helpers.cpp:594: error: `ints' undeclared (first use this function) cpp/helpers.cpp: At global scope: cpp/helpers.cpp:604: error: expected `,' or `...' before '&' token cpp/helpers.cpp:605: error: ISO C++ forbids declaration of `wxList' with no type cpp/helpers.cpp: In function `AV* wxPli_objlist_2_av(int)': cpp/helpers.cpp:608: error: `wxList' is not a class or namespace cpp/helpers.cpp:608: error: `Node' undeclared (first use this function) cpp/helpers.cpp:608: error: `node' undeclared (first use this function) cpp/helpers.cpp:610: error: `objs' undeclared (first use this function) cpp/helpers.cpp: At global scope: cpp/helpers.cpp:621: error: expected `,' or `...' before '&' token cpp/helpers.cpp:622: error: ISO C++ forbids declaration of `wxArrayString' with no type cpp/helpers.cpp: In function `AV* wxPli_stringarray_2_av(int)': cpp/helpers.cpp:624: error: `strings' undeclared (first use this function) In file included from Wx.c:65: cpp/helpers.cpp:739:21: wx/menu.h: No such file or directory cpp/helpers.cpp: At global scope: cpp/helpers.cpp:741: error: `wxWindowID' does not name a type cpp/helpers.cpp:763: error: `wxString' has not been declared cpp/helpers.cpp:764: error: ISO C++ forbids declaration of `array' with no type cpp/helpers.cpp: In function `int wxPli_av_2_stringarray(SV*, int**)': cpp/helpers.cpp:765: error: `wxString' undeclared (first use this function) cpp/helpers.cpp:765: error: `arr' undeclared (first use this function) cpp/helpers.cpp:778: error: `wxString' has not been declared cpp/helpers.cpp:783: error: `wxConvUTF8' undeclared (first use this function) cpp/helpers.cpp:783: error: `wxConvLocal' undeclared (first use thisfunction) cpp/helpers.cpp: At global scope: cpp/helpers.cpp:842: error: `wxChar' has not been declared cpp/helpers.cpp:843: error: ISO C++ forbids declaration of `array' with no type cpp/helpers.cpp: In function `int wxPli_av_2_wxcharparray(SV*, int***)': cpp/helpers.cpp:844: error: `wxChar' undeclared (first use this function) cpp/helpers.cpp:844: error: `arr' undeclared (first use this function) cpp/helpers.cpp:856: error: `wxChar' has not been declared cpp/helpers.cpp:861: error: `wxString' undeclared (first use this function) cpp/helpers.cpp:861: error: expected `;' before "str" cpp/helpers.cpp:862: error: `str' undeclared (first use this function) cpp/helpers.cpp:862: error: `wxConvUTF8' undeclared (first use this function) cpp/helpers.cpp:862: error: `wxConvLocal' undeclared (first use thisfunction) cpp/helpers.cpp: In function `wxPoint wxPli_sv_2_wxpoint(SV*)': cpp/helpers.cpp:988: error: return type `struct wxPoint' is incomplete cpp/helpers.cpp:989: error: `wxPli_sv_2_wxpoint_test' undeclared (first use this function) cpp/helpers.cpp: In function `wxPoint wxPli_sv_2_wxpoint_test(SV*, bool*)': cpp/helpers.cpp:993: error: return type `struct wxPoint' is incomplete cpp/helpers.cpp:993: error: `wxPoint wxPli_sv_2_wxpoint_test(SV*, bool*)' used prior to declaration cpp/helpers.cpp:994: error: aggregate `wxPoint dummy' has incompletetype and cannot be defined cpp/helpers.cpp:1005: warning: cast to pointer from integer of different size cpp/helpers.cpp:1028: error: invalid use of undefined type `struct wxPoint' cpp/typedef.h:154: error: forward declaration of `struct wxPoint' cpp/helpers.cpp:1005: confused by earlier errors, bailing out *** Error code 1 Stop in /var/ports/perl/modules/Wx-0.21. onion# ---------------------- > Is wxWidgets installed? If wx-config installed and in the path? Yes. wx-config is in /usr/local/bin/wx-config. wx-config --version returns 2.4.2 > Regards > Mattia |