Problem with compiling


Recommended Posts

Hey,

So i chose Evolution, which can handle pocketpc PDA synchronization once some plugins installed.

I need to install the openobex library first, then the multisync libs..

I could only find openobex-1.0.1.tar.gz sources, that i have to compil myself.. thing i never did.

So i untar the package, go inside and do a ./configure; make; make install

(You can find the result of the different steps, running on MDK10, at the end of this post.)

Then, i assume that openobex lib is now installed.

And when i launch multisync-irmc-0.82-1.i386.rpm, i get the following error : Certains paquetages demand?s ne peuvent pas ?tre install?s :

multisync-irmc-0.82-1.i386 (car libopenobex-1.0.so.0 est non satisfait)

?tes-vous d'accord ?

(trad : some of asked packs can't be installed : multisync-irmc-0.82-1.i386 (because libopenobex-1.0.so.0 is unsatisfied) do you aggree?)

So it seems that openobex compilation has failed. And indeed, when i search for the libopenobex-1.0.so.0 file in my system, i can't find it!

So what is the good thing to do to compil this openobex lib?

[root@XXX openobex-1.0.1]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ?) works... yes
checking whether the C compiler (gcc ?) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for IrDA support... yes
checking for Bluetooth support... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating m4macros/Makefile
creating src/Makefile
creating doc/Makefile
creating openobex-config
creating config.h


[root@XXX openobex-1.0.1]# make
make ?all-recursive
make[1]: Entering directory `/home/julien/openobex-1.0.1'
Making all in m4macros
make[2]: Entering directory `/home/julien/openobex-1.0.1/m4macros'
make[2]: Rien ? faire pour ? all ?.
make[2]: Leaving directory `/home/julien/openobex-1.0.1/m4macros'
Making all in src
make[2]: Entering directory `/home/julien/openobex-1.0.1/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex.c ?-fPIC -DPIC -o .libs/obex.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex.c:49:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex.c -o obex.o >/dev/null 2>&1
mv -f .libs/obex.lo obex.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_main.c
rm -f .libs/obex_main.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_main.c ?-fPIC -DPIC -o .libs/obex_main.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_main.c:54:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_main.c -o obex_main.o >/dev/null 2>&1
mv -f .libs/obex_main.lo obex_main.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_connect.c
rm -f .libs/obex_connect.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_connect.c ?-fPIC -DPIC -o .libs/obex_connect.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_connect.c:38:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_connect.c -o obex_connect.o >/dev/null 2>&1
mv -f .libs/obex_connect.lo obex_connect.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_header.c
rm -f .libs/obex_header.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_header.c ?-fPIC -DPIC -o .libs/obex_header.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_header.c:38:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_header.c -o obex_header.o >/dev/null 2>&1
mv -f .libs/obex_header.lo obex_header.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_object.c
rm -f .libs/obex_object.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_object.c ?-fPIC -DPIC -o .libs/obex_object.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_object.c:38:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_object.c -o obex_object.o >/dev/null 2>&1
mv -f .libs/obex_object.lo obex_object.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_transport.c
rm -f .libs/obex_transport.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_transport.c ?-fPIC -DPIC -o .libs/obex_transport.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_transport.c:38:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_transport.c -o obex_transport.o >/dev/null 2>&1
mv -f .libs/obex_transport.lo obex_transport.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_server.c
rm -f .libs/obex_server.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_server.c ?-fPIC -DPIC -o .libs/obex_server.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_server.c:38:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_server.c -o obex_server.o >/dev/null 2>&1
mv -f .libs/obex_server.lo obex_server.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c obex_client.c
rm -f .libs/obex_client.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_client.c ?-fPIC -DPIC -o .libs/obex_client.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from obex_client.c:37:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c obex_client.c -o obex_client.o >/dev/null 2>&1
mv -f .libs/obex_client.lo obex_client.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c irobex.c
rm -f .libs/irobex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c irobex.c ?-fPIC -DPIC -o .libs/irobex.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from irobex.c:60:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c irobex.c -o irobex.o >/dev/null 2>&1
mv -f .libs/irobex.lo irobex.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c inobex.c
rm -f .libs/inobex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c inobex.c ?-fPIC -DPIC -o .libs/inobex.lo
In file included from obex_main.h:60,
 ? ? ? ? ? ? ? ? from inobex.c:45:
obex_transport.h:79:8: warning: extra tokens at end of #endif directive
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c inobex.c -o inobex.o >/dev/null 2>&1
mv -f .libs/inobex.lo inobex.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c btobex.c
rm -f .libs/btobex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c btobex.c ?-fPIC -DPIC -o .libs/btobex.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c btobex.c -o btobex.o >/dev/null 2>&1
mv -f .libs/btobex.lo btobex.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src ? ?-O2 -c netbuf.c
rm -f .libs/netbuf.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c netbuf.c ?-fPIC -DPIC -o .libs/netbuf.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -O2 -c netbuf.c -o netbuf.o >/dev/null 2>&1
mv -f .libs/netbuf.lo netbuf.lo
/bin/sh ../libtool --mode=link gcc ?-O2 ?-o libopenobex.la -rpath /usr/local/lib -version-info 1:0:0 ? ?-release 1.0 ? ?-export-symbols ../src/obex.sym obex.lo obex_main.lo obex_connect.lo obex_header.lo obex_object.lo obex_transport.lo obex_server.lo obex_client.lo irobex.lo inobex.lo btobex.lo netbuf.lo
rm -fr .libs/libopenobex.la .libs/libopenobex.* .libs/libopenobex-1.0.*
gcc -shared ?obex.lo obex_main.lo obex_connect.lo obex_header.lo obex_object.lo obex_transport.lo obex_server.lo obex_client.lo irobex.lo inobex.lo btobex.lo netbuf.lo ? -Wl,-soname -Wl,libopenobex-1.0.so.1 -Wl,-retain-symbols-file -Wl,../src/obex.sym -o .libs/libopenobex-1.0.so.1.0.0
(cd .libs && rm -f libopenobex-1.0.so.1 && ln -s libopenobex-1.0.so.1.0.0 libopenobex-1.0.so.1)
(cd .libs && rm -f libopenobex.so && ln -s libopenobex-1.0.so.1.0.0 libopenobex.so)
ar cru .libs/libopenobex.a ?obex.o obex_main.o obex_connect.o obex_header.o obex_object.o obex_transport.o obex_server.o obex_client.o irobex.o inobex.o btobex.o netbuf.o
ranlib .libs/libopenobex.a
creating libopenobex.la
(cd .libs && rm -f libopenobex.la && ln -s ../libopenobex.la libopenobex.la)
make[2]: Leaving directory `/home/julien/openobex-1.0.1/src'
Making all in doc
make[2]: Entering directory `/home/julien/openobex-1.0.1/doc'
gcc -DHAVE_CONFIG_H -I. -I. -I.. ? ? -O2 -c docproc.c
/bin/sh ../libtool --mode=link gcc ?-O2 ?-o docproc ?docproc.o
mkdir .libs
gcc -O2 -o docproc docproc.o
make[2]: Leaving directory `/home/julien/openobex-1.0.1/doc'
make[2]: Entering directory `/home/julien/openobex-1.0.1'
make[2]: Rien ? faire pour ? all-am ?.
make[2]: Leaving directory `/home/julien/openobex-1.0.1'
make[1]: Leaving directory `/home/julien/openobex-1.0.1'


[root@XXX openobex-1.0.1]# make install
Making install in m4macros
make[1]: Entering directory `/home/julien/openobex-1.0.1/m4macros'
make[2]: Entering directory `/home/julien/openobex-1.0.1/m4macros'
make[2]: Rien ? faire pour ? install-exec-am ?.
/bin/sh ../mkinstalldirs /usr/local/share/aclocal
mkdir /usr/local/share/aclocal
 /usr/bin/install -c -m 644 ./openobex.m4 /usr/local/share/aclocal/openobex.m4
make[2]: Leaving directory `/home/julien/openobex-1.0.1/m4macros'
make[1]: Leaving directory `/home/julien/openobex-1.0.1/m4macros'
Making install in src
make[1]: Entering directory `/home/julien/openobex-1.0.1/src'
make[2]: Entering directory `/home/julien/openobex-1.0.1/src'
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool ?--mode=install /usr/bin/install -c libopenobex.la /usr/local/lib/libopenobex.la
/usr/bin/install -c .libs/libopenobex-1.0.so.1.0.0 /usr/local/lib/libopenobex-1.0.so.1.0.0
(cd /usr/local/lib && rm -f libopenobex-1.0.so.1 && ln -s libopenobex-1.0.so.1.0.0 libopenobex-1.0.so.1)
(cd /usr/local/lib && rm -f libopenobex.so && ln -s libopenobex-1.0.so.1.0.0 libopenobex.so)
/usr/bin/install -c .libs/libopenobex.lai /usr/local/lib/libopenobex.la
/usr/bin/install -c .libs/libopenobex.a /usr/local/lib/libopenobex.a
ranlib /usr/local/lib/libopenobex.a
chmod 644 /usr/local/lib/libopenobex.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
 ? /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
 ? - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
 ? ? during execution
 ? - add LIBDIR to the `LD_RUN_PATH' environment variable
 ? ? during linking
 ? - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
 ? - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/local/include/openobex
mkdir /usr/local/include/openobex
 /usr/bin/install -c -m 644 obex.h /usr/local/include/openobex/obex.h
 /usr/bin/install -c -m 644 obex_const.h /usr/local/include/openobex/obex_const.h
make[2]: Leaving directory `/home/julien/openobex-1.0.1/src'
make[1]: Leaving directory `/home/julien/openobex-1.0.1/src'
Making install in doc
make[1]: Entering directory `/home/julien/openobex-1.0.1/doc'
make[2]: Entering directory `/home/julien/openobex-1.0.1/doc'
make[2]: Rien ? faire pour ? install-exec-am ?.
make[2]: Rien ? faire pour ? install-data-am ?.
make[2]: Leaving directory `/home/julien/openobex-1.0.1/doc'
make[1]: Leaving directory `/home/julien/openobex-1.0.1/doc'
make[1]: Entering directory `/home/julien/openobex-1.0.1'
make[2]: Entering directory `/home/julien/openobex-1.0.1'
/bin/sh ./mkinstalldirs /usr/local/bin
 /usr/bin/install -c ?openobex-config /usr/local/bin/openobex-config
make[2]: Rien ? faire pour ? install-data-am ?.
make[2]: Leaving directory `/home/julien/openobex-1.0.1'
make[1]: Leaving directory `/home/julien/openobex-1.0.1'

Link to comment
Share on other sites

hmm im not sure, i dont use mandrake, but it installed it into /usr/local

"Libraries have been installed in:

/usr/local/lib"

as it says after make install,which is a pretty bad place. I beleive the path look ups are in /usr

so instead of just ./configure, tell it where to install by doing

./configure --prefix=/usr

that will install it in the /usr and then im pretty sure in mandrake programs search in /usr and will be able to find the lib. I have this problem in Arch, if i dont tell it to install in /usr no programs or libs will be able to find it, so it must be in /usr

also in the src directory do a make uninstall to uninstall the libs installed in the /usr/local area and try again

-bolero

Link to comment
Share on other sites

I doesn't seem to work.

Here is the code :

[root@alesia synce-libsynce-0.8.9]# ./configure --prefix=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether make sets $(MAKE)... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether byte ordering is bigendian... no
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for an ANSI C-conforming const... yes
checking for poll... yes
checking for inet_pton... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for main in -lsocket... no
checking for main in -lnsl... yes
configure: creating ./config.status
config.status: creating lib/synce.h
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/config/Makefile
config.status: creating man/Makefile
config.status: creating lib/synce_config.h
config.status: executing depfiles commands

Look normal so far..

to be continued in the next post (i'm afraid there is a size limit that i don't want to reach)

Link to comment
Share on other sites

[root@alesia synce-libsynce-0.8.9]# make 
Making all in lib
make[1]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib'
make  all-recursive
make[2]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib'
Making all in config
make[3]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib/config'
source='config.c' object='config.lo' libtool=yes \
depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../lib     -g -O2 -c -o config.lo `test -f 'config.c' || echo './'`config.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -g -O2 -c config.c -MT config.lo -MD -MP -MF .deps/config.TPlo  -fPIC -DPIC -o .libs/config.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -g -O2 -c config.c -MT config.lo -MD -MP -MF .deps/config.TPlo -o config.o >/dev/null 2>&1
mv -f .libs/config.lo config.lo
source='hash.c' object='hash.lo' libtool=yes \
depfile='.deps/hash.Plo' tmpdepfile='.deps/hash.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../lib     -g -O2 -c -o hash.lo `test -f 'hash.c' || echo './'`hash.c
rm -f .libs/hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -g -O2 -c hash.c -MT hash.lo -MD -MP -MF .deps/hash.TPlo  -fPIC -DPIC -o .libs/hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../lib -g -O2 -c hash.c -MT hash.lo -MD -MP -MF .deps/hash.TPlo -o hash.o >/dev/null 2>&1
mv -f .libs/hash.lo hash.lo
/bin/sh ../../libtool --mode=link gcc  -g -O2   -o libconfig.la   config.lo hash.lo  -lnsl 
rm -fr .libs/libconfig.la .libs/libconfig.* .libs/libconfig.*
ar cru .libs/libconfig.al config.lo hash.lo
ranlib .libs/libconfig.al
creating libconfig.la
(cd .libs && rm -f libconfig.la && ln -s ../libconfig.la libconfig.la)
make[3]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib/config'
Making all in .
make[3]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib'
source='bswap.c' object='bswap.lo' libtool=yes \
depfile='.deps/bswap.Plo' tmpdepfile='.deps/bswap.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o bswap.lo `test -f 'bswap.c' || echo './'`bswap.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c bswap.c -MT bswap.lo -MD -MP -MF .deps/bswap.TPlo  -fPIC -DPIC -o .libs/bswap.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c bswap.c -MT bswap.lo -MD -MP -MF .deps/bswap.TPlo -o bswap.o >/dev/null 2>&1
mv -f .libs/bswap.lo bswap.lo
source='datetype.c' object='datetype.lo' libtool=yes \
depfile='.deps/datetype.Plo' tmpdepfile='.deps/datetype.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o datetype.lo `test -f 'datetype.c' || echo './'`datetype.c
rm -f .libs/datetype.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c datetype.c -MT datetype.lo -MD -MP -MF .deps/datetype.TPlo  -fPIC -DPIC -o .libs/datetype.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c datetype.c -MT datetype.lo -MD -MP -MF .deps/datetype.TPlo -o datetype.o >/dev/null 2>&1
mv -f .libs/datetype.lo datetype.lo
source='errors.c' object='errors.lo' libtool=yes \
depfile='.deps/errors.Plo' tmpdepfile='.deps/errors.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o errors.lo `test -f 'errors.c' || echo './'`errors.c
rm -f .libs/errors.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c errors.c -MT errors.lo -MD -MP -MF .deps/errors.TPlo  -fPIC -DPIC -o .libs/errors.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c errors.c -MT errors.lo -MD -MP -MF .deps/errors.TPlo -o errors.o >/dev/null 2>&1
mv -f .libs/errors.lo errors.lo
source='files.c' object='files.lo' libtool=yes \
depfile='.deps/files.Plo' tmpdepfile='.deps/files.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o files.lo `test -f 'files.c' || echo './'`files.c
rm -f .libs/files.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c files.c -MT files.lo -MD -MP -MF .deps/files.TPlo  -fPIC -DPIC -o .libs/files.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c files.c -MT files.lo -MD -MP -MF .deps/files.TPlo -o files.o >/dev/null 2>&1
mv -f .libs/files.lo files.lo
source='filetime.c' object='filetime.lo' libtool=yes \
depfile='.deps/filetime.Plo' tmpdepfile='.deps/filetime.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o filetime.lo `test -f 'filetime.c' || echo './'`filetime.c
rm -f .libs/filetime.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c filetime.c -MT filetime.lo -MD -MP -MF .deps/filetime.TPlo  -fPIC -DPIC -o .libs/filetime.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c filetime.c -MT filetime.lo -MD -MP -MF .deps/filetime.TPlo -o filetime.o >/dev/null 2>&1
mv -f .libs/filetime.lo filetime.lo
source='info.c' object='info.lo' libtool=yes \
depfile='.deps/info.Plo' tmpdepfile='.deps/info.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o info.lo `test -f 'info.c' || echo './'`info.c
rm -f .libs/info.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c info.c -MT info.lo -MD -MP -MF .deps/info.TPlo  -fPIC -DPIC -o .libs/info.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c info.c -MT info.lo -MD -MP -MF .deps/info.TPlo -o info.o >/dev/null 2>&1
mv -f .libs/info.lo info.lo
source='password.c' object='password.lo' libtool=yes \
depfile='.deps/password.Plo' tmpdepfile='.deps/password.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o password.lo `test -f 'password.c' || echo './'`password.c
rm -f .libs/password.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c password.c -MT password.lo -MD -MP -MF .deps/password.TPlo  -fPIC -DPIC -o .libs/password.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c password.c -MT password.lo -MD -MP -MF .deps/password.TPlo -o password.o >/dev/null 2>&1
mv -f .libs/password.lo password.lo
source='synce_hash.c' object='synce_hash.lo' libtool=yes \
depfile='.deps/synce_hash.Plo' tmpdepfile='.deps/synce_hash.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o synce_hash.lo `test -f 'synce_hash.c' || echo './'`synce_hash.c
rm -f .libs/synce_hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_hash.c -MT synce_hash.lo -MD -MP -MF .deps/synce_hash.TPlo  -fPIC -DPIC -o .libs/synce_hash.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_hash.c -MT synce_hash.lo -MD -MP -MF .deps/synce_hash.TPlo -o synce_hash.o >/dev/null 2>&1
mv -f .libs/synce_hash.lo synce_hash.lo
source='synce_ini.c' object='synce_ini.lo' libtool=yes \
depfile='.deps/synce_ini.Plo' tmpdepfile='.deps/synce_ini.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o synce_ini.lo `test -f 'synce_ini.c' || echo './'`synce_ini.c
rm -f .libs/synce_ini.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_ini.c -MT synce_ini.lo -MD -MP -MF .deps/synce_ini.TPlo  -fPIC -DPIC -o .libs/synce_ini.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_ini.c -MT synce_ini.lo -MD -MP -MF .deps/synce_ini.TPlo -o synce_ini.o >/dev/null 2>&1
mv -f .libs/synce_ini.lo synce_ini.lo
source='synce_log.c' object='synce_log.lo' libtool=yes \
depfile='.deps/synce_log.Plo' tmpdepfile='.deps/synce_log.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o synce_log.lo `test -f 'synce_log.c' || echo './'`synce_log.c
rm -f .libs/synce_log.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_log.c -MT synce_log.lo -MD -MP -MF .deps/synce_log.TPlo  -fPIC -DPIC -o .libs/synce_log.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_log.c -MT synce_log.lo -MD -MP -MF .deps/synce_log.TPlo -o synce_log.o >/dev/null 2>&1
mv -f .libs/synce_log.lo synce_log.lo
source='synce_socket.c' object='synce_socket.lo' libtool=yes \
depfile='.deps/synce_socket.Plo' tmpdepfile='.deps/synce_socket.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o synce_socket.lo `test -f 'synce_socket.c' || echo './'`synce_socket.c
rm -f .libs/synce_socket.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_socket.c -MT synce_socket.lo -MD -MP -MF .deps/synce_socket.TPlo  -fPIC -DPIC -o .libs/synce_socket.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c synce_socket.c -MT synce_socket.lo -MD -MP -MF .deps/synce_socket.TPlo -o synce_socket.o >/dev/null 2>&1
mv -f .libs/synce_socket.lo synce_socket.lo
source='wstr.c' object='wstr.lo' libtool=yes \
depfile='.deps/wstr.Plo' tmpdepfile='.deps/wstr.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o wstr.lo `test -f 'wstr.c' || echo './'`wstr.c
rm -f .libs/wstr.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c wstr.c -MT wstr.lo -MD -MP -MF .deps/wstr.TPlo  -fPIC -DPIC -o .libs/wstr.lo
make[3]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib'
make[2]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib'
make[1]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib'
wstr.c: In function `wstr_from_x':
wstr.c:120: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [wstr.lo] Erreur 1
make[2]: *** [all-recursive] Erreur 1
make[1]: *** [all] Erreur 2
make: *** [all-recursive] Erreur 1

I feel it bad, seems there are errors..

Link to comment
Share on other sites

Making install in lib
make[1]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib'
Making install in config
make[2]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib/config'
make[3]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib/config'
make[3]: Rien ? faire pour ? install-exec-am ?.
make[3]: Rien ? faire pour ? install-data-am ?.
make[3]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib/config'
make[2]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib/config'
Making install in .
make[2]: Entering directory `/home/julien/synce-libsynce-0.8.9/lib'
source='wstr.c' object='wstr.lo' libtool=yes \
depfile='.deps/wstr.Plo' tmpdepfile='.deps/wstr.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.    -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2  -I.. -g -O2 -c -o wstr.lo `test -f 'wstr.c' || echo './'`wstr.c
rm -f .libs/wstr.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -g -O2 -I.. -g -O2 -c wstr.c -MT wstr.lo -MD -MP -MF .deps/wstr.TPlo  -fPIC -DPIC -o .libs/wstr.lo
make[2]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib'
make[1]: Leaving directory `/home/julien/synce-libsynce-0.8.9/lib'
wstr.c: In function `wstr_from_x':
wstr.c:120: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [wstr.lo] Erreur 1
make[1]: *** [install-recursive] Erreur 1
make: *** [install-recursive] Erreur 1

Any clue? And I thought that installin on linux was as easy as "./configure;make;make install"

Link to comment
Share on other sites

hmm im not sure, i never liked mandrake, always had bad luck compiling stuff on it, and it is as easy as ./configure && make && make install, its jsut if you are missing dependecies, or there is an error in code, it wont install.

-bolero

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.