On 21/10/2007, Chris Fant <[EMAIL PROTECTED]> wrote:
> Thanks.  I'm getting this when I compile.  Is gcc having a problem
> finding the standard library?  Any idea what I need to do to fix it?
> BTW, I'm no Linux expert.
>
> # make
> basic_go_types.cpp: In constructor 'player_t::player_t()':
> basic_go_types.cpp:76: warning: converting negative value
> '-0x000000001' to 'uint'
> board.cpp: At global scope:
> board.cpp:472: warning: 'flatten' attribute directive ignored
> uct.cpp:335: warning: 'flatten' attribute directive ignored
> /tmp/cceBZbqE.o(.text+0x5e): In function
> `getc_non_space(std::basic_istream<char, std::char_traits<char> >&)':
> main.cpp: undefined reference to `std::basic_istream<char,
> std::char_traits<char> >::get(char&)'
>

I guess your GCC installation is broken. The code compiles without
problems on my
linux machine:

[EMAIL 
PROTECTED]:~/programming/go/library-of-effective-Go-routines-0b604154ccc9$
g++ --version
g++ (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)


[EMAIL 
PROTECTED]:~/programming/go/library-of-effective-Go-routines-0b604154ccc9$
make
g++ -Wall   -O3 -march=i686 -fomit-frame-pointer -DDEBUG -ffast-math
-frename-registers   -o ego_opt   main.cpp


Regards
Martin
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to