List:MySQL++« Previous MessageNext Message »
From:Marco Turchi Date:March 9 2005 8:26pm
Subject:Re: Segmentation fault->Result res = query.store();
View as plain text  
>
> Did you run resetdb first?

no... I'm running only the simple1.cc.

>
> Are you running the version built as part of the normal library build 
> process, or are you building it some other way!

my goal is to embed the basic commands in my software, but before I'd
like to run and understand how  these commands work.
So I take the simple1.cc and compile it stand alone.
I've built using the following gcc comand:
g++ -I/usr/include/mysql++ -I/usr/local/mysql/include/mysql
-DVERBOSE=2  -Wall  -pthread  -g -O2   -c simple1.cc
g++ -I/usr/include/mysql++ -I/usr/local/mysql/include/mysql
-DVERBOSE=2  -Wall  -pthread  -g -O2   -c util.cc -o util.o
g++ -pthread  -g -O2   -L/usr/lib/mysql    util.o  simple1.o
/usr/local/lib/libmysqlpp.so -lz /usr/lib/mysql/libmysqlclient_r.a
-lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns -lresolv
/usr/lib/libefence.a -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib -o simple1


thank you
MArco



Thread
Segmentation fault->Result res = query.store();Marco Turchi9 Mar
  • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
    • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
      • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
        • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
          • Re: Segmentation fault->Result res = query.store();Marco Turchi9 Mar
      • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
  • Re: Segmentation fault->Result res = query.store();Chris Frey9 Mar
    • Re: Segmentation fault->Result res = query.store();Warren Young9 Mar
      • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
        • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
          • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
            • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
              • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
                • Re: Segmentation fault->Result res = query.store();Chris Frey10 Mar
                  • Re: Segmentation fault->Result res = query.store();Marco Turchi10 Mar
                    • Re: Segmentation fault->Result res = query.store();Earl Miles11 Mar
                      • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
        • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
          • Re: Segmentation fault->Result res = query.store();Warren Young11 Mar
            • Re: Segmentation fault->Result res = query.store();Chris Frey11 Mar
              • Re: Segmentation fault->Result res = query.store();Warren Young12 Mar
      • mysql++ installdon thompson10 Mar
        • Re: mysql++ install solveddon thompson10 Mar