aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: compiling amule, and use zlibs...  (Read 21857 times)

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
compiling amule, and use zlibs...
« on: August 24, 2005, 10:09:41 PM »

hi i have followed this guide: http://www.amule.org/wiki/index.php/HowTo_compile_on_Win32
but when i compile amule i get some errors, i would to know what is the option "--with-zlib=/home/(Benutzername)/aMule/zlibdll/" of Deutsch guide...and why is isn't present in english version of guide?

i use minGW and i cant copy/paste my code..how i can cpy/paste it? ctrl+c don't work

thank u all
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #1 on: August 25, 2005, 08:06:51 AM »

if you installed zlib correclty you dont need this configure option,
but if you install zlib into your home dir, which is not in the library path of minGW, then you need to tell aMule where to find zlib, thats why the difference

both should work

about the copy paste, should work as it does in putty,

just mark the code/infos to be copied, and then simple go to the place and click strg-v to paste it
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
compiled, but amulegui not work
« Reply #2 on: August 25, 2005, 02:27:22 PM »

1: thank u for interesting, i had compiled my aMule with option --enable-static --enable-amule-gui, but the gui not work(i dont get connection on linux daemon) ...im in a lan

2: i cant compile aMule with option --enable-amule-daemon(i get an error during make)

im tryin my test on 2.0.3, now i try on cvs too and i tell to u if i solve mi problems

thank u all too ;)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #3 on: August 25, 2005, 02:35:00 PM »

well with cvs you should be able to connect to a linux-daeom, this did not work in 2.0.3
but make sure you run the same cvs tarball on the linux box aswell, otherwise it will not work

about daemon-compile on win32, never tryed since in my eyes it does not make a lot of sence ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
how create installer(et similia)
« Reply #4 on: August 26, 2005, 02:57:20 PM »

hi, im trying to compiling a cvs version, but from now since 2000820 not compiling with amule-gui...what cvs version compiling with gui(on win of course)?

thank u all.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: compiling amule, and use zlibs...
« Reply #5 on: August 26, 2005, 08:04:27 PM »

Quote
hi, im trying to compiling a cvs version, but from now since 2000820 not compiling with amule-gui...what cvs version compiling with gui(on win of course)?
Last time I tried it on win32 was 2005-08-18, and then it worked.

Quote
2: i cant compile aMule with option --enable-amule-daemon(i get an error during make)
amuled cannot be compiled under win32 atm.
Logged
concordia cum veritate

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
2005-08-18 not compile
« Reply #6 on: August 26, 2005, 11:02:00 PM »

i have tried compiling with this version( 20050818 ) but it doesn't compile
the only option that i have used is --enable-amule-gui...

Code: [Select]
amule.cpp:387: Internal compiler error in c_expand_expr, at c-common.c:3714this is my last string error

ps with 2.0.3 stable the compiling process work.

than u all.
« Last Edit: August 27, 2005, 12:34:36 AM by lennynero »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: compiling amule, and use zlibs...
« Reply #7 on: August 27, 2005, 06:40:56 PM »

That's exactly what I also get with gcc-3.2.2. With 3.4.2, it compiles fine.
Logged
concordia cum veritate

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: compiling amule, and use zlibs...
« Reply #8 on: August 27, 2005, 08:01:10 PM »

Because gcc 3.2.2 is buggy
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: compiling amule, and use zlibs...
« Reply #9 on: August 27, 2005, 08:46:58 PM »

Which isn't?  :P
Logged
concordia cum veritate

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: compiling amule, and use zlibs...
« Reply #10 on: August 27, 2005, 09:47:41 PM »

gcc 5.0 isn't. Will be :D
Logged

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
new minGW(new gcc), new errors
« Reply #11 on: August 28, 2005, 03:37:45 PM »

i had upgraded my minGW and now i use gcc 3.4.2, but NOW i cant compile amule-gui...
with old minGW i was compiled using (--enable-amule-gui --disable-monolithic --disable-debug), now with this parameters not compile....

damn i cant found a good configuration :(

thank u all.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amule, and use zlibs...
« Reply #12 on: August 28, 2005, 03:59:50 PM »

whats the error msg? post the compile error and give us some clues,
I just compiled todays cvs on mingw without problems including remote-gui
so its works....
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compiling amule, and use zlibs...
« Reply #13 on: August 29, 2005, 07:44:03 AM »

please copy&paste what your msys window displays.

yo copy.... JUST SELECT THE TEXT.

then just go Ctrl+V on your web browser.
Logged

lennynero

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 29
compiling error with 20050829
« Reply #14 on: August 29, 2005, 09:49:30 AM »

i had compiled a version of amulegui of 20050826, but now i cant compile it(with new minGW)

today i had compiled 20050829(using this parameters: ./configure --enable-optimize --disable-monolithic --disable-debug --enable-a
mule-gui --enable-utf8-systray) with this errors:

Code: [Select]
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_utilsexc.o)(.data$_ZTI13wxInputStream[typeinfo for wxInputStream]+0x0):utilsexc.cpp: multiple definition of `typeinfo for wxInputStream'
amulegui-FileFunctions.o(.rdata$_ZTI13wxInputStream[typeinfo for wxInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_utilsexc.o)(.text$_ZTS13wxInputStream[typeinfo name for wxInputStream]+0x0):utilsexc.cpp: multiple definition of `typeinfo name for wxInputStream'
amulegui-FileFunctions.o(.rdata$_ZTS13wxInputStream[typeinfo name for wxInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.data$_ZTV20wxArchiveInputStream[vtable for wxArchiveInputStream]+0x0):zipstrm.cpp: multiple definition of `vtable for wxArchiveInputStream'
amulegui-FileFunctions.o(.rdata$_ZTV20wxArchiveInputStream[vtable for wxArchiveInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.data$_ZTI20wxArchiveInputStream[typeinfo for wxArchiveInputStream]+0x0):zipstrm.cpp: multiple definition of `typeinfo for wxArchiveInputStream'
amulegui-FileFunctions.o(.rdata$_ZTI20wxArchiveInputStream[typeinfo for wxArchiveInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.text$_ZTS20wxArchiveInputStream[typeinfo name for wxArchiveInputStream]+0x0):zipstrm.cpp: multiple definition of `typeinfo name for wxArchiveInputStream'
amulegui-FileFunctions.o(.rdata$_ZTS20wxArchiveInputStream[typeinfo name for wxArchiveInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.data$_ZTI19wxFilterInputStream[typeinfo for wxFilterInputStream]+0x0):zipstrm.cpp: multiple definition of `typeinfo for wxFilterInputStream'
amulegui-FileFunctions.o(.rdata$_ZTI19wxFilterInputStream[typeinfo for wxFilterInputStream]+0x0):FileFunctions.cpp: first defined here
C:/Programmi/MSys-1.0/local/lib/libwx_base-2.6.a(baselib_zipstrm.o)(.text$_ZTS19wxFilterInputStream[typeinfo name for wxFilterInputStream]+0x0):zipstrm.cpp: multiple definition of `typeinfo name for wxFilterInputStream'
amulegui-FileFunctions.o(.rdata$_ZTS19wxFilterInputStream[typeinfo name for wxFilterInputStream]+0x0):FileFunctions.cpp: first defined here
collect2: ld returned 1 exit status
make[4]: *** [amulegui.exe] Error 1
make[4]: Leaving directory `/home/lenny/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lenny/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lenny/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lenny/amule-cvs'
make: *** [all] Error 2'

now i cant undestand why i get this errors

thank u all, and i hope that yousolve my problems...
Logged
Pages: [1] 2