Thread overview | |||||
---|---|---|---|---|---|
|
April 15, 2003 Phobos error with Linux D | ||||
---|---|---|---|---|
| ||||
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 |
April 15, 2003 Re: Phobos error with Linux D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Craig St. Jean | 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
|
April 16, 2003 Re: Phobos error with Linux D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Craig St. Jean | 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. |
Copyright © 1999-2021 by the D Language Foundation