Andro wrote: > Hi, > > that issue is no more. I'm running x86_64 machines to build, and by > default gcc compiles using 64bits mode. It sounds like libpqxx won't > compile in this mode. Here's what I did to force 32bits: > > First I had to recompile libpq (provided with postgresql package) in > 32bits too. So configure using the following flags: > > $ ./configure CFLAGS=-m32 FFLAGS=-m32 CXXFLAGS=-m32 > $ cd src/interfaces/ libpq && make && make install > > Then I could go on with libpqxx the same way : > > $ ./configure CFLAGS=-m32 FFLAGS=-m32 CXXFLAGS=-m32 > $ make && make install > > It did compile just fine. I should have tried that before, but I was > installing/trying with gcc 4.1.1 at the beginning, which results in the > same issue. > > Thanks for the help Bart, your links made me think about trying those flags
Glad it works. We'll have to try figuring out what's happening with the 64-bit compiles though -- it may be a configuration issue, but it may also be a libpqxx issue. Jeroen, do you have any knowledge about/access to x86_64 compiles? Cheers, Bart _______________________________________________ Libpqxx-general mailing list Libpqxx-general@gborg.postgresql.org http://gborg.postgresql.org/mailman/listinfo/libpqxx-general