Multiple compile errors

3 posts / 0 new
Last post
steemann
steemann's picture
Offline
Last seen: 4 years 10 months ago
Joined: Oct 28 2009
Junior Boarder

Posts: 1

Jan Steemann
Multiple compile errors

Building calpont-infinidb-0.9.4.0 from source failed for the following reasons when I tried it using gcc (Debian 4.3.2-1.1) 4.3.2:

1. in utils/loggingcpp/stopwatch.cpp: type "uint" was not defined and there was no typedef. I changed the type to uint32_t because the class seems to be unimportant anway. This worked.

2. I had to insert a few #include directives into files in the utils directory because otherwise gcc could not compile the calls to memset(). This worked.

3. $HOME/Calpont/include/ddlpkg.h:1323: error: multiple parameters named 'qualifiedName'
Looking at the code at that position:
struct CreateIndexStatement : public SqlStatement
{
...
CreateIndexStatement();
CreateIndexStatement(QualifiedName *qualifiedName, QualifiedName *qualifiedName,
ColumnNameList *columnNames, bool unique);

The function signature for CreateIndexStatement indeed has two parameters named qualifiedName which is disallowed. Giving up.

I think the above are all errors in the source code. Can these please be fixed?

bdempsey
bdempsey's picture
Offline
Last seen: 1 month 5 days ago
Joined: Oct 27 2009
Platinum Boarder

Posts: 194

Robert Dempsey
Re:Multiple compile errors

steemann,

Thanks for the work you put into your attempt to port InfiniBD to gcc 4.3.x. This is high on our priority list.

FYI, currently we only compile our code on:
RHEL/CentOS 5 (64-bit), gcc 4.1.1
Fedora Core 6 (32-bit), gcc 4.1.2

We are in the process of seting up mutiple buildbots, one of which will be Debian lenny, however, we do not have a target date for Debian at the moment.

bdempsey
bdempsey's picture
Offline
Last seen: 1 month 5 days ago
Joined: Oct 27 2009
Platinum Boarder

Posts: 194

Robert Dempsey
Re:Multiple compile errors

If you want to, you can build from the bazaar source and you should get gcc 4.1 to 4.3 compatibility, boost 1.33 to 1.34 compatibility and redhat and debian compatibility.

All of these bazaar changes will be rolled into a new 0.9.5.0 source tar file release soon.