Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Couple bugs
Today, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot, Google, Yahoo!

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWR FUSS » New package failed to compile...
Forum Rules | Mark all | Recent Posts

New package failed to compile under Cygwin
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 22, 2006, 8:00 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

After installing extended bitvectors for the 2nd time today in the second SWRFUSS package released today, I went to compile, and boom, compile failure.

The error looked like this:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -ldl


...Forgive my ignorance, but what in the world does THAT mean? I honestly haven't a clue. I assume the only difference between the package early this morning and the 1.2 package this afternoon is the dlysm support, but I don't know anything about how it works so I don't know how to troubleshoot it. Any ideas? =/
       
Post is unread #2 Jan 22, 2006, 8:38 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

It means you didn't read the Makefile before you started:


#Uncomment the line below if you are getting undefined references to dlsym, dlopen, and dlclose.
#Comment it out if you get errors about ldl not being found.
NEED_DL = -ldl
       
Post is unread #3 Jan 22, 2006, 9:00 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

...Oof, lol. Indeed, my mistake. Thanks much.
       
Post is unread #4 Jan 24, 2006, 7:48 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Okay, now that I've got it to compile, when it boots, none of the commands and what have you load up properly.

Mon Jan 23 20:46:32 2006 :: [*****] BUG: Error locating do_say in symbol table. Illegal seek
Mon Jan 23 20:46:32 2006 :: [*****] BUG: Fread_command: Function do_say not found for '


I couldn't seem to find anything in the makefile that would resolve this issue, and once again, I know nothing about dlysm support, so I'm at a loss. Any clues?
       
Post is unread #5 Jan 24, 2006, 8:35 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Double check and make sure all of your directories are in place.
Check that you uncommented the CYGWIN define, and commented out the NEED_DL define.

Cygwin is Cygwin is Cygwin, no matter which system you inatall it on, so something you're doing wrong has to be accounting for this. But just on the wild random off chance you aren't, what operating system are you using Cygwin on? Not that the OS should play a role here but you never really know I suppose.
       
Post is unread #6 Jan 24, 2006, 8:57 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

XP Home with SP2. I'll check the stuff you mentioned, though, but if it's been tested on another copy of Cygwin successfully, it should be tweakable to work on mine, because I've got all of the latest packages for it.
       
Post is unread #7 Jan 24, 2006, 9:12 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

I uncommented the CYGWIN define... And sure as shooting, it works great now. This is my mistake: I'd never had to uncomment the Cygwin define before, so I didn't think I'd have to now. Sorry about that... And thanks again, everything's great now. :)
       
Post is unread #8 Jan 24, 2006, 9:15 pm
Go to the top of the page
Go to the bottom of the page

Halcyon
Magician
GroupMembers
Posts187
JoinedApr 12, 2005

Edit doesn't seem to be working at the moment, but I did want to make another quick note...

When IMC2 boots up, it's complaining about something.

imcfread_word: EOF encountered on read.

Is this anything significant? I'm assuming something's not reading right, so I just wanted to point it out in case it became an issue.
       
Post is unread #9 Jan 25, 2006, 12:15 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,858
JoinedJul 26, 2005


Edit doesn't seem to be working at the moment, but I did want to make another quick note...

When IMC2 boots up, it's complaining about something.

imcfread_word: EOF encountered on read.

You mean it is or isn't working at the moment?
As for that its not really an issue.
In the way imcfread_word is used in one part it gets an EOF from the file and therefore gives that issue. Not really an issue though.
       
Post is unread #10 Jan 25, 2006, 6:51 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Just ignore the IMC2 file error. The first time you go to edit the information it will correct itself. It's probably just a minor thing due to the differences in file formats between linux and windows.
       
Post is unread #11 Jan 28, 2006, 7:31 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

Back on ldl, is it just me or is there no NEED_DL flag in the SmaugFUSS Makefile?
       
Post is unread #12 Jan 28, 2006, 8:14 pm   Last edited Jan 28, 2006, 8:41 pm by Samson
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

It's not just you. Must have missed it before but it's been fixed now.
       
Pages:<< prev 1 next >>