Compile issues

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Danalisan
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat May 21, 2016 12:24 pm

Compile issues

Post by Danalisan »

Hello,
I am trying to compile on my VPS a server of IRC services and keep getting errors that I can not seem to resolve. Any suggestions would be appreciated. This is on Centos5.

Any ideas?

misc_tools.c: In function ‘date’:
misc_tools.c:62: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
misc_tools.c: In function ‘bottime’:
misc_tools.c:73: warning: assignment makes pointer from integer without a cast
misc_tools.c:74: error: dereferencing pointer to incomplete type
misc_tools.c:74: error: dereferencing pointer to incomplete type
misc_tools.c:74: error: dereferencing pointer to incomplete type
misc_tools.c: In function ‘get_time’:
misc_tools.c:179: warning: assignment makes pointer from integer without a cast
misc_tools.c:180: warning: passing argument 2 of ‘strcpy’ makes pointer from integer without a cast
misc_tools.c:183: error: dereferencing pointer to incomplete type
misc_tools.c:189: error: ‘timezone’ undeclared (first use in this function)
misc_tools.c:189: error: (Each undeclared identifier is reported only once
misc_tools.c:189: error: for each function it appears in.)
misc_tools.c:190: error: ‘tzname’ undeclared (first use in this function)
make: *** [misc_tools.o] Error 1


The services are no longer in production so no support from author is available. I have put many hours into this and am at this point stumped. The services were designed to compile under RedHat5 so that shouldn't be an issue.
User avatar
ZacharyS
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Oct 10, 2014 6:32 pm
Location: Somewhere off the South Coast - UK
Contact:

Re: Compile issues

Post by ZacharyS »

Just a thought but do you have the development files for "tzdata" (yes that's the name of the package :wink: ) installed? Check the repository for the dev package and make sure it's installed.

Also check that you have a full install of all the compiler packages.

Compile errors are usually down to missing development packages in my experience with Linux :D

Peace.

Zac. :D
Post Reply