aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile @ Debian  (Read 8632 times)

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Compile @ Debian
« on: January 04, 2005, 04:14:07 PM »

Hi i can't compile rc8 @ debian woody (with some backport libs)

i installed many backports/other libs but now i don't know a way to get it work ;(

here the infos about it:

Error after "make"
Code: [Select]
make[4]: Entering directory `/root/aMule-2.0.0rc8/src'
source='UploadQueue.cpp' object='amule-UploadQueue.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..      -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include    -DUSE_EMBEDDED_CRYPTO    -c -o amule-UploadQueue.o `test -f 'UploadQueue.cpp' || echo './'`UploadQueue.cpp
UploadQueue.cpp: In method `void CUploadQueue::AddUpNextClient(CUpDownClient * = 0)':
UploadQueue.cpp:113: `::find' undeclared (first use here)
make[4]: *** [amule-UploadQueue.o] Error 1
make[4]: Leaving directory `/root/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.0rc8'
make: *** [all] Error 2

configure output:

Code: [Select]
./configure --enable-amulecmd --enable-amule-daemon --disable-cas --disable-wxcas --disable-debug

checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for curl >= 7.9.5... yes (version 7.12.1)
checking for libpng-config... no
configure:
WARNING: libpng-devel >= 1.2.0 is needed for amuleweb
       
checking for gdlib-config... no
configure:
WARNING: gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
gd-lib is needed for fully funtional cas. If you don't have gd-lib,
cas will be compiled, but you won't be able to create that cool
status image (text mode however will work). Also note that you should
upgrade to gd-lib >= 2.0.22 if you intend to use it, other versions have
not been tested and therefore are unsupported at the moment.
Please check that gdlib-config is in your default path, check out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your gdlib-config has other name.
Please try again with --with-gdlib-config=/usr/bin/gdlib-config
        (replace /usr/bin/gdlib-config with a valid path to your gdlib-config).
        If you use compiled packages check if you have devel pack installed.
        To download the lastest version check [URL]http://www.boutell.com/gd[/URL]
for sources.
       
checking whether we need the GUI... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
checking for wxWidgets base version >= 2.4.2... yes (version 2.4.2)
checking if wxWidgets was linked with GTK2... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... no
crypto check disabled, using embedded libs
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking for library containing strerror... none required
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.35, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should use UTF-8 strings... no
checking whether pure GTK code should be compiled... yes
configure: WARNING: aMuled cannot be used with wxWidgets-2.4: disabling it
checking for a readline compatible library... no
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/kademlia/Makefile
config.status: creating src/kademlia/utils/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/webserver/Makefile
config.status: creating po/Makefile.in
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule 2.0.0rc8 for 'i686-pc-linux'.

  aMule enabled options:

  **** aMule Core ****
  Should aMule be compiled in debug mode?                  no
  Should aMule be compiled with verbose console output?    no
  Should aMule be compiled with upload speed sense?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             no
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with UTF-8 systray?             no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be linked against patched gsocket?          yes
  Should aMule monolithic application be built?            yes
  Should aMule daemon version be built? (EXPERIMENTAL)     no
  Should aMule remote gui be built? (EXPERIMENTAL)         no
  Crypto++ library/headers style?                          embeded

  **** aMule TextClient ****
  Should amulecmd (TextClient) be linked against wxbase?   yes
  Should aMule Command Line Client be built?               yes
  Should aMule GUI Client be built?                        no

  **** aMule WebServer ****
  Should aMule WebServer be built?                         no
  Should aMule WebServer GUI be built?                     no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?      yes
  Should aMuleLinkCreator for console (alcc) be built?     yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                no
  Should aMule GUI Statistics (wxCas) be built?            no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                        no
  Libraries aMule will use to build:
                                       wxWidgets          2.4.2
                                       GTK                1.2.10

  NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
          amuleweb amulecmd and alcc


ls -l /usr/bin/wx*
Code: [Select]
lrwxrwxrwx    1 root     root           27 Jan  2 01:03 /usr/bin/wx-config -> /etc/alternatives/wx-config
-rwxr-xr-x    1 root     root         4865 Aug  6 16:48 /usr/bin/wxbase-2.4-config
-rwxr-xr-x    1 root     root         5159 Aug  6 18:01 /usr/bin/wxgtk-2.4-config
-rwxr-xr-x    1 root     root        49108 Aug  6 18:02 /usr/bin/wxrc
-rwxr-xr-x    1 root     root       299356 Aug  6 18:02 /usr/bin/wxrcedit
g

the /usr/local/bin/ directory does not exists ;)

i installed this deb packets:

-rw-r--r--    1 root     root       147542 Aug 12 08:57 curl_7.12.1-0.backports.org.1_i386.deb
-rw-r--r--    1 root     root        45260 Aug 10 17:26 idn_0.5.2-1.backports.org.1_i386.deb
-rw-r--r--    1 root     root      4920920 Oct 14 02:32 libc6_2.3.2.ds1-18_i386.deb
-rw-r--r--    1 root     root       744104 Aug 12 08:57 libcurl3-dev_7.12.1-0.backports.org.1_i386.deb
-rw-r--r--    1 root     root       234272 Aug 12 08:57 libcurl3_7.12.1-0.backports.org.1_i386.deb
-rw-r--r--    1 root     root       488106 Aug 10 17:26 libidn11-dev_0.5.2-1.backports.org.1_i386.deb
-rw-r--r--    1 root     root        97622 Aug 10 17:26 libidn11_0.5.2-1.backports.org.1_i386.deb
-rw-r--r--    1 root     root       570456 Aug  6 18:03 libwxbase2.4-dev_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root       473392 Aug  6 18:03 libwxbase2.4_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root      1243318 Aug  6 18:05 libwxgtk2.4-contrib-dev_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root       916040 Aug  6 18:05 libwxgtk2.4-contrib_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root      2397416 Aug  6 18:04 libwxgtk2.4-dev_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root      1988898 Aug  6 18:03 libwxgtk2.4_2.4.2.5.backports.org.1_i386.deb
-rw-r--r--    1 root     root       566264 Aug  6 18:05 wxwin2.4-headers_2.4.2.5.backports.org.1_i386.deb

hope that helps... thanx bye
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile @ Debian
« Reply #1 on: January 04, 2005, 05:29:18 PM »

hm, the problem might be woodys gcc.. 2.9.x right ?

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile @ Debian
« Reply #2 on: January 04, 2005, 05:51:56 PM »

i currently running GCC 2.95.4...
which version should i use?

bye
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile @ Debian
« Reply #3 on: January 04, 2005, 07:13:30 PM »

3.3.x would be recommended

cheers

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile @ Debian
« Reply #4 on: January 04, 2005, 09:11:14 PM »

ok, after installing g++ 3.3 it works better ;)

but now i have a linker ? problem:


Code: [Select]
make[5]: Entering directory `/root/aMule-2.0.0rc8/src/utils/xas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/root/aMule-2.0.0rc8/src/utils/xas'
Making all in aLinkCreator
make[5]: Entering directory `/root/aMule-2.0.0rc8/src/utils/aLinkCreator'
Making all in src
make[6]: Entering directory `/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src'
g++  -DUSE_EMBEDDED_CRYPTO  -O2   -lpthread -o alc  alc-alc.o alc-alcframe.o alc-ed2khash.o alc-alcpix.o alc-md4.o -pthread -lwx_gtk-2.4
alc-alc.o(.text+0x1b): In function `wxCreateApp()':
/usr/include/wx/build.h:40: undefined reference to `wxAppBase::CheckBuildOptions(wxBuildOptions const&)'
alc-alc.o(.text+0x87): In function `main':
/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:51: undefined reference to `wxEntry(int, char**)'
alc-alc.o(.text+0xb8): In function `alc::OnInit()':
/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:56: undefined reference to `wxLocale::Init(int, int)'
alc-alc.o(.text+0xc9):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:57: undefined reference to `wxLocale::AddCatalog(char const*)'
alc-alc.o(.text+0xe3):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:59: undefined reference to `wxGetTranslation(char const*)'
alc-alc.o(.text+0xfb):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:59: undefined reference to `wxString::wxString[in-charge](char const*, unsigned)'
alc-alc.o(.text+0x112):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:59: undefined reference to `wxString::~wxString [in-charge]()'
alc-alc.o(.text+0x13b):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:61: undefined reference to `wxAppBase::SetTopWindow(wxWindow*)'
alc-alc.o(.text+0x157):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:63: undefined reference to `wxString::~wxString [in-charge]()'
alc-alc.o(.text+0x1f4): In function `__static_initialization_and_destruction_0':
/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/alc.cpp:51: undefined reference to `wxAppInitializer::wxAppInitializer[in-charge](wxObject* (*)())'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x8):/usr/include/wx/build.h:32: undefined reference to `wxApp::GetClassInfo() const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x14):/usr/include/wx/build.h:39: undefined reference to `wxObject::CreateRefData() const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x18):/usr/include/wx/build.h:40: undefined reference to `wxObject::CloneRefData(wxObjectRefData const*) const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x1c): undefined reference to `wxEvtHandler::ProcessEvent(wxEvent&)'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x20): undefined reference to `wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&)'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x24): undefined reference to `wxApp::GetEventTable() const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x28): undefined reference to `wxEvtHandler::DoSetClientObject(wxClientData*)'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x2c): undefined reference to `wxEvtHandler::DoGetClientObject() const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x30): undefined reference to `wxEvtHandler::DoSetClientData(void*)'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x34): undefined reference to `wxEvtHandler::DoGetClientData() const'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x3c): undefined reference to `wxApp::OnInitGui()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x40): undefined reference to `wxAppBase::OnRun()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x44): undefined reference to `wxAppBase::OnExit()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x48): undefined reference to `wxAppBase::OnFatalException()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x4c): undefined reference to `wxApp::MainLoop()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x50): undefined reference to `wxApp::ExitMainLoop()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x54): undefined reference to `wxApp::Initialized()'
alc-alc.o(.gnu.linkonce.r._ZTV3alc+0x58): undefined reference to `wxApp::Pending()'
.... many other lines like that
alc-md4.o(.text+0x1404):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:368: undefined reference to `wxFFile::Read(void*, unsigned)'
alc-md4.o(.text+0x1447):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:375: undefined reference to `wxGetTranslation(char const*)'
alc-md4.o(.text+0x14b6):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:382: undefined reference to `wxFFile::~wxFFile [in-charge]()'
alc-md4.o(.text+0x14e8): In function `MD4::charToHex(char const*, unsigned)':
/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:391: undefined reference to `wxString::wxString[in-charge]()'
alc-md4.o(.text+0x150c):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:395: undefined reference to `wxString::Format(char const*, ...)'
alc-md4.o(.text+0x151b):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:395: undefined reference to `wxString::operator+=(wxString const&)'
alc-md4.o(.text+0x1524):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:395: undefined reference to `wxString::~wxString [in-charge]()'
alc-md4.o(.text+0x1534):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:399: undefined reference to `wxString::Shrink()'
alc-md4.o(.text+0x1556):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:402: undefined reference to `wxString::~wxString [in-charge]()'
alc-md4.o(.text+0x1564):/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src/md4.cpp:402: undefined reference to `wxString::~wxString [in-charge]()'
collect2: ld returned 1 exit status
make[6]: *** [alc] Error 1
make[6]: Leaving directory `/root/aMule-2.0.0rc8/src/utils/aLinkCreator/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/aMule-2.0.0rc8/src/utils/aLinkCreator'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/aMule-2.0.0rc8/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.0rc8'
make: *** [all] Error 2
g
i tried with enable/disable optimizion/debug combis but i got always the same error ;( (hint found @ this board :) )

what could be the problem? wrong or bad version of wx? (i use the backport deb of backports.org)

ps ld gives me:

ld --version
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

bye and thanx
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile @ Debian
« Reply #5 on: January 04, 2005, 09:28:59 PM »

tried make clean/make distclean befor running configure ?

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile @ Debian
« Reply #6 on: January 05, 2005, 08:19:16 PM »

yes and i tested it from clean extracted code too...

like that:
while {
rem old dir
untar
configure with different options
make
}


so what could be the problem?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Compile @ Debian
« Reply #7 on: January 05, 2005, 08:38:19 PM »

hi,

maybe because wx was compiled with 2.9.x ..
don't you want to update to sid?

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compile @ Debian
« Reply #8 on: January 05, 2005, 09:09:46 PM »

"what could be the problem? wrong or bad version of wx? "

I would guess so. Can you try self-compiled wx?
Logged

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile @ Debian
« Reply #9 on: January 05, 2005, 09:35:32 PM »

oki i will try to compile wx by myself ;) i post my results here ;) ps i use the wx source from amule.org
« Last Edit: January 05, 2005, 09:36:03 PM by klonka »
Logged

klonka

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: Compile @ Debian
« Reply #10 on: January 06, 2005, 12:25:54 AM »

oki, after compileing the wxwindows stuff manually it works.. now i must try it ;)

thanx for your help
« Last Edit: January 06, 2005, 12:26:09 AM by klonka »
Logged