D.gnu - Phobos error with Linux D
- "Craig St. Jean" <SordOnline Yahoo.com> Apr 14 2003
- Manfred Hansen <manfred toppoint.de> Apr 15 2003
- Garen Parham <nospam garen.net> Apr 16 2003
Hello, I am using Mandrake 9.1, so I have gcc 3.2.2 by default. I removed the -Werror in the makefile to make it compatible, however whenever I try to make, I get this: "... make[1]: Leaving directory `/home/craig/dli-0.1.2/phobos' ./dli test.d -unittest phobos/libphobos.so: undefined reference to `errno' collect2: ld returned 1 exit status ./test hello arguments make: ./test: Command not found make: *** [testfoo] Error 127" and then make stops. Has anyone had or solved this problem? Thanks
Apr 14 2003
Hello, i have the same problem of my GNU/HURD Machine. hurd:/home/hansen/dli-0.1.2# ./dli -o hello hello.d phobos/libphobos.so: undefined reference to `errno' The same gcc: gcc version 3.2.2 20021231 (Debian prerelease) Regards Manfred Hansen Craig St. Jean wrote:Hello, I am using Mandrake 9.1, so I have gcc 3.2.2 by default. I removed the -Werror in the makefile to make it compatible, however whenever I try to make, I get this: "... make[1]: Leaving directory `/home/craig/dli-0.1.2/phobos' ./dli test.d -unittest phobos/libphobos.so: undefined reference to `errno' collect2: ld returned 1 exit status ./test hello arguments make: ./test: Command not found make: *** [testfoo] Error 127" and then make stops. Has anyone had or solved this problem? Thanks
Apr 15 2003
Craig St. Jean wrote: ...phobos/libphobos.so: undefined reference to `errno' collect2: ld returned 1 exit status ./test hello arguments make: ./test: Command not found make: *** [testfoo] Error 127" and then make stops. Has anyone had or solved this problem?
Sounds like there is a missing #include <errno.h> in there.
Apr 16 2003









Manfred Hansen <manfred toppoint.de> 