simen.kjaras at gmail.com
Thu Nov 11 04:50:20 PST 2010
Carlo <carlo.lucibello at gmail.com> wrote:
> test.d:(.text._Dmain+0x9): undefined reference to `_D7libtest3funFiZi'
> collect2: ld returned 1 exit status
> --- errorlevel 1
> I have no troubles with standard libraries, just mine's. I have the dmd
> 2.0.50 compiler on a GNU/Linux 64bit system. Any idea?
You must pass all source files on the command line:
dmd test.d libtest.d
More information about the Digitalmars-d-learn