FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FreeUniverse compilation

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
Phr00t



Joined: 03 Mar 2006
Posts: 203

PostPosted: Sun Jun 15, 2008 8:03 am    Post subject: FreeUniverse compilation Reply with quote

Hey all,

I am trying to work on FreeUniverse again, and I'm having many "undefined reference" errors upon linking.

My info:

* Ubuntu Hardy Heron 8.04
* gdc (GCC) 4.2.3 20080225 (prerelease gdc 0.25 20071215, using dmd 1.022) (Ubuntu 0.25-4.2.3-2ubuntu2)
* using DSSS ReBuild version 0.76 (based on DMD 2.012)

Upon building FreeUniverse.d:

FreeUniverse.d => FreeUniverse
+ /home/phr00t/bin/rebuild -O -full -clean -L-ldl -Idsss_imports/ -I. -S./ -I/home/phr00t/include/d -S/home/phr00t/lib/ -I/home/phr00t/include/d -S/home/phr00t/lib -I/home/phr00t/d/include/d -S/home/phr00t/d/lib -oqdsss_objs/G FreeUniverse.d -ofFreeUniverse

I get no code warning/errors, but linking, it starts with these errors:

dsss_objs/G/arc.gfx.font.o: In function `_D3arc3gfx4font11crispFilterFAhXh':
font.dSad.text+0x1114): undefined reference to `_D3std4math6rndtolFeZl'
dsss_objs/G/arc.gfx.font.o: In function `_D3arc3gfx4font4Font10setLineGapMFfZv':
font.dSad.text+0x3447): undefined reference to `_D3std4math6rndtolFeZl'
dsss_objs/G/arc.internals.font.BoxPacker.o: In function `_D3arc9internals4font9BoxPacker14extendedHeightFiZi':
BoxPacker.dSad.text+0x7c0): undefined reference to `_D3std4math6rndtolFeZl'
...

Basically, it looks like it is choking on std.math.rndtol -- there are many more errors later, but if I could find why it can't find rndtol, maybe it will shed some light on the other errors.

Any ideas?
Back to top
View user's profile Send private message
Phr00t



Joined: 03 Mar 2006
Posts: 203

PostPosted: Sun Jun 15, 2008 5:04 pm    Post subject: Reply with quote

I found the solution:

gdc doesn't like std.math.rndtol (or at least I couldn't get it to work). I uninstalled gdc and DSSS, installed DMD 1.0.30 and recompiled DSSS for dmd-posix (instead of gdc-posix) and I no longer get std.math.rndtol errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group