[zorp-hu] Zorp fordítás

Milus János zorp-hu@lists.balabit.hu
Tue, 07 Dec 2004 21:21:45 +0100


Próbáltam Zorpot forrásból fordítani, de már a libzorpll-nél elakadtam:

creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  -O2  ) works... yes
checking whether the C compiler (gcc  -O2  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant 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... yes
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/i686-pc-linux-gnu/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 dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for sys/capability.h... yes
checking for dlfcn.h... (cached) yes
checking for openssl/ssl.h... yes
checking for working const... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for PR_SET_KEEPCAPS... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for strftime... yes
checking for cap_set_proc in -lcap... yes
checking for pthread_create in -lpthread... yes
checking for inet_aton in -lresolv... yes
checking for socket in -lsocket... no
checking for crypt in -lcrypt... yes
checking for socket... yes
checking for strtol... yes
checking for strtoul... yes
checking for strlcpy... no
checking for backtrace... yes
checking for inet_aton... yes
checking for inet_addr... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.1... yes (version 2.4.8)
checking for library containing DES_ecb_encrypt... -lcrypto
checking for library containing SSL_accept... -lssl
checking for ENGINE_by_id... yes
checking whether to enable POSIX 1003.1e capability support... yes
checking whether to enable stack dumping (only in i386 Linux)... yes
checking whether to enable SSL crypto engine support... yes


Compile time options:
---------------------
debug: no
trace: no
mem_trace: no
heap_trace: no
dmalloc: no
caps: yes
residual_protection: no
stackdump: yes
ssl_engine: yes

updating cache ./config.cache
creating ./config.status
creating Makefile
creating debian/Makefile
creating src/Makefile
creating src/zorp/Makefile
creating zorplibll.pc
creating debian/libzorpll.shlibs
creating src/zorp/zorplibconfig.h
src/zorp/zorplibconfig.h is unchanged
Making all in src

[egy darabig semmi hiba]

gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c stream.c  -fPIC -DPIC -o .libs/stream.lo
stream.c:400: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c stream.c -o stream.o >/dev/null 2>&1
rm -f .libs/streamline.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c streamline.c  -fPIC -DPIC
-o .libs/streamline.lo
streamline.c:810: warning: dereferencing type-punned pointer will break
strict-aliasing rules
mv -f .libs/stream.lo stream.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include
-O2  -Wall -g -D_GNU_SOURCE -c log.c
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c streamline.c -o streamline.o >/dev/null 2>&1rm
-f .libs/log.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c log.c  -fPIC -DPIC -o .libs/log.lo
log.c: In function `z_log_register_class':
log.c:693: error: assignment of read-only location
mv -f .libs/streamline.lo streamline.lo
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include
-O2  -Wall -g -D_GNU_SOURCE -c io.c
make[2]: *** [log.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/io.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c io.c  -fPIC -DPIC -o .libs/io.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../src/zorp
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/lib
-I/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2
-Wall -g -D_GNU_SOURCE -c io.c -o io.o >/dev/null 2>&1
mv -f .libs/io.lo io.lo
make[2]: Leaving directory
`/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libzorpll-2.1.12.5/work/libzorpll-2.1.12.5/src'
make: *** [all-recursive] Error 1

A gcc verziója  3.4.3

-- 
Ãœdv
Jo-Hans