aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxbase make problem  (Read 1999 times)

burzek

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
wxbase make problem
« on: March 06, 2005, 04:00:54 PM »

Hi ,

I am trying to compile Amuled, which need wxbase 2.5.4.

So I downloaded and tried to compile. After installing lots packages which was needed to get Slackware 9.0 to be able to make compiles, I finally did a /configure --prefix=/usr && make  command.

The configure commands finished normally. However, during make the following error is given and I am stuck, what is wrong or missing?
There seems to be something about archive.cpp
The configure stated that it will use built-in zlib and expat ...

Please help.
Thanks...
Burzek

------------------
./bk-deps g++ -c -o basedll_appbase.o  -D__WX__        -I./src/zlib   -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -Ilib/wx/include/base-ansi-release-2.5 -I./include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -pthread -Wall -Wno-ctor-dtor-privacy ./src/common/appbase.cpp
./bk-deps g++ -c -o basedll_archive.o  -D__WX__        -I./src/zlib   -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -Ilib/wx/include/base-ansi-release-2.5 -I./include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -O2 -pthread -Wall -Wno-ctor-dtor-privacy ./src/common/archive.cpp
src/common/archive.cpp:28:30: wx/html/forcelnk.h: No such file or directory
src/common/archive.cpp:34: `zipstrm' was not declared in this scope
src/common/archive.cpp:41: ISO C++ forbids declaration of `FORCE_LINK' with no
   type
src/common/archive.cpp:41: syntax error before `::' token
make: *** [basedll_archive.o] Error 1
Logged

bababa

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: wxbase make problem
« Reply #1 on: March 07, 2005, 03:46:53 PM »

The system doesn't find some include files like "wx/html/forcelnk.h"
So make sure it does (check the path or copy them over manualy ). The include dir must be something like /usr/include/wx-2.5/. If /usr/include/wx-2.5/wx/html/forcelnk.h doesn't exist , just copy it manually from wx source tar.
Logged

torcuato

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: wxbase make problem
« Reply #2 on: March 12, 2005, 06:44:02 PM »

* wxBase: when compiling with wxBase, you need to comment out forcelnk.h includes from the offending C++ files.

http://wiki.wxwidgets.org/wiki.pl?Last_Release
« Last Edit: March 12, 2005, 06:45:51 PM by torcuato »
Logged