aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CAS/ALC issues with today svn tarballs and Debian testing  (Read 3389 times)

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8
CAS/ALC issues with today svn tarballs and Debian testing
« on: July 01, 2007, 02:33:44 PM »

Hi,

there is a lot of errors during compilation phase, I use provided debian stuffes.

related packages info:
Quote
ii  gcc             4:4.1.1-15       The GNU C compiler
ii  gcc-3.3-base    1:3.3.6-15       The GNU Compiler Collection (base package)
ii  gcc-3.4-base    3.4.6-5          The GNU Compiler Collection (base package)
ii  gcc-4.1         4.1.1-21         The GNU C compiler
ii  gcc-4.1-base    4.1.1-21         The GNU Compiler Collection (base package)
ii  gcc-4.1-doc     4.1.1.nf3-1      documentation for the GNU compilers (gcc, go
ii  gcc-4.2-base    4.2-20070609-1   The GNU Compiler Collection (base package)
ii  gcc-doc-base    4.1.1.nf3-1      several GNU manual pages
ii  libgcc1         1:4.2-20070609-1 GCC support library

ii  libwxbase2.6-0    2.6.3.2.1.5    wxBase library (runtime) - non-GUI support c
ii  libwxbase2.6-dev  2.6.3.2.1.5    wxBase library (development) - non-GUI suppo
ii  libwxbase2.8-0    2.8.0.1-1      wxBase library (runtime) - non-GUI support c
ii  libwxbase2.8-dev  2.8.0.1-1      wxBase library (development) - non-GUI suppo
ii  libwxgtk2.6-0     2.6.3.2.1.5    wxWidgets Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.6-dev   2.6.3.2.1.5    wxWidgets Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.8-0     2.8.0.1-1      wxWidgets Cross-platform C++ GUI toolkit (GT
ii  wx2.6-headers     2.6.3.2.1.5    wxWidgets Cross-platform C++ GUI toolkit (he
ii  wx2.6-i18n        2.6.3.2.1.5    wxWidgets Cross-platform C++ GUI toolkit (i1
ii  wx2.8-headers     2.8.0.1-1      wxWidgets Cross-platform C++ GUI toolkit (he

(the latest wx are used)
  Libraries aMule will use to build:
                                       wxWidgets             2.8.0
                                       crypto++              embedded
                                       libpng                1.2.15beta5
                                       libgd                 2.0.34
                                       zlib                  1.2.3
                                       geoip                 yes


Errors are:

Quote
/usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
wxcasframe.h: At global scope:
wxcasframe.h:56: error: invalid use of undefined type 'struct wxFrame'
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of 'struct wxFrame'
wxcasframe.h:59: error: ISO C++ forbids declaration of 'wxToolBar' with no type
wxcasframe.h:59: error: expected ';' before '*' token
wxcasframe.h:60: error: 'wxBitmap' does not name a type
wxcasframe.h:62: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
wxcasframe.h:62: error: expected ';' before '*' token
wxcasframe.h:63: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
wxcasframe.h:63: error: expected ';' before '*' token
wxcasframe.h:65: error: ISO C++ forbids declaration of 'wxPanel' with no type
wxcasframe.h:65: error: expected ';' before '*' token
wxcasframe.h:67: error: ISO C++ forbids declaration of 'wxStaticLine' with no type
wxcasframe.h:67: error: expected ';' before '*' token
wxcasframe.h:73: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
wxcasframe.h:73: error: expected ';' before '*' token
wxcasframe.h:74: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
wxcasframe.h:74: error: expected ';' before '*' token
wxcasframe.h:76: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
wxcasframe.h:76: error: expected ';' before '*' token
wxcasframe.h:77: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
wxcasframe.h:77: error: expected ';' before '*' token
wxcasframe.h:79: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
wxcasframe.h:79: error: expected ';' before '*' token
wxcasframe.h:80: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
wxcasframe.h:80: error: expected ';' before '*' token
wxcasframe.h:82: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
wxcasframe.h:82: error: expected ';' before '*' token
wxcasframe.h:83: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
wxcasframe.h:83: error: expected ';' before '*' token
wxcasframe.h:85: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:85: error: expected ';' before '*' token
wxcasframe.h:86: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:86: error: expected ';' before '*' token
wxcasframe.h:87: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:87: error: expected ';' before '*' token
wxcasframe.h:88: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:88: error: expected ';' before '*' token
wxcasframe.h:89: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:89: error: expected ';' before '*' token
wxcasframe.h:90: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:90: error: expected ';' before '*' token
wxcasframe.h:91: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:91: error: expected ';' before '*' token
wxcasframe.h:93: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:93: error: expected ';' before '*' token
wxcasframe.h:94: error: ISO C++ forbids declaration of 'wxButton' with no type
wxcasframe.h:94: error: expected ';' before '*' token
wxcasframe.h:96: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:96: error: expected ';' before '*' token
wxcasframe.h:97: error: ISO C++ forbids declaration of 'wxButton' with no type
wxcasframe.h:97: error: expected ';' before '*' token
wxcasframe.h:100: error: ISO C++ forbids declaration of 'wxTimer' with no type
wxcasframe.h:100: error: expected ';' before '*' token
wxcasframe.h:101: error: ISO C++ forbids declaration of 'wxTimer' with no type
wxcasframe.h:101: error: expected ';' before '*' token
wxcasframe.h:108: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:108: error: expected ';' before '*' token
wxcasframe.h:109: error: ISO C++ forbids declaration of 'wxStaticText' with no type
wxcasframe.h:109: error: expected ';' before '*' token
wxcasframe.h:156: error: 'wxCommandEvent' has not been declared
wxcasframe.h:157: error: 'wxCommandEvent' has not been declared
wxcasframe.h:158: error: 'wxCommandEvent' has not been declared
wxcasframe.h:159: error: 'wxCommandEvent' has not been declared
wxcasframe.h:160: error: 'wxCommandEvent' has not been declared
wxcasframe.h:161: error: 'wxTimerEvent' has not been declared
wxcasframe.h:162: error: 'wxTimerEvent' has not been declared
wxcasframe.h:163: error: 'wxCommandEvent' has not been declared
wxcasframe.h:164: error: 'wxCommandEvent' has not been declared
wxcasframe.h:176: error: ISO C++ forbids declaration of 'wxImage' with no type
wxcasframe.h:176: error: expected ';' before '*' token
wxcasframe.h:57: warning: 'class WxCasFrame' has virtual functions but non-virtual destructor
wxcas.cpp: In function 'wxAppConsole* wxCreateApp()':
wxcas.cpp:54: error: cannot allocate an object of abstract type 'WxCas'
wxcas.h:47: note:   because the following virtual functions are pure within 'WxCas':
/usr/include/wx-2.8/wx/app.h:89: note:    virtual int wxAppConsole::OnRun()
wxcas.cpp: In member function 'virtual bool WxCas::OnInit()':
wxcas.cpp:65: error: 'wxImage' has not been declared
wxcas.cpp:65: error: expected type-specifier before 'wxPNGHandler'
wxcas.cpp:65: error: expected `)' before 'wxPNGHandler'
wxcas.cpp:70: error: 'wxImage' has not been declared
wxcas.cpp:70: error: expected type-specifier before 'wxJPEGHandler'
wxcas.cpp:70: error: expected `)' before 'wxJPEGHandler'
wxcas.cpp:78: error: 'SetPrintMode' was not declared in this scope
wxcas.cpp:88: error: 'class WxCasFrame' has no member named 'Show'
wxcas.cpp:89: error: 'SetTopWindow' was not declared in this scope
make[5]: *** [wxcas-wxcas.o] Erreur 1

disabling CAS is not enough as
Quote
/usr/include/wx-2.8/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const':
/usr/include/wx-2.8/wx/clntdata.h:25: warning: dereferencing type-punned pointer will break strict-aliasing rules
alcframe.h: At global scope:
alcframe.h:53: error: invalid use of undefined type 'struct wxFrame'
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of 'struct wxFrame'
alcframe.h:56: error: ISO C++ forbids declaration of 'wxToolBar' with no type
alcframe.h:56: error: expected ';' before '*' token
alcframe.h:57: error: 'wxBitmap' does not name a type
alcframe.h:59: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
alcframe.h:59: error: expected ';' before '*' token
alcframe.h:61: error: ISO C++ forbids declaration of 'wxPanel' with no type
alcframe.h:61: error: expected ';' before '*' token
alcframe.h:62: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
alcframe.h:62: error: expected ';' before '*' token
alcframe.h:64: error: ISO C++ forbids declaration of 'wxStaticLine' with no type
alcframe.h:64: error: expected ';' before '*' token
alcframe.h:66: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
alcframe.h:66: error: expected ';' before '*' token
alcframe.h:67: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
alcframe.h:67: error: expected ';' before '*' token
alcframe.h:68: error: ISO C++ forbids declaration of 'wxFlexGridSizer' with no type
alcframe.h:68: error: expected ';' before '*' token
alcframe.h:69: error: ISO C++ forbids declaration of 'wxStaticText' with no type
alcframe.h:69: error: expected ';' before '*' token
alcframe.h:70: error: ISO C++ forbids declaration of 'wxTextCtrl' with no type
alcframe.h:70: error: expected ';' before '*' token
alcframe.h:71: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:71: error: expected ';' before '*' token
alcframe.h:72: error: ISO C++ forbids declaration of 'wxStaticText' with no type
alcframe.h:72: error: expected ';' before '*' token
alcframe.h:73: error: ISO C++ forbids declaration of 'wxTextCtrl' with no type
alcframe.h:73: error: expected ';' before '*' token
alcframe.h:74: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:74: error: expected ';' before '*' token
alcframe.h:75: error: ISO C++ forbids declaration of 'wxListBox' with no type
alcframe.h:75: error: expected ';' before '*' token
alcframe.h:76: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
alcframe.h:76: error: expected ';' before '*' token
alcframe.h:77: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:77: error: expected ';' before '*' token
alcframe.h:78: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:78: error: expected ';' before '*' token
alcframe.h:79: error: ISO C++ forbids declaration of 'wxCheckBox' with no type
alcframe.h:79: error: expected ';' before '*' token
alcframe.h:81: error: ISO C++ forbids declaration of 'wxProgressDialog' with no type
alcframe.h:81: error: expected ';' before '*' token
alcframe.h:92: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
alcframe.h:92: error: expected ';' before '*' token
alcframe.h:93: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
alcframe.h:93: error: expected ';' before '*' token
alcframe.h:94: error: ISO C++ forbids declaration of 'wxTextCtrl' with no type
alcframe.h:94: error: expected ';' before '*' token
alcframe.h:96: error: ISO C++ forbids declaration of 'wxStaticBox' with no type
alcframe.h:96: error: expected ';' before '*' token
alcframe.h:97: error: ISO C++ forbids declaration of 'wxStaticBoxSizer' with no type
alcframe.h:97: error: expected ';' before '*' token
alcframe.h:98: error: ISO C++ forbids declaration of 'wxTextCtrl' with no type
alcframe.h:98: error: expected ';' before '*' token
alcframe.h:100: error: ISO C++ forbids declaration of 'wxBoxSizer' with no type
alcframe.h:100: error: expected ';' before '*' token
alcframe.h:101: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:101: error: expected ';' before '*' token
alcframe.h:102: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:102: error: expected ';' before '*' token
alcframe.h:103: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:103: error: expected ';' before '*' token
alcframe.h:104: error: ISO C++ forbids declaration of 'wxButton' with no type
alcframe.h:104: error: expected ';' before '*' token
alcframe.h:135: error: 'wxCommandEvent' has not been declared
alcframe.h:138: error: 'wxCommandEvent' has not been declared
alcframe.h:141: error: 'wxCommandEvent' has not been declared
alcframe.h:144: error: 'wxCommandEvent' has not been declared
alcframe.h:147: error: 'wxCommandEvent' has not been declared
alcframe.h:150: error: 'wxCommandEvent' has not been declared
alcframe.h:153: error: 'wxCommandEvent' has not been declared
alcframe.h:156: error: 'wxCommandEvent' has not been declared
alcframe.h:159: error: 'wxCommandEvent' has not been declared
alcframe.h:162: error: 'wxCommandEvent' has not been declared
alcframe.h:165: error: 'wxCommandEvent' has not been declared
alcframe.h:168: error: 'wxCommandEvent' has not been declared
alcframe.h:54: warning: 'class AlcFrame' has virtual functions but non-virtual destructor
alc.cpp: In function 'wxAppConsole* wxCreateApp()':
alc.cpp:45: error: cannot allocate an object of abstract type 'alc'
alc.h:45: note:   because the following virtual functions are pure within 'alc':
/usr/include/wx-2.8/wx/app.h:89: note:    virtual int wxAppConsole::OnRun()
alc.cpp: In member function 'virtual bool alc::OnInit()':
alc.cpp:54: error: 'class AlcFrame' has no member named 'Show'
alc.cpp:55: error: 'SetTopWindow' was not declared in this scope
make[6]: *** [alc-alc.o] Erreur 1
make[6]: quittant le répertoire « /usr/local/tarballs/amule-cvs-20070701/src/utils/aLinkCreator/src »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: CAS/ALC issues with today svn tarballs and Debian testing
« Reply #1 on: July 01, 2007, 03:44:34 PM »

That seems more like a typo in the sources. How did you start the build-process?
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8
Re: CAS/ALC issues with today svn tarballs and Debian testing
« Reply #2 on: July 01, 2007, 05:10:08 PM »

That seems more like a typo in the sources. How did you start the build-process?
as "usual" debian way: fakeroot debian/rules binary in src dir.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: CAS/ALC issues with today svn tarballs and Debian testing
« Reply #3 on: July 01, 2007, 06:22:20 PM »

I just tested with todays Snap on testing. No problem. Please make sure you have every Build-Dep in debian/control installed, so there should be no problem. libupnp-dev has to be added to this list.

Maybe you should try the real debian way with: dpkg-buildpackage -us -uc -b -rfakeroot
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8
Re: CAS/ALC issues with today svn tarballs and Debian testing
« Reply #4 on: July 01, 2007, 07:18:16 PM »

You"re right, I miss missing include file for libwxgtk2.8-dev.
Now remains the same error about flex as previous topic...
Logged