Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Majestic-12, Yandex

Members: 0
Guests: 4
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
Vintar (28)
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » FreeBSD
Forum Rules | Mark all | Recent Posts

FreeBSD
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 12, 2004, 7:32 pm
Go to the top of the page
Go to the bottom of the page

kilroy
Magician
GroupMembers
Posts122
JoinedMay 1, 2002

Howdy all,
Long time no posty

Just when Samson was thinking PHEW ~~~ That damn Kilroy has gone away

I "Purchased" a server that is running FreeBSD and I am trying to compile the mud onto a machine that will likely be a whole lot more reliable than my home machine.

I commented in the makefile the Need_DL as is in the Install.txt

ran the gmake clean as told to.

these are the errors.

-bash-2.05b$ gmake clean
rm -f o/*.o afkmud afkmud.def afkmud.exp core resolver resolver.o
gmake all
gmake[1]: Entering directory `/usr/home/obsidian/afkmud/src'
gmake -s afkmud
gmake[2]: Entering directory `/usr/home/obsidian/afkmud/src'
Compiling o/i3.o....
cc1plus: warnings being treated as errors
In file included from i3.c:52:
/usr/include/fcntl.h:206: warning: `int flock(int, int)' hides constructor for `struct flock'
In file included from /usr/include/sys/time.h:289,
from /usr/include/sys/stat.h:50,
from i3.c:54:
/usr/include/time.h:144: warning: `char * timezone(int, int)' hides constructor for `struct timezone'
In file included from i3.c:54:
/usr/include/sys/stat.h:246: warning: `int stat(const char *, stat *)' hides constructor for `struct stat'
gmake[2]: *** [o/i3.o] Error 1
gmake[2]: Leaving directory `/usr/home/obsidian/afkmud/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/obsidian/afkmud/src'
gmake: *** [clean] Error 2


if somebody more enlightened than I could point me in the right direction as to fix this - it would be fantastic .

Thank you

Kilroy
       
Post is unread #2 Jul 14, 2004, 4:25 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

That's a new one on me. What version of FreeBSD is this? The version I tested on last is 4.something, one of the older ones.
       
Post is unread #3 Jul 14, 2004, 1:51 pm
Go to the top of the page
Go to the bottom of the page

Quixadhal
Conjurer
GroupMembers
Posts398
JoinedMar 8, 2005

Shot in the dark here... but you might try wrapping the headers those functions are in with

extern "C" {
#include
}

I'm going from memory here, so thatmight not be the exact syntax... but I recall that C++ likes to mangle symbol tables, so often when using system headers that don't take care of it themselves, you have to tell the compiler NOT to muck with the namespaces.
       
Post is unread #4 Jul 14, 2004, 2:08 pm
Go to the top of the page
Go to the bottom of the page

kilroy
Magician
GroupMembers
Posts122
JoinedMay 1, 2002

The version of FreeBSD is used on the Virtual Servers is FreeBSD 4.8-RELEASE
       
Post is unread #5 Jul 14, 2004, 9:02 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Haven't played around with 4.8, and since I'm not sure what the flock stuff is all about, try Quixadhl's suggestion and see what you get.
       
Pages:<< prev 1 next >>