[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


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/ -Wl,-rpath -Wl,/usr/local/lib 
/usr/local/lib/ -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/ undefined reference to `modf'
        /lib/ undefined reference to `isnan'
        gmake[2]: *** [monotone] Fehler 1
        gmake[2]: Leaving directory 
        gmake[1]: *** [all-recursive] Fehler 1
        gmake[1]: Leaving directory 
        gmake: *** [all] Fehler 2

Does anyone have instructions on how to setup for profiling properly?
FYI this is on FreeBSD 5.3-STABLE.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]