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

Members: 0
Guests: 5
Stats
Files
Topics
Posts
Members
Newest Member
481
3,735
19,370
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » More compile issues...
Forum Rules | Mark all | Recent Posts

More compile issues...
< Newer Topic :: Older Topic > Ugh...

Pages:<< prev 1 next >>
Post is unread #1 Mar 7, 2003, 9:23 pm   Last edited Nov 24, 2007, 1:16 am by Samson
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

Well, after fixing my previous issues, I ran into these.

[neomud@slayer src]$ make
make -s smaug
o/db.o: In function `boot_db':
/home/neomud/testserv/afkmud/src/db.c:2020: undefined reference to `dlopen'
o/hotboot.o: In function `do_hotboot':
/home/neomud/testserv/afkmud/src/hotboot.c:765: undefined reference to `dlclose'
/home/neomud/testserv/afkmud/src/hotboot.c:771: undefined reference to `dlopen'
o/mspecial.o: In function `m_spec_lookup':
/home/neomud/testserv/afkmud/src/mspecial.c:119: undefined reference to `dlsym'
/home/neomud/testserv/afkmud/src/mspecial.c:120: undefined reference to `dlerror
'
o/tables.o: In function `spell_function':
/home/neomud/testserv/afkmud/src/tables.c:87: undefined reference to `dlsym'
/home/neomud/testserv/afkmud/src/tables.c:88: undefined reference to `dlerror'
o/tables.o: In function `skill_function':
/home/neomud/testserv/afkmud/src/tables.c:101: undefined reference to `dlsym'
/home/neomud/testserv/afkmud/src/tables.c:102: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
[neomud@slayer src]$


I believe my server is running FreeBSD - Will know tomorrow I hope. Library is present... help me... sanity fading...
       
Post is unread #2 Mar 8, 2003, 4:47 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

As with your other set of issues, use the FreeBSD Makefile. If that doesn't solve things you have something else wonky going on.
       
Post is unread #3 Mar 9, 2003, 6:37 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

Alright. It compiled...
Found out that this box is using RedHat 6.2...
Once I went through and made sure that the files were including sys/time.h (which your code only includes if it's a FreeBSD box), it compiled fine under the regular makefile.
So note that for RedHat 6.2 users (or earlier?)

Those libdl errors were more than likely because I assumed that I should use the FreeBSD makefile
       
Post is unread #4 Mar 11, 2003, 11:01 am
Go to the top of the page
Go to the bottom of the page

Eminorik

GroupMembers
Posts17
JoinedJan 30, 2003

I was having this same problem when I tried to compile the source on my home computer, I just gave up, but now I think I will go back and try again. It's so much easier to do in-game stuff at home offline because my connection at home is crap
       
Post is unread #5 Apr 8, 2003, 10:14 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Heh. 6.2 goes back quite a ways. Don't think I've seen anyone running that for some time now. I think it's more likely to be a compiler issue anyway. 6.2 uses gcc2.9x whereas most RH releases past 7.1 use gcc3.x and the includes that were necessary changed in the 3.x series.
       
Pages:<< prev 1 next >>