View previous topic :: View next topic |
Author |
Message |
rrichardson
Joined: 10 Sep 2007 Posts: 11
|
Posted: Thu Jun 12, 2008 9:19 pm Post subject: rebuild early termination? |
|
|
DSSS/ReBuld v0.75 On x86 linux,
with gcc version 4.1.3 20070831 (prerelease gdc 0.25, using dmd 1.021) (Ubuntu 0.25-4.1.2-16ubuntu1)
Using Tango
When attempting to compile my project
(source can be found here on dsource/dreactor)
after executing dsss build it fails (at some point)
rick@minifunk:~/dreactor$ dsss build
Default prefix /usr/local is unwritable, using /home/rick/d instead.
test/test.d => test/test
+ /usr/local/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/rick/d/include/d -S/home/rick/d/lib/ -I/usr/local/include/d -S/usr/local/lib -I/home/rick/d/include/d -S/home/rick/d/lib -oqdsss_objs/G test/test.d -oftest/test
Command /usr/local/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.
I'm not too worried about it crashing or early terminating, I'm sure I've written some bad code that's causing it. Is there a way to track down just what file it's attempting to compile when it does this? Using -v just makes it list its imports.
Thanks,
Rick |
|
Back to top |
|
|
rrichardson
Joined: 10 Sep 2007 Posts: 11
|
Posted: Sat Jun 14, 2008 9:50 am Post subject: solution |
|
|
I installed DMD and ran it. It turns out that I was attempting to include a class from a module directly. Specifically:
import tango.net.Socket.Address;
In DMD, this resulted in the error "module and package have the same name" which is misleading, but it was enough of a clue to fix it.
It was better than in GDC which just stopped. |
|
Back to top |
|
|
|
|
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
|