I have downloaded the git version, I run:
./configure --enable-backend-mysql=yes
make
libtool: compile: g++ -DPACKAGE_NAME=\"SOCI\" -DPACKAGE_TARNAME=\"soci\"
-DPACKAGE_VERSION=\"3.0.0\" "-DPACKAGE_STRING=\"SOCI 3.0.0\""
-DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/soci\"
-DPACKAGE=\"soci\" -DVERSION=\"3.0.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_BOOST=1
"-DHAVE_BOOST_DATE_TIME=/**/" -DHAVE_MYSQL=1 -I. -UNDEBUG -U_DEBUG -fPIC
-I/usr/include -O2 -Wall -pedantic -Wno-long-long -MT backend-loader.lo -MD
-MP -MF .deps/backend-loader.Tpo -c backend-loader.cpp -fPIC -DPIC -o
.libs/backend-loader.o
backend-loader.cpp: In function ‘void<unnamed>::do_register_backend(const
std::string&, const std::string&)’:
backend-loader.cpp:200: error: expected type-specifier before ‘uintptr_t’
backend-loader.cpp:200: error: expected ‘>’ before ‘uintptr_t’
backend-loader.cpp:200: error: expected ‘(’ before ‘uintptr_t’
backend-loader.cpp:200: error: ‘uintptr_t’ was not declared in this scope
backend-loader.cpp:200: error: expected ‘)’ before ‘;’ token
make[2]: *** [backend-loader.lo] Error 1
make[2]: Leaving directory `/root/src/soci/src/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/soci/src/core'
make: *** [all-recursive] Error 1
Salu2...
masch...
On Tue, Jul 28, 2009 at 10:33 AM, Maciej Sobczak <[email protected]> wrote:
> Hello,
>
> Mario Chacon wrote:
>
> > I'm trying to compile soci 3.0 in Archlinux using gcc 4.4.0 version and
> > I have this error:
> >
> > g++ -c soci-simple.cpp -Wall -pedantic -Wno-long-long -O2
> > The last command did not execute properly:
> [...]
>
> > Can you help me?
>
> I confirm it to be a bug - it was just fixed in our Git repository:
>
>
> http://soci.git.sourceforge.net/git/gitweb.cgi?p=soci;a=commitdiff;h=a524b1fb57023edf55d551340f3882388806b55a
>
> Please try again.
>
> Regards,
>
> --
> Maciej Sobczak * www.msobczak.com * www.inspirel.com
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users