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 problem  (Read 5196 times)

Guest

  • Guest
compile problem
« on: July 14, 2004, 05:52:22 PM »

Hallo leute!


wollte gerade mal aMule2.0.0rc4 testen, bekomme aber immer folgenden fehler:

hat jemand vielleicht ne idee an was es liegen kann das ich die rc4 ned comp. kann?!?

btw. 1.2.6 läuft ohne probleme :)


In file included from alcframe.cpp:51:
md4.h:50: stdint.h: No such file or directory
gmake[6]: *** [alc-alcframe.o] Error 1
gmake[6]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src/utils/aLinkCreator/src'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src/utils/aLinkCreator'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src/utils'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4'
gmake: *** [all] Error 2


zu meinem rechner:

sadbuttrue# uname -v
FreeBSD 4.9-STABLE #4: Tue Mar 16 23:09:55 CET 2004

sadbuttrue# pkg_info | grep wx
wxgtk-2.4.2_7       The wxWidgets GUI toolkit with GTK+ bindings
wxgtk-common-2.4.2_1 The wxWindows GUI toolkit (common files)
wxgtk2-2.4.2_2      The wxWindows GUI toolkit (GTK2 version)

sadbuttrue# pkg_info | grep cryp
cryptopp-5.1_2      A free C++ class library of Cryptographic Primitives

sadbuttrue# gmake -v
GNU Make 3.80

sadbuttrue# gettext -V
gettext (GNU gettext-runtime) 0.13.1
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 911
Re: compile problem
« Reply #1 on: July 14, 2004, 06:06:59 PM »

Hi,

U miss glibc-devel installed

thePolish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

Guest

  • Guest
Re: compile problem
« Reply #2 on: July 14, 2004, 06:14:44 PM »

so how can i fix it

should i install glib-2.4.0 from the ports?
Logged

thepolish

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 911
Re: compile problem
« Reply #3 on: July 14, 2004, 06:24:37 PM »

Hi,

not glib ! glibc: the standard GNU C library

or replace #include in md4.h header by:

typedef unsigned int            uint32_t;

but this way is not portable on 64bits platforms

uint32_t is an unsigned 32bits integer

the polish
Logged
Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only then you will find out that money cannot be eaten
(Cree Prophecy)

Guest

  • Guest
Re: compile problem
« Reply #4 on: July 14, 2004, 06:47:43 PM »

damn i shoud learn reading whole words :)  :baby:

ok i have replaced #include in two files (md4.h and in bithelp.h) by typedef unsigned int uint32_t;

now this one works but i get another strange error:

In file included from ClientDetailDialog.cpp:35:
/usr/include/sys/socket.h:52: syntax error before `;'
/usr/include/sys/socket.h:163: syntax error before `;'
/usr/include/sys/socket.h:174: syntax error before `;'
/usr/include/sys/socket.h:188: syntax error before `;'
/usr/include/sys/socket.h:190: `int64_t' was not declared in this scope
/usr/include/sys/socket.h:190: `u_char' was not declared in this scope
/usr/include/sys/socket.h:190: `sa_family_t' was not declared in this scope
/usr/include/sys/socket.h:190: size of array `__ss_pad1' is negative
/usr/include/sys/socket.h:191: syntax error before `;'
/usr/include/sys/socket.h:192: `u_char' was not declared in this scope
/usr/include/sys/socket.h:192: `sa_family_t' was not declared in this scope
/usr/include/sys/socket.h:192: `int64_t' was not declared in this scope
/usr/include/sys/socket.h:192: `u_char' was not declared in this scope
/usr/include/sys/socket.h:192: `sa_family_t' was not declared in this scope
/usr/include/sys/socket.h:192: `int64_t' was not declared in this scope
/usr/include/sys/socket.h:359: syntax error before `;'
/usr/include/sys/socket.h:364: syntax error before `['
/usr/include/sys/socket.h:399: syntax error before `;'
/usr/include/sys/socket.h:407: syntax error before `;'
/usr/include/sys/socket.h:411: syntax error before `;'
In file included from ClientDetailDialog.cpp:35:
/usr/include/sys/socket.h:444: syntax error before `('
/usr/include/sys/socket.h:451: type specifier omitted for parameter
/usr/include/sys/socket.h:451: type specifier omitted for parameter
/usr/include/sys/socket.h:451: syntax error before `*'
In file included from ClientDetailDialog.cpp:36:
/usr/include/netinet/in.h:235: syntax error before `;'
/usr/include/netinet/in.h:287: syntax error before `;'
In file included from /usr/include/netinet/in.h:487,
                 from ClientDetailDialog.cpp:36:
/usr/include/netinet6/in6.h:122: syntax error before `['
/usr/include/netinet6/in6.h:144: syntax error before `;'
/usr/include/netinet6/in6.h:149: syntax error before `;'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:615: syntax error before `*'
/usr/include/netinet6/in6.h:616: syntax error before `*'
/usr/include/netinet6/in6.h:618: syntax error before `('
/usr/include/netinet6/in6.h:630: type specifier omitted for parameter
/usr/include/netinet6/in6.h:631: type specifier omitted for parameter
/usr/include/netinet6/in6.h:631: type specifier omitted for parameter
/usr/include/netinet6/in6.h:632: type specifier omitted for parameter
/usr/include/netinet6/in6.h:632: type specifier omitted for parameter
/usr/include/netinet6/in6.h:633: type specifier omitted for parameter
/usr/include/netinet6/in6.h:634: type specifier omitted for parameter
/usr/include/netinet6/in6.h:636: type specifier omitted for parameter
/usr/include/netinet6/in6.h:636: syntax error before `*'
/usr/include/netinet6/in6.h:638: type specifier omitted for parameter
/usr/include/netinet6/in6.h:638: type specifier omitted for parameter
/usr/include/netinet6/in6.h:639: syntax error before `*'
/usr/include/netinet6/in6.h:640: type specifier omitted for parameter
/usr/include/netinet6/in6.h:641: syntax error before `('
ClientDetailDialog.cpp: In method `bool CClientDetailDialog::OnInitDialog()':
ClientDetailDialog.cpp:106: `struct in_addr' has no member named `s_addr'
gmake[4]: *** [amule-ClientDetailDialog.o] Error 1
gmake[4]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/sady/aMule-2.0.0rc4'
gmake: *** [all] Error 2


seems there are more problems with compiling and runnung amule rc4 on a FreeBSD 4.X box :(
Logged