Godwars Mud Resource  
  Login or Register
|  Home  |  Downloads  |  Forums  |  YAccount  |
Main Menu   
 
HomeHome  
    Home
Members  
    Groups
    Members List
    Private Messages
    Profile
Community  
    Forums
    Mud Reviews
    Search
    Surveys
Statistics  
    Statistics
    Top 10
Files & Links  
    Downloads
    Web Links
News  
    News
    Topics
Other  
    Shout Box
    Who-is-Where
    FAQ
    Donations
    Site Map
    Stories Archive
    Recommend Us
    Feedback
Arcade  
 
Whats new in Files Section   
 
  Files: 38
  Categories: 10
  Downloads: 4542
  Served: 4.55 GB

Latest Downloads

 1: Paladin
[Hits: 1 x]

 2: Cotn 2.5.1
[Hits: 12 x]

 3: Children of the Night 4.3
[Hits: 73 x]

 4: Age of Heroes 1.4
[Hits: 27 x]

 5: Age of Hereoes 1.3
[Hits: 34 x]

Most Downloaded

 1: Children of the Night 4.2
[Hits: 484 x]

 2: Godwars 1996
[Hits: 399 x]

 3: Utopia: Type Final
[Hits: 328 x]

 4: Spell Writer
[Hits: 259 x]

 5: Zarius's Dystopia 1.4
[Hits: 253 x]
 
Hacker Beware   
 
 You have been warned!
We have caught 36 shameful hackers.

NukeSentinel(tm) 2.6.01
 

http://www.mudfiles.com :: View topic - Server GCC problem
 
 http://www.mudfiles.com Forum IndexForum Index   SearchSearch   UsergroupsUsergroups   ProfileEdit your profile   MembersMembers   Private MessagesLog in, check messages  
 RanksRanks   StaffStaff   StatisticsStatistics   Board RulesBoard Rules   Forum FAQForum FAQ   Login / LogoutLog in 

Search for at
http://www.mudfiles.com Advanced Search


 
Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
COTN 4.0 General Mud Discussion Jackierus 3 Mon Sep 06, 2010 6:45 am
Jackierus View latest post
Cotn 4.0 Mud Ads Xrakisis 5 Fri Sep 03, 2010 9:06 am
Jackierus View latest post
The Realm of War Mud Ads Tijer 2 Sun Aug 29, 2010 7:02 pm
Tijer View latest post
Testing something General Mud Discussion Tijer 1 Wed Aug 18, 2010 3:50 pm
Tijer View latest post
GodWars GUI Godwars Coding KaVir 4 Wed Aug 18, 2010 5:10 am
Jindrak View latest post
Locke and his ridiculous demands over on Mudconnector Announcements and News Tijer 6 Mon Aug 16, 2010 8:41 pm
Tijer View latest post

Server GCC problem

Post new topicReply to topicprinter-friendly view http://www.mudfiles.com Forum Index -> Godwars Coding
View previous topic :: View next topic
Author Message
Darkness




Joined: Nov 24, 2009
Posts: 7


Status: Offline
PostPosted: Tue Nov 24, 2009 1:48 pm Post subject: Server GCC problem Reply with quote

I am being hosted on vermaxhosting, they have changed there GCC to version  4.2.4 and the tech said they had GCC 4.2.3. To make a long story short now when I run make I get all these errors that I never had before, is there a way to configure your Makefile to use an earlier version of gcc to fix this problem?
Back to top
View user's profile Send private message
Jindrak




Joined: Oct 19, 2006
Posts: 273
Location: Cooperstown NY

Status: Offline
PostPosted: Wed Nov 25, 2009 3:42 pm Post subject: Re: Server GCC problem Reply with quote

Darkness wrote (View Post):
I am being hosted on vermaxhosting, they have changed there GCC to version  4.2.4 and the tech said they had GCC 4.2.3. To make a long story short now when I run make I get all these errors that I never had before, is there a way to configure your Makefile to use an earlier version of gcc to fix this problem?



Which errors?


Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Darkness




Joined: Nov 24, 2009
Posts: 7


Status: Offline
PostPosted: Thu Nov 26, 2009 3:08 pm Post subject: Re: Server GCC problem Reply with quote

Missing a header file. zlib.h in the merc.h file

The thing is, that the error is right, there is not a zlib.h in the src and there never was, just something that was left behind by the ones that created it. The funny thing is, it has never thrown and error at before, like when I run make on another server, or even on cygwin.

So I commented out the part in code with the header, and it fix that problem, but then I got all kinds of errors no functions and everything.
Back to top
View user's profile Send private message
Jobo




Joined: Sep 16, 2006
Posts: 16


Status: Offline
PostPosted: Thu Nov 26, 2009 9:04 pm Post subject: Re: Server GCC problem Reply with quote

The problem lies not with GCC, but with a missing library on the host machine. You'll need to have zlib installed. It is far easier if you get your host to install it, but if they refuse, you can install zlib yourself locally, and link to that version.

Without knowing more about which OS you are running your application under, exactly how to do that will be hard to explain ;)

/Brian
Back to top
View user's profile Send private message Visit poster's website
Darkness




Joined: Nov 24, 2009
Posts: 7


Status: Offline
PostPosted: Fri Nov 27, 2009 8:01 pm Post subject: Re: Server GCC problem Reply with quote

Jobo, no question you’re the man hands down. I would never have guessed that, I have passed the info on to my host. I hope they will take action, so I don’t have to, thank you for the heads up.
Darkness
Back to top
View user's profile Send private message
Darkness




Joined: Nov 24, 2009
Posts: 7


Status: Offline
PostPosted: Sat Nov 28, 2009 5:31 pm Post subject: Re: Server GCC problem Reply with quote

I told my host that they need to install zlib to their machine and this is the reply that they sent me.

"Well with alot of work and alot of searching I have made sure that every version of zlib is available on the server and it still gives the same errors when compiling. Maybe if he can suggest a specific apt-get package I can try that but as far as I can see, its installed. The errors all seem to point towards the compiler."

Does anyone know what version I need for mc25c, I tried to look it myself, but I have found nothing.
Back to top
View user's profile Send private message
boti2




Joined: Mar 26, 2009
Posts: 2


Status: Offline
PostPosted: Sun Nov 29, 2009 3:15 pm Post subject: Re: Server GCC problem Reply with quote

You might need zlib-devel.  I know I needed it on my test machine I just set up...the zlib was installed, but not the zlib-devel pkg nor the zlib-debug pkg
Back to top
View user's profile Send private message
Jobo




Joined: Sep 16, 2006
Posts: 16


Status: Offline
PostPosted: Thu Dec 03, 2009 6:32 am Post subject: Re: Server GCC problem Reply with quote

If it is debian, I would suggest this package

http://packages.debian.org/search?keywords=zlib1g-dev

if it is ubuntu, I guess the same package would do it

sudo apt-get install zlib1g-dev

something like the above. zlib comes in 2 packages, one is just a binary, for those programs that depends on zlib being installed, the other is a developer package, for those developing applications that needs to link to zlib at compile time (like yours I assume).

Kind regards
Brian Graversen

ps. I have not, as such, tested the above packages, it was just what google popped up when I did a little look for zlib developer packages for debian
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic printer-friendly view http://www.mudfiles.com Forum Index -> Godwars Coding Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Powered By: phpBB © 2001 - 2006 phpBB Group
subBlack Theme Conversion By: Shellz | Upgraded to v1.01 By: The Mortal

Ported to the phpBB Nuke module by coldblooded
Forums ©
User Info   
 
Good evening 
Anonymous



Register
Lost Password
Username
Password

 Online:   
Member(s):

Guest(s):
01. Guest
02. Guest
03. Guest
04. Guest
05. Guest
06. Guest
07. Guest

Most Ever Online:   
 Guest(s): 59
 Member(s): 0
 Total: 59

Forums Forums:   
 Posts: 2,228
 Topics: 401
 
Donations   
 

Find our site useful? Make a small donation to show your support.

 
Survey   
 

No Surveys!

 
New Downloads   
 
 
Who-is-Where   
 
 
Shout Box   
 
Shout History   
 
 
PHP Hosting

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] [Validate robots.txt]

Copyright 2006 Godwars.net

PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke-Evolution.

This site is cached. Click here to update the cache.
[ Page Generation: 0.25 Seconds | Memory Usage: 12.69 MB | DB Queries: 141 ]

Do Not Click

:: subBlack phpbb2 style by spectre :: PHP-Nuke theme By: www.nukemods.com ::