Forum Navigation
Linking problem with tango.stdc.stringz
Moderators:
kris
Posted: 02/24/09 19:51:44Hello.
I tried a simple script:
{{{module test; import tango.io.Console; import tango.stdc.stringz;
int main( char[][] args ) {
toStringz( "test" ); return 0;
} }}}
There is no problem about the io.Console. But as soon I add the stdc.stringz I get the following problems while calling: gdc test.d -o test -fversion=Posix -fversion=Tango -lgtango
This is the error I get: /tmp/ccg4V1fL.o: In function `_Dmain': test.d:(.text+0x55): undefined reference to `_D5tango4stdc7stringz9toStringzFAaZPa'
Does someone has an idea? I already had this problem on Windows and Linux.