[Gelistirici] [Uludag-commits] r17649 - trunk/comar/comar

S.Çağlar Onur caglar at pardus.org.tr
8 Mayıs 2008 Per 01:20:26 EEST


14 Nis 2008 Pts tarihinde, uludag-commits at pardus.org.tr şunları yazmıştı: 
> Author: bahadir.kandemir
> Date: Mon Apr 14 23:39:58 2008
> New Revision: 17649
> 
> Removed:
>    trunk/comar/comar/python-2.5.patch
> Modified:
>    trunk/comar/comar/CMakeLists.txt
> Log:
> don't hardcore python version

caglar at zangetsu comar $ cmake .
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found PolicyKit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/caglar/sourcebox/svn/uludag/trunk/comar/comar

caglar at zangetsu comar $ make
Scanning dependencies of target comar
[  8%] Building C object CMakeFiles/comar.dir/src/main.o
[ 16%] Building C object CMakeFiles/comar.dir/src/cfg.o
[ 25%] Building C object CMakeFiles/comar.dir/src/csl.o
[ 33%] Building C object CMakeFiles/comar.dir/src/data.o
[ 41%] Building C object CMakeFiles/comar.dir/src/dbus.o
[ 50%] Building C object CMakeFiles/comar.dir/src/iksemel.o
[ 58%] Building C object CMakeFiles/comar.dir/src/log.o
[ 66%] Building C object CMakeFiles/comar.dir/src/process.o
[ 75%] Building C object CMakeFiles/comar.dir/src/pydbus.o
[ 83%] Building C object CMakeFiles/comar.dir/src/policy.o
[ 91%] Building C object CMakeFiles/comar.dir/src/model.o
[100%] Building C object CMakeFiles/comar.dir/src/utility.o
Linking C executable comar
/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_tmpnam':
(.text+0x4438): warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_tempnam':
(.text+0x4362): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.4/config/libpython2.4.a(floatobject.o): In function `float_rem':
(.text+0x16ab): undefined reference to `fmod'
/usr/lib/python2.4/config/libpython2.4.a(floatobject.o): In function `float_divmod':
(.text+0x189b): undefined reference to `fmod'
/usr/lib/python2.4/config/libpython2.4.a(floatobject.o): In function `float_pow':
(.text+0x1c27): undefined reference to `fmod'
/usr/lib/python2.4/config/libpython2.4.a(floatobject.o): In function `float_pow':
(.text+0x1e4d): undefined reference to `pow'
/usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc':
(.text+0x199): undefined reference to `dlopen'
/usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc':
(.text+0x1d9): undefined reference to `dlsym'
/usr/lib/python2.4/config/libpython2.4.a(dynload_shlib.o): In function `_PyImport_GetDynLoadFunc':
(.text+0x256): undefined reference to `dlerror'
/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_openpty':
(.text+0x1e71): undefined reference to `openpty'
/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function `posix_forkpty':
(.text+0x1ee3): undefined reference to `forkpty'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x2f1): undefined reference to `hypot'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x309): undefined reference to `pow'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x321): undefined reference to `atan2'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x35a): undefined reference to `cos'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x36e): undefined reference to `sin'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x3e6): undefined reference to `exp'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `_Py_c_pow':
(.text+0x3fa): undefined reference to `log'
/usr/lib/python2.4/config/libpython2.4.a(complexobject.o): In function `complex_abs':
(.text+0x1b70): undefined reference to `hypot'
collect2: ld returned 1 exit status
make[2]: *** [comar] Hata 1
make[1]: *** [CMakeFiles/comar.dir/all] Hata 2
make: *** [all] Hata 2

Python ile static linklenmeye çalışıyor, CMakeCache.txt içindeki 

//Path to a library.
PYTHON_LIBRARY:FILEPATH=/usr/lib/python2.4/config/libpython2.4.a

satırını

//Path to a library.
PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.4.so

caglar at zangetsu comar $ make
-- Found PolicyKit
-- Configuring done
-- Generating done
-- Build files have been written to: /home/caglar/sourcebox/svn/uludag/trunk/comar/comar
Linking C executable comar
[100%] Built target comar

yapınca sorun düzeliyor, 2008'de kontrol edemedim henüz static linklenip linklenmediğimizi. Bu cmake hatası mı biz mi yanlış yapıyoruz?

-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20080508/eaaead8b/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi