[Fresco-devel] gcc 3.2 fun

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Just to let you know: Fresco does not build with g++ 3.2. Babylon is to blame. 
Looks like gcc finally has char_traits and Babylon does not define them. Here  
are the error messages. You will get them when linking the server in Berlin:

Babylon/lib/libBabylon.so: undefined reference to 
`std::char_traits<unsigned>::assign(unsigned*, unsigned, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to 
`std::char_traits<unsigned>::copy(unsigned*, unsigned const*, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
short>::assign(unsigned short*, unsigned, unsigned short)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
char>::assign(unsigned char*, unsigned, unsigned char)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
char>::copy(unsigned char*, unsigned char const*, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
short>::copy(unsigned short*, unsigned short const*, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to 
`std::char_traits<unsigned>::move(unsigned*, unsigned const*, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
char>::move(unsigned char*, unsigned char const*, unsigned)'
Babylon/lib/libBabylon.so: undefined reference to `std::char_traits<unsigned 
short>::move(unsigned short*, unsigned short const*, unsigned)'
collect2: ld returned 1 exit status

I cannot define char_traits for unsigned char, unsigned short or unsigned int 
as that will be redefining symbols from the include file. I cannot implement 
those symbols in Babylon for similar reasons, so I am a bit lost on what to 
do:-(

Babylon itself builds fine, you just 't link against it. Any ideas? Oh, I can 
(and did) add char_traits for Babylon::Char. That works fine.

- -- 
Gruss,
Tobias

- ------------------------------------------------------------
Tobias Hunger           The box said: 'Windows 95 or better'
[email protected]                      So I installed Linux.
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9cB2Sv0FZW3NyoqURAggUAJ4zAwkpqt7VEFQWx6XZx+11Sm1VIQCgp6VS
weZ6lVqu3KOgjpcTTIol6V8=
=HvvD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.