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, Google, Yandex

Members: 0
Guests: 14
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » Help compiling a codebase.
Forum Rules | Mark all | Recent Posts

Help compiling a codebase.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jul 6, 2012, 4:59 am
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi,

I am trying to compile a codebase but when I try to run it, it doesn't recognizes any command. This is the error wich I can see in the command line:

Fri Jul 6 13:22:33 2012 :: [*****] BUG: Error locating do_setweather in symbol table. No error

There is many errors like this. Someone knows how to fix it? I'm lost.

Thanks.
       
Post is unread #2 Jul 6, 2012, 7:39 am
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

What OS are you trying to compile this with?
       
Post is unread #3 Jul 6, 2012, 8:25 am
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi,

I am using Cywing. Now I am trying to install Linux in a virtual machine, but I can't yet.
       
Post is unread #4 Jul 6, 2012, 2:01 pm
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

Uncommented the stuff about CYGWIN in makefile.
That should do the trick.

ayuri
       
Post is unread #5 Jul 6, 2012, 11:49 pm
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi,
It has not worked. In the makefile there wasn't any reference about Cygwin. I tried to add this to the makefile but it doesn't work.

Thanks,

Antram
       
Post is unread #6 Jul 7, 2012, 9:00 am
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

What codebase? I would check the documentation on the codebase for compiling under Cygwin.
       
Post is unread #7 Jul 7, 2012, 4:40 pm
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi,

The name is Eldhamud 2.3.3. Although in each version of this codebase happens.

Thanks,

Antram
       
Post is unread #8 Jul 7, 2012, 5:20 pm
Go to the top of the page
Go to the bottom of the page

Aurin
Magician
GroupMembers
Posts189
JoinedSep 5, 2010

http://www.eldhamud.org seems to be the best bet for help...though the site won't load for me. maybe it's defunct and no longer supported?
       
Post is unread #9 Jul 8, 2012, 12:34 pm
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi Aurin,

This web page doesn't work. I tried to enter but there has been no way.

Any other idea?

Thanks,

Antram
       
Post is unread #10 Jul 8, 2012, 1:34 pm
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 Fury's old codebase. I don't think he's actively supporting it anymore. The latest version is still available on MudBytes though: http://www.mudbytes.net/file-2582
       
Post is unread #11 Jul 8, 2012, 3:39 pm
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi Samson:

Thanks for the link but I downloaded this codebase some time ago. I tried to compile but it happends the same as previous version. It can't find the commands, so therefore in the game doesn't work.

There must be some problem in the code that prevents locate commands, although I have looked at what I could and everything seems fine.

Thanks again.
       
Post is unread #12 Jul 8, 2012, 8:42 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

This is what is found in the smaugfuss makefile.
ifdef CYGWIN
smaug: $(O_FILES)
	rm -f smaug.exe
	dlltool --export-all --output-def smaug.def $(O_FILES)
	dlltool --dllname smaug.exe --output-exp smaug.exp --def smaug.def
	$(CC) -o smaug.exe $(O_FILES) smaug.exp $(L_FLAGS)
	@echo "Generating dependency file ...";
	@$(CC) -MM $(C_FLAGS) $(C_FILES) > dependencies.d
	@perl -pi -e 's.^([a-z]).o/$$1.g' dependencies.d
	@echo "Done compiling mud.";
	chmod g+w smaug.exe
	chmod a+x smaug.exe
	chmod g+w $(O_FILES)

clean:
	@rm -f o/*.o smaug.exe dependencies.d resolver.exe resolver.o *~

else
smaug: $(O_FILES)
	rm -f smaug
	$(CC) -export-dynamic -o smaug $(O_FILES) $(L_FLAGS)
	@echo "Generating dependency file ...";
	@$(CC) -MM $(C_FLAGS) $(C_FILES) > dependencies.d
	@perl -pi -e 's.^([a-z]).o/$$1.g' dependencies.d
	@echo "Done compiling mud.";
	chmod g+w smaug
	chmod a+x smaug
	chmod g+w $(O_FILES)

clean:
	@rm -f o/*.o smaug dependencies.d resolver resolver.o *~
endif

This is what is found in the makefile of the one your using (I'll assume)
eldhamud: $(O_FILES)
	rm -f eldhamud
	$(CC) -export-dynamic -o eldhamud $(O_FILES) $(L_FLAGS)
	echo "Done compiling mud.";
	chmod g+w eldhamud
	chmod a+x eldhamud
	chmod g+w $(O_FILES)

clean:
	rm -f *.o eldhamud *~ 
	rm -f ObjectFiles/*.o
	rm -f Headers/*~

When it is done in cygwin you need to use the dlltool etc.... But if you modify it some you can get it working :)
Try this
eldhamud: $(O_FILES)
	rm -f eldhamud.exe
	dlltool --export-all --output-def eldhamud.def $(O_FILES)
	dlltool --dllname eldhamud.exe --output-exp eldhamud.exp --def eldhamud.def
	$(CC) -o eldhamud.exe $(O_FILES) eldhamud.exp $(L_FLAGS)
	@echo "Generating dependency file ...";
	@$(CC) -MM $(C_FLAGS) $(C_FILES) > dependencies.d
	@perl -pi -e 's.^([a-z]).o/$$1.g' dependencies.d
	@echo "Done compiling mud.";
	chmod g+w eldhamud.exe
	chmod a+x eldhamud.exe
	chmod g+w $(O_FILES)

clean:
	rm -f ObjectFiles/*.o Headers/*~ eldhamud.exe dependencies.d resolver.exe resolver.o *~

Hope it helps :)
       
Post is unread #13 Jul 9, 2012, 8:54 am
Go to the top of the page
Go to the bottom of the page

antram
Apprentice
GroupMembers
Posts58
JoinedNov 22, 2010

Hi Remcon,

It works perfectly. Thanks a lot.

Antram
       
Pages:<< prev 1 next >>