Ticket #799 (closed defect: fixed)
kdepim_sync.o stops while running make
| Reported by: | diehorsti | Owned by: | ehabkost |
|---|---|---|---|
| Priority: | high | Milestone: | 0.37 |
| Component: | Plugin: kdepim | Version: | 0.36 |
| Severity: | blocker | Keywords: | |
| Cc: | bricks |
Description (last modified by felixmoeller) (diff)
1)
cmake -DCMAKE_INSTALL_PREFIX=/usr/ ../
-- Found KDE3 include dir: /opt/kde3/include
-- Found KDE3 library dir: /opt/kde3/lib
-- Found KDE3 dcopidl preprocessor: /opt/kde3/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /opt/kde3/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /opt/kde3/bin/kconfig_compiler
-- Found KDE PIM 3: /opt/kde3/lib/libkabc.so /opt/kde3/lib/libkcal.so
CMake Warning (dev) at src/CMakeLists.txt:18 (ADD_DEFINITIONS):
Policy CMP0005 is not set: Preprocessor definition values are now escaped
automatically. Run "cmake --help-policy CMP0005" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
CMake Warning (dev) at /share/libopensync1/cmake/modules/OpenSyncPlugin.cmake:5 (ADD_LIBRARY):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "kdepim-sync" links to some libraries for which the linker
must search:
opensync, dl, -lpthread
and other libraries with known full path:
/opt/kde3/lib/libkabc.so
/usr/lib/qt3/lib/libqassistantclient.a
CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
Call Stack (most recent call first):
src/CMakeLists.txt:22 (OPENSYNC_PLUGIN_ADD)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
2)
make /kdepim/src/kdepim_sync.cpp: In function ‘void* kde_initialize(OSyncPlugin*, OSyncPluginInfo*, OSyncError**)’: /kdepim/src/kdepim_sync.cpp:52: error: expected primary-expression before ‘/’ token /kdepim/src/kdepim_sync.cpp:52: error: ‘lib’ was not declared in this scope /kdepim/src/kdepim_sync.cpp:52: error: ‘libopensync1’ was not declared in this scope /kdepim/src/kdepim_sync.cpp:52: error: ‘plugins’ was not declared in this scope /kdepim/src/kdepim_sync.cpp:55: error: expected primary-expression before ‘/’ token make[2]: *** [src/CMakeFiles/kdepim-sync.dir/kdepim_sync.o] Fehler 1 make[1]: *** [src/CMakeFiles/kdepim-sync.dir/all] Fehler 2 make: *** [all] Fehler 2
Change History
Note: See
TracTickets for help on using
tickets.
