I, and several other Arch Linux users, can not get ofetion 2.2.0
compiled on Arch Linux AMD64.
I suspect there may be a buy on 64 bit Linux systems.
Here is what I did:
$ mkdir build
$ cd build/
$ cmake ../
$ make
Here is the log and the error message:
cmake ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.4
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.23.3
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.28.6
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.8
-- checking for module 'openssl'
-- found openssl, version 1.0.0d
-- checking for module 'sqlite3'
-- found sqlite3, version 3.7.6.1
-- checking for module 'libnotify'
-- found libnotify, version 0.7.2
-- checking for module 'gstreamer-0.10'
-- found gstreamer-0.10, version 0.10.32
-- checking for module 'xscrnsaver'
-- found xscrnsaver, version 1.2.1
-- checking for module 'NetworkManager'
-- package 'NetworkManager' not found
-- checking for module 'dbus-glib-1'
-- found dbus-glib-1, version 0.92
-- checking for module 'indicate'
-- package 'indicate' not found
-- checking for module 'indicate-gtk'
-- package 'indicate-gtk' not found
-- checking for module 'indicate-gtk-0.5'
-- package 'indicate-gtk-0.5' not found
==========================================
-- Libnotify support: NEW
-- GStreamer support: YES
-- Xscreensaver support: YES
-- NetworkManager support: NO
-- Ubuntu Indicator support: NO
==========================================
-- Native language support: YES
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/build
[xianwen@myhost build]$ make
Scanning dependencies of target openfetion
[ 1%] Building C object CMakeFiles/openfetion.dir/lib/fetion_buddylist.c.o
[ 3%] Building C object CMakeFiles/openfetion.dir/lib/fetion_config.c.o
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_config.c:
In function ‘fetion_config_download_configuration’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_config.c:347:6:
warning: format ‘%d’ expects argument of type ‘int’, but argument 5
has type ‘size_t’ [-Wformat]
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_config.c:347:6:
warning: format ‘%d’ expects argument of type ‘int’, but argument 5
has type ‘size_t’ [-Wformat]
[ 5%] Building C object CMakeFiles/openfetion.dir/lib/fetion_connection.c.o
[ 7%] Building C object CMakeFiles/openfetion.dir/lib/fetion_contact.c.o
[ 9%] Building C object CMakeFiles/openfetion.dir/lib/fetion_conversation.c.o
[ 11%] Building C object CMakeFiles/openfetion.dir/lib/fetion_debug.c.o
[ 13%] Building C object CMakeFiles/openfetion.dir/lib/fetion_directsms.c.o
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_directsms.c:
In function ‘fetion_directsms_send_subscribe’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_directsms.c:178:6:
warning: format ‘%d’ expects argument of type ‘int’, but argument 5
has type ‘size_t’ [-Wformat]
[ 15%] Building C object CMakeFiles/openfetion.dir/lib/fetion_group.c.o
[ 17%] Building C object CMakeFiles/openfetion.dir/lib/fetion_history.c.o
[ 19%] Building C object CMakeFiles/openfetion.dir/lib/fetion_list.c.o
[ 21%] Building C object CMakeFiles/openfetion.dir/lib/fetion_login.c.o
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_login.c:
In function ‘generate_response’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_login.c:53:60:
warning: parameter ‘key’ set but not used [-Wunused-but-set-parameter]
[ 23%] Building C object CMakeFiles/openfetion.dir/lib/fetion_message.c.o
[ 25%] Building C object CMakeFiles/openfetion.dir/lib/fetion_share.c.o
[ 26%] Building C object CMakeFiles/openfetion.dir/lib/fetion_sip.c.o
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_sip.c: In
function ‘fetion_sip_to_string’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_sip.c:284:3:
warning: format ‘%d’ expects argument of type ‘int’, but argument 3
has type ‘size_t’ [-Wformat]
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_sip.c: In
function ‘fetion_sip_parse_shareaccept’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/lib/fetion_sip.c:981:7:
warning: format ‘%d’ expects argument of type ‘int’, but argument 6
has type ‘size_t’ [-Wformat]
[ 28%] Building C object CMakeFiles/openfetion.dir/lib/fetion_user.c.o
[ 30%] Building C object CMakeFiles/openfetion.dir/src/fx_about.c.o
[ 32%] Building C object CMakeFiles/openfetion.dir/src/fx_addbuddy.c.o
[ 34%] Building C object CMakeFiles/openfetion.dir/src/fx_add_group.c.o
[ 36%] Building C object CMakeFiles/openfetion.dir/src/fx_app.c.o
[ 38%] Building C object CMakeFiles/openfetion.dir/src/fx_bottom.c.o
[ 40%] Building C object CMakeFiles/openfetion.dir/src/fx_chat.c.o
[ 42%] Building C object CMakeFiles/openfetion.dir/src/fx_close.c.o
[ 44%] Building C object CMakeFiles/openfetion.dir/src/fx_code.c.o
[ 46%] Building C object CMakeFiles/openfetion.dir/src/fx_conn.c.o
/home/xianwen/Desktop/openfetion-standalone-2.2.0/src/fx_conn.c: In
function ‘fx_conn_init’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/src/fx_conn.c:89:27:
warning: unused parameter ‘fxmain’ [-Wunused-parameter]
/home/xianwen/Desktop/openfetion-standalone-2.2.0/src/fx_conn.c: In
function ‘fx_conn_connect’:
/home/xianwen/Desktop/openfetion-standalone-2.2.0/src/fx_conn.c:263:34:
error: ‘MAX_PASSWORD_LENGTH’ undeclared (first use in this function)
/home/xianwen/Desktop/openfetion-standalone-2.2.0/src/fx_conn.c:263:34:
note: each undeclared identifier is reported only once for each
function it appears in
make[2]: *** [CMakeFiles/openfetion.dir/src/fx_conn.c.o] Error 1
make[1]: *** [CMakeFiles/openfetion.dir/all] Error 2
make: *** [all] Error 2
[xianwen@myhost build]$ ls
CMakeCache.txt CMakeFiles cmake_install.cmake config.h Makefile
Any ideas?
Xianwen