This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kernel hang with latest snapshot


The lket-b2a code, and thus the systemtap build, now appears to be dependent on the mysqlclient library by default. Probably not a good idea.

From a build of the latest systemtap CVS on ppc64:

gcc -g -O2 -o lket-b2a `pkg-config --libs glib-2.0` `mysql_config --libs` lket_b2a-lket_b2a.o /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [lket-b2a] Error 1 make[2]: Leaving directory `/home/mmason/systemtap-CVS/src/runtime/lket/b2a' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mmason/systemtap-CVS/src' make: *** [all] Error 2

- Mike


Mike Mason wrote:
Li Guanglei wrote:
I will take a look at this tomorrow. Although I usually develop & test LKET in PPC64, I think I should also make sure LKET will run on other platform, especially i386(I don't have other platforms :( ).

I also noticed that some trace hooks in LKET have compile errors on i386, and most of them are due to the 32-bit/64-bit environment difference since machine I am using is a 64-bit environment. I will take a look at these errors using my thinkpad tomorrow.

BTW, I checked in a lot of LKET changes, especially lket-b2a today. I will have to take some time to update the document. The biggest enhancement is that lket-b2a could dump the trace data into MySQL database, which makes the trace data analyzing much easier.

I just tried to build the latest CVS source on x86_64 and got the following compile errors:


lket_b2a.c: In function âmainâ:
lket_b2a.c:303: error: âevent_descâ has no member named âentrytimeâ
lket_b2a.c:304: error: âevent_descâ has no member named âentrytimeâ
lket_b2a.c: In function âregister_evt_descâ:
lket_b2a.c:647: error: âevent_descâ has no member named âentrytimeâ
lket_b2a.c:637: warning: unused variable âhas_tableâ
lket_b2a.c: In function âregister_eventsâ:
lket_b2a.c:714: error: label âgen_sqlâ used but not defined
make[2]: *** [lket_b2a-lket_b2a.o] Error 1
make[2]: Leaving directory `/home/mmason/systemtap/systemtap-CVS/src/runtime/lket/b2a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mmason/systemtap/systemtap-CVS/src'
make: *** [all] Error 2


- Mike


- Guanglei





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]