MudBytes
» MUDBytes Community » Codebase Specific » DikuMUD » GodWars » godwars derivative RoK questi...
Pages: << prev 1, 2 next >>
godwars derivative RoK question
Igabod
Wizard






Group: Members
Posts: 1,084
Joined: Jul 23, 2008

Go to the bottom of the page Go to the top of the page
#1 id:13216 Posted Oct 3, 2008, 2:14 am

i downloaded the godwars derivative RoK and when i compile it i get the following errors.

Code (text):
1
2
3
4
5
6
7
8
9
comm.o:comm.c:(.text+0x1146): undefined reference to `_deflateEnd'
mccp.o:mccp.c:(.text+0xd9): undefined reference to `_deflateInit_'
mccp.o:mccp.c:(.text+0x1a6): undefined reference to `_deflate'
mccp.o:mccp.c:(.text+0x1dd): undefined reference to `_deflateEnd'
mccp.o:mccp.c:(.text+0x3df): undefined reference to `_deflate'
collect2: ld returned 1 exit status
make: *** [RoK] Error 1


if anyone can tell me what this means i'd appreciate it. i'm using cygwin to compile if that matters any.
.........................
Every man has his follies, and often they are the most interesting thing he has got - Josh Billings
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - Albert Einstein
I have a love interest in every one of my films... a gun. - Arnold Schwarzenegger
Recession is when a neighbor loses his job. Depression is when you lose yours. - Ronald Reagan
I like long walks, especially when they are taken by people who annoy me. - Fred Allen

kiasyn
Wizard






Group: Administrators
Posts: 992
Joined: May 15, 2006

Go to the bottom of the page Go to the top of the page
#2 id:13221 Posted Oct 3, 2008, 3:35 am

you need the zlib library
.........................
http://www.mudbytes.net/kiasyn-sig.png
http://www.rss-image.com/4b53b68b2ce823b6d3081f322f497c9c.gif

Igabod
Wizard






Group: Members
Posts: 1,084
Joined: Jul 23, 2008

Go to the bottom of the page Go to the top of the page
#3 id:13226 Posted Oct 3, 2008, 5:59 am

nope, i've got the zlib library installed already
.........................
Every man has his follies, and often they are the most interesting thing he has got - Josh Billings
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - Albert Einstein
I have a love interest in every one of my films... a gun. - Arnold Schwarzenegger
Recession is when a neighbor loses his job. Depression is when you lose yours. - Ronald Reagan
I like long walks, especially when they are taken by people who annoy me. - Fred Allen

David Haley
Wizard






Group: Members
Posts: 6,913
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#4 id:13241 Posted Oct 3, 2008, 10:14 am

Actually, you do need the zlib library, you just need the development version of it, which includes the appropriate libraries for linking.
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

Igabod
Wizard






Group: Members
Posts: 1,084
Joined: Jul 23, 2008

Go to the bottom of the page Go to the top of the page
#5 id:13298 Posted Oct 4, 2008, 12:52 am

i've got the only version of it cygwin has listed. i guess i'm gonna have to get andlinux working to compile this. or is there some way for me to download the development zlib and install it in cygwin other than through the cygwin install file?
.........................
Every man has his follies, and often they are the most interesting thing he has got - Josh Billings
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - Albert Einstein
I have a love interest in every one of my films... a gun. - Arnold Schwarzenegger
Recession is when a neighbor loses his job. Depression is when you lose yours. - Ronald Reagan
I like long walks, especially when they are taken by people who annoy me. - Fred Allen

Chris Bailey
Wizard




Group: Members
Posts: 602
Joined: Sep 13, 2008

Go to the bottom of the page Go to the top of the page
#6 id:13304 Posted Oct 4, 2008, 3:26 am

Can you not just apt-get zlibg1-dev ?
.........................
If what Proust says is true, that happiness is the absence of fever, then I will never know happiness. For I am possessed by a fever for knowledge, experience, and creation.

Last edited Oct 4, 2008, 3:27 am by Chris Bailey
Igabod
Wizard






Group: Members
Posts: 1,084
Joined: Jul 23, 2008

Go to the bottom of the page Go to the top of the page
#7 id:13306 Posted Oct 4, 2008, 3:41 am

nope apparently not. says bash: apt-get: command not found.
.........................
Every man has his follies, and often they are the most interesting thing he has got - Josh Billings
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - Albert Einstein
I have a love interest in every one of my films... a gun. - Arnold Schwarzenegger
Recession is when a neighbor loses his job. Depression is when you lose yours. - Ronald Reagan
I like long walks, especially when they are taken by people who annoy me. - Fred Allen

Chris Bailey
Wizard




Group: Members
Posts: 602
Joined: Sep 13, 2008

Go to the bottom of the page Go to the top of the page
#8 id:13307 Posted Oct 4, 2008, 4:19 am

Ever consider dual booting linux? Ubuntu is quick and easy and gentoo is amazing.
.........................
If what Proust says is true, that happiness is the absence of fever, then I will never know happiness. For I am possessed by a fever for knowledge, experience, and creation.

Igabod
Wizard






Group: Members
Posts: 1,084
Joined: Jul 23, 2008

Go to the bottom of the page Go to the top of the page
#9 id:13308 Posted Oct 4, 2008, 4:40 am

lol apparently it's not as obvious as i thought it was, but i REALLY don't know linux. the few commands i do know are the basic commands needed for navigating a shell, and i tend to have a little difficulty remembering some of those sometimes too. it doesn't help that i destroyed the memory sections of my brain with cocaine and ecstasy several years ago. i've been clean for 4 years now but my memory isn't coming back.

Public Service Announcement: If you don't want your kids to turn out like me, keep them informed about the true dangers of hard drugs.
.........................
Every man has his follies, and often they are the most interesting thing he has got - Josh Billings
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - Albert Einstein
I have a love interest in every one of my films... a gun. - Arnold Schwarzenegger
Recession is when a neighbor loses his job. Depression is when you lose yours. - Ronald Reagan
I like long walks, especially when they are taken by people who annoy me. - Fred Allen

Last edited Oct 4, 2008, 4:42 am by Igabod
Davion
Idle Hand






Group: Administrators
Posts: 1,441
Joined: May 14, 2006

Go to the bottom of the page Go to the top of the page
#10 id:13311 Posted Oct 4, 2008, 6:22 am

Igabod said:
it doesn't help that i destroyed the memory sections of my brain with cocaine and ecstasy several years ago. i've been clean for 4 years now but my memory isn't coming back.

Public Service Announcement: If you don't want your kids to turn out like me, keep them informed about the true dangers of hard drugs.


That's a poor excuse. Trust me :). I installed andlinux onto my laptop which runs vista32 with a few clicks. It's really not all that hard to install (I used the KDE version) and you can use kate under windows ASAP! I <3 kate, and using it to write code is almost essential for me.
.........................
http://mudbytes.net/mudbytessignature-davion2.png

Kline
Wizard




Group: Members
Posts: 601
Joined: Dec 14, 2007

Go to the bottom of the page Go to the top of the page
#11 id:13316 Posted Oct 4, 2008, 10:16 am

Try aptitude if apt-get doesn't work. Apt-get is actually pretty deprecated, aptitude is the new wave :)

Doesn't Cygwin (forgive me if I'm wrong, been YEARS since I last used it) also have its own package manager, almost like Debian's jigdo? I seem to remember some Cygwin GUI where you just clicked check boxes next to any number of packages and it went out and installed them.
.........................
AckFUSS -- Check it out.

David Haley
Wizard






Group: Members
Posts: 6,913
Joined: Jun 30, 2007

Go to the bottom of the page Go to the top of the page
#12 id:13324 Posted Oct 4, 2008, 2:33 pm

Yes, you use the Cygwin setup program, not aptitude or apt-get.
.........................
-- d.c.h --
BabbleMUD Project (custom codebase)
Legends of the Darkstone (head coder)
http://david.the-haleys.org
.........................

Chris Bailey
Wizard




Group: Members
Posts: 602
Joined: Sep 13, 2008

Go to the bottom of the page Go to the top of the page
#13 id:13325 Posted Oct 4, 2008, 2:53 pm

Isn't aptitude just a UI for apt? It's all I ever really use.
.........................
If what Proust says is true, that happiness is the absence of fever, then I will never know happiness. For I am possessed by a fever for knowledge, experience, and creation.

Kline
Wizard




Group: Members
Posts: 601
Joined: Dec 14, 2007

Go to the bottom of the page Go to the top of the page
#14 id:13327 Posted Oct 4, 2008, 3:50 pm

Aptitude will go to interactive mode with no args, but I just use it from command line.
.........................
AckFUSS -- Check it out.

Fizban
Wizard




Group: Members
Posts: 619
Joined: Jan 8, 2007

Go to the bottom of the page Go to the top of the page
#15 id:13338 Posted Oct 4, 2008, 6:25 pm

Cygwin also has cyg-apt which is more or less apt-get, not just the GUI setup.exe file.
.........................
http://www.tbamud.com/files/tbaMUDcom%20Development%20Crew%20%20Fizban.png
The Builder Academy
4 Dimensions

Pages:<< prev 1, 2 next >>
Tags
[+]

Valid XHTML 1.1! Valid CSS!