[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] profiling instructions?
From: |
Georg-W. Koltermann |
Subject: |
[Monotone-devel] profiling instructions? |
Date: |
Sun, 13 Feb 2005 17:57:04 +0100 |
Hi,
I was wondering why trivial operations like adding another file to my
5.000 file project taking so long and wanted to set up for profiling. I
naively tried to simply compile with
make CFLAGS=-pg CXXFLAGS=-pg
but that gave me errors:
c++ -I./lua -I./sqlite -DNDEBUG -DBOOST_DISABLE_THREADS -Wall -pg -L
/usr/local/lib -o monotone monotone-app_state.o monotone-commands.o
monotone-diff_patch.o monotone-lua.o monotone-transforms.o monotone-update.o
monotone-work.o monotone-cert.o monotone-database.o monotone-file_io.o
monotone-keys.o monotone-manifest.o monotone-packet.o monotone-sanity.o
monotone-vocab.o monotone-rcs_file.o monotone-xdelta.o monotone-ui.o
monotone-schema_migration.o monotone-constants.o monotone-netsync.o
monotone-netcmd.o monotone-merkle_tree.o monotone-basic_io.o monotone-mkstemp.o
monotone-lcs.o monotone-rcs_import.o monotone-revision.o monotone-change_set.o
monotone-mt_version.o monotone-monotone.o monotone-main.o lib3rdparty.a
libplatform.a /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lpopt -lboost_regex
-lboost_date_time -lboost_filesystem
monotone-lua.o(.text+0x41b): In function `lua_hooks::lua_hooks()':
: undefined reference to `luaopen_posix'
monotone-lua.o(.text+0x607): In function `lua_hooks::lua_hooks()':
: undefined reference to `luaopen_posix'
/usr/lib/libstdc++.so.4: undefined reference to `modf'
/lib/libm.so.3: undefined reference to `isnan'
gmake[2]: *** [monotone] Fehler 1
gmake[2]: Leaving directory
`/usr/ports/devel/monotone-gwk/work/monotone-0.16'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory
`/usr/ports/devel/monotone-gwk/work/monotone-0.16'
gmake: *** [all] Fehler 2
hunter#
Does anyone have instructions on how to setup for profiling properly?
FYI this is on FreeBSD 5.3-STABLE.
--
Regards,
Georg.
- [Monotone-devel] profiling instructions?,
Georg-W. Koltermann <=