[ts-gen] Unable to compile current shim version on Ubuntu

R P Herrold herrold at owlriver.com
Tue Nov 13 21:51:17 EST 2007


On Tue, 13 Nov 2007, Paolo Volpato wrote:

> When I try to compile the last Shim version (071016) on 
> Ubuntu 7.10 using compiler g++ 4.1.2-16ubuntu2 (also 
> installed: distcc 2.18.3-4.1ubuntu1) all I get is a whole 
> bunch of error messages.

hmmmm.  Strange that Ubuntu is not tracking Debian 
'testing' versions.  I just ran this as root to install to 
freshen our build environment:

#  apt-get install g++ libmysqlclient15-dev

and that same version (I pulled it from the external FTP site 
just now) built without issue for me just now.  I had a slight 
warning, but nothing major:

g++ -Wall -g -I/usr/include/mysql  -c -o wait.o src/wait.c
src/init.c: In member function ‘void 
TradingShimDaemon1_0::InputOutputFlows::Outputs::pane(const 
TradingShimDaemon1_0::InputOutputFlows::Tuples&, const 
TradingShimDaemon1_0::DomainSingletons::Mode&, const 
TradingShimDaemon1_0::InputOutputFlows::ShimConfig&) const’:
src/init.c:174: warning: deprecated conversion from string 
constant to ‘char*’
src/init.c:175: warning: deprecated conversion from string 
constant to ‘char*’

> I read other debian users did manage to compile shim 
> versions on their systems. Is it a matter of Ubuntu, of g++ 
> 4.1.2 or should I try to compile an older shim version ?

As I look at releases, I see that it has been a bit of time 
since we last pushed a release.  There is actually a slight 
issue with minimum server message versions with the latest 
Unix TWX JAR set, and we should probably get a new update 
release scheduled.  I have been away, and then since my return 
working on documentation and downstream client tools; Bill has 
been doing some refactoring.  I'll try to get together with 
Bill tomorrow to talk planning a next external version 
through.

> make[1]: Betrete Verzeichnis '/home/dormilon/tmp/shim-071016'
> g++ -Wall -g -I/usr/include/mysql  -c -o once.o src/once.c
> g++ -Wall -g -I/usr/include/mysql  -c -o bind.o src/bind.c
> src/predicates.h:128: Fehler: »DbvI« wurde in diesem Gültigkeitsbereich
> nicht definiert
> src/predicates.h:128: Fehler: Templateargument 2 ist ungültig
> src/predicates.h:128: Fehler: invalid type in declaration before »;« token

I think I'll ask Bill to look into this and see.  We'll get 
you going, I am sure.

-- Russ


More information about the ts-general mailing list