From: Kenneth C. S. <ke...@xo...> - 2007-08-06 20:43:42
|
On Mon, August 6, 2007 4:22 pm, Dirk Heinrichs wrote: > Here's what I get when I try to compile it: > make[1]: Entering directory > `/gentoo/build/vestakit.release_12.pre13_10/progs/libs/libBasics.a' > if g++ -DHAVE_CONFIG_H -I. -I. -g -O2 -MT Basics.o -MD -MP -MF > ".deps/Basics.Tpo" -c -o Basics.o Basics.C; \ > then mv -f ".deps/Basics.Tpo" ".deps/Basics.Po"; else rm -f > ".deps/Basics.Tpo"; exit 1; fi > Basics.C: In function 'Text Basics::errno_Text(int)': > Basics.C:34: error: invalid conversion from 'char*' to 'int' We should probably take any further discussion of this over to the vesta-devel mailing list, but to briefly explain it looks to me as though you may be getting a different strerror_r function during compilation during the build that you got during the autoconf tests. The line it is complaining about should only be compiled when strerror_r follows the POSIX spec of returning an integer that's 0 when it succeeds. However you seem to be getting the non-standard GNU strerror_r which returns a "char *". Off the top of my head I don't know why you would get two different versions of the function in two different compilations. You'll probably need to investigate further on the system where you had this problem. --Ken |