Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
Oh, I am using netrunner linux with arch/manjaro core.

Re: Tango Problems..

2014-08-31 Thread Rémy Mouëza via Digitalmars-d-learn
From what I understand in the error message, the linker cannot find a druntime function: void core.stdc.stdarg.va_end(void*). I would advise to check that the druntime lib is in the import path. In your the dmd repository, you should have a dmd.conf file containing something like:

Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
On Sunday, 31 August 2014 at 15:40:04 UTC, Rémy Mouëza wrote: From what I understand in the error message, the linker cannot find a druntime function: void core.stdc.stdarg.va_end(void*). I would advise to check that the druntime lib is in the import path. In your the dmd repository, you

Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
I am linking against tango ldc -I/path/to/tango -L-L/path/to/tango -L-ltango-dmd \

Re: Tango Problems..

2014-08-31 Thread Rémy Mouëza via Digitalmars-d-learn
I have checked my ldc installation: the druntime library is located in ldc2-0.12.0-linux-x86/x86/libdruntime-ldc.a You should also add a some extra flags like: -L-L/path/to/ldc/lib/architecture -L-Ldruntime-ldc . On 08/31/2014 05:52 PM, seany wrote: I am linking against tango ldc

Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
On Sunday, 31 August 2014 at 20:40:06 UTC, Rémy Mouëza wrote: -L-L/path/to/ldc/lib/architecture -L-Ldruntime-ldc . there is no /path/to/ldc/lib in my system - i have an /etc/ldc.conf and a /usr/bin/ldc2

Re: Tango Problems..

2014-08-31 Thread Rémy Mouëza via Digitalmars-d-learn
Have you tried something like this: find /lib /usr/lib* /usr/local/lib* -name \*.a | grep -i druntime or a simple: locate druntime ? On 08/31/2014 10:50 PM, seany wrote: On Sunday, 31 August 2014 at 20:40:06 UTC, Rémy Mouëza wrote: -L-L/path/to/ldc/lib/architecture -L-Ldruntime-ldc .

Re: Tango Problems..

2014-08-31 Thread Rémy Mouëza via Digitalmars-d-learn
In case you don't find any druntime library, try to see if the missing symbol is in the libphobos2.a file (you'll first have to identify the directory where phobos is located): $ nm libphobos2.a | ddemangle | grep stdc | grep va_end T nothrow void

Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
About find command : I use find / -iname *druntime*.a with root permission - how else will i find what is where, kfind probably uses find internally too, or boost, egal ... for the nm command : without ddemangle, i dont have the command installed : T

Re: Tango Problems..

2014-08-31 Thread seany via Digitalmars-d-learn
On Sunday, 31 August 2014 at 21:40:51 UTC, seany wrote: On the other hand, phobos works. But I want some tango functionality, without having to hack it all by hand ...

Re: Tango Problems..

2014-08-31 Thread Rémy Mouëza via Digitalmars-d-learn
I suggest to try linking with both phobos and tango. Only the druntime functions contained in phobos should be used by the linker (if I am correct). Otherwise, did you take a look at code.dlang.org? Depending on your needs, there might be a dub package you could use to fill in for the