Re: Patch - mdbtools-0.6pre1 compilation problem

Martin Ellis <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
On Thursday 18 May 2006 16:54, Moloko Vellocet wrote:
> Hi, I found a compilation problem with mdbtools-0.6pre1, I'm
> running: Fedora Core 4
> gcc-4.0.0
> glibc 2.3.5
>
> The problem is with the static variable "GHashTable *mdb_backends'
> found in the files:
> - include/mdbtools.h
> - src/libmdb/backend.c
> I've ported this static variable to the header mdbtools.h and
> declared it as extern in backend.c.

Declaring this in a header doesn't seem like the right thing to do, 
to me at least.  What's the error you get?

Hmm, in fact, wasn't gcc 4.0.0 blacklisted in many toolchains for 
being buggy?  I'm pretty sure it was in KDE.
And I particularly remember Fedora shipping buggy compilers (and 
patched with unofficial patches) on more than one occasion.  :o(

Perhaps it's a better idea to try a different compiler version?

Martin


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.