Firebird 1.5.2 - instalace/kompilace

Michal Jezek kiwi.fon.tis na atlas.cz
Pondělí Leden 17 09:44:19 CET 2005


Děkuji za radu s compat balíčkem. Pomohlo to, firebird už běží.
Nicméně bych rád vyřešil i tu kompilaci. Znovu jsem si to zkusil a výsledkem jsou dva texťáky, ve kterých jsou výpisy jednotlivých operací. Nijak z toho nejsem moudrý :-(

          Michal Ježek.

Milan Keršláger <milan.kerslager na pslib.cz> wrote on 12.01.2005 09:10:59:

> On Wed, Jan 12, 2005 at 09:06:26AM +0100, Michal Jezek wrote:
> > Dobrý den.
> > Mám doma starší stroj s procesoren WinChip na 200 MHz. Asi dva roky
> > jsem na něm provozoval Red Hat 7.3 bez jakýchkoliv problémů. Nedávno
> > jsem si ale vymyslel, že na něj nainstaluji Firebird server. Stáhnul
.......
> > knihovnu libstdc++.so.6. Pokusil jsem se vytvoři symbolický link na
> > tuto knihovnu s číslem 5, ale při spouštění Firebirdu to nahlásilo
> > nějakou sprosťárnu, tak jsem tu linku radši ihned smazal.

> Pouzijte baliky pro zpetnou kompatibilitu, tj. compat* balicky.

> > Máte někdo podobné zkušenosti s Firebirdem? Kterou cestou mám jít a
> > jak případně vyřešit jednotlivé problémy.

> --
> Milan Kerslager
> E-mail: milan.kerslager na pslib.cz
> WWW:    http://www.pslib.cz/ke/
------------- další část ---------------
AUTOCONF=autoconf
LIBTOOL=libtool
LIBTOOLiZE=libtoolize
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize ...
Putting files in AC_CONFIG_AUX_DIR, `builds/make.new/config'.
Running autoconf ...
Running ./configure ...
checking whether make sets $(MAKE)... yes
checking build system type... i586-redhat-linux-gnu
checking host system type... i586-redhat-linux-gnu
checking target system type... i586-redhat-linux-gnu
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... 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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -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 how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for bison... no
checking for byacc... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking libio.h usability... yes
checking libio.h presence... yes
checking for libio.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking netconfig.h usability... no
checking netconfig.h presence... no
checking for netconfig.h... no
checking for rpc/xdr.h... yes
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking sys/mntent.h usability... no
checking sys/mntent.h presence... no
checking for sys/mntent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for main in -ldl... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lcrypt... yes
checking for main in -lcurses... yes
checking for main in -lstdc++... yes
checking for strlcpy... no
checking for strlcat... no
checking for gettimeofday... yes
checking if gettimeofday accepts second (timezone) argument... yes
checking for time... yes
checking for times... yes
checking for library containing gethostname... none required
checking for library containing connect... none required
checking for strcasecmp... yes
checking for stricmp... no
checking for library containing dirname... none required
checking for dirname... yes
checking for sigaction... yes
checking for setitimer... yes
checking for snprintf... yes
checking for swab... yes
checking for _swab... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for setgrp... no
checking for setpgid... yes
checking for getpgrp... yes
checking whether setpgrp takes no argument... yes
checking for flock... yes
checking for initgroups... yes
checking for getpagesize... (cached) yes
checking for crypt... yes
checking for pread... yes
checking for pwrite... yes
checking for getcwd... yes
checking for getwd... yes
checking for setmntent... yes
checking for getmntent... yes
checking if getmntent needs second argument... no
checking for tcgetattr... yes
checking for strdup... yes
checking for mkstemp... yes
checking whether byte ordering is bigendian... no
checking for working volatile... yes
checking return type of signal handlers... void
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for void*... yes
checking size of void*... 4
checking for long... yes
checking size of long... 4
checking for socklen_t... yes
checking for semun... no
checking if sem.h defines semun... no
checking for struct XDR::xdr_ops... no
checking for struct xdr_ops... yes
checking alignment of long... 4
checking alignment of double... 4
checking for /proc/self/exe... yes
configure: creating ./config.status
files are identical
config.status: creating gen/install/makeInstallImage.sh
config.status: creating gen/install/scripts/preinstall.sh
config.status: creating gen/install/scripts/tarinstall.sh
config.status: creating gen/install/scripts/tarMainInstall.sh
config.status: creating gen/install/scripts/taruninstall.sh
config.status: creating gen/install/scripts/tarMainUninstall.sh
config.status: creating gen/install/scripts/postinstall.sh
config.status: creating gen/install/scripts/preuninstall.sh
config.status: creating gen/install/scripts/postuninstall.sh
config.status: creating gen/install/scripts/rpmheader.txt
config.status: creating gen/install/scripts/rpmfiles.txt
config.status: creating gen/install/misc/firebird.conf
config.status: creating gen/install/misc/aliases.conf
config.status: creating gen/install/misc/firebird.xinetd
config.status: creating gen/install/misc/firebird.init.d.generic
config.status: creating gen/install/misc/firebird.init.d.mandrake
config.status: creating gen/install/misc/firebird.init.d.suse
config.status: creating gen/install/misc/firebird.init.d.debian
config.status: creating gen/install/misc/firebird.init.d.gentoo
config.status: creating gen/install/misc/rc.config.firebird
config.status: creating gen/install/bin/changeDBAPassword.sh
config.status: creating gen/install/bin/changeGdsLibraryCompatibleLink.sh
config.status: creating gen/install/bin/createAliasDB.sh
config.status: creating gen/install/bin/fb_config
config.status: creating gen/install/bin/CSchangeRunUser.sh
config.status: creating gen/install/bin/CSrestoreRootRunUser.sh
config.status: creating gen/install/bin/SSchangeRunUser.sh
config.status: creating gen/install/bin/SSrestoreRootRunUser.sh
config.status: creating gen/make.rules
config.status: creating gen/make.defaults
config.status: creating gen/make.platform
config.status: creating gen/make.shared.variables
config.status: creating gen/make.shared.targets
config.status: creating src/Makefile
config.status: creating gen/Makefile.libfbcommon
config.status: creating gen/Makefile.codes
config.status: creating gen/Makefile.boot.gpre
config.status: creating gen/Makefile.libfbstatic
config.status: creating gen/Makefile.static.gpre
config.status: creating gen/Makefile.static.gbak
config.status: creating gen/Makefile.static.isql
config.status: creating gen/Makefile.refDatabases
config.status: creating gen/Makefile.libfbserver
config.status: creating gen/Makefile.fbserver
config.status: creating gen/Makefile.libfbclient
config.status: creating gen/Makefile.client.gbak
config.status: creating gen/Makefile.client.gfix
config.status: creating gen/Makefile.client.gdef
config.status: creating gen/Makefile.client.isql
config.status: creating gen/Makefile.client.gpre
config.status: creating gen/Makefile.client.qli
config.status: creating gen/Makefile.client.util
config.status: creating gen/Makefile.intl
config.status: creating gen/Makefile.msgs
config.status: creating gen/Makefile.extlib
config.status: creating gen/Makefile.v5_examples
config.status: creating gen/Makefile.libfbembed
config.status: creating gen/Makefile.inet_server
config.status: creating gen/Makefile.embed.lockmgr
config.status: creating gen/Makefile.embed.util
config.status: creating gen/Makefile.embed.gfix
config.status: creating gen/Makefile.embed.gbak
config.status: creating gen/Makefile.embed.isql
config.status: creating gen/Makefile.embed.gdef
config.status: creating gen/Makefile.embed.qli
config.status: creating gen/Makefile.embed.gpre
config.status: creating src/v5_examples/Makefile
config.status: creating gen/Makefile.install
config.status: creating Makefile
config.status: creating gen/Makefile.extern.editline
config.status: creating src/include/gen/autoconfig.h
config.status: src/include/gen/autoconfig.h is unchanged


The Firebird2 package has been configured with the following options:

Architecture : ClassicServer
       Debug : disabled
  64 bit I/O : enabled
 Raw devices : disabled
Lock manager : enabled
Service name : gds_db
Service port : 3050
GPRE modules : c_cxx.cpp

 Install Dir : /usr/local/firebird

Now type `make' to compile Firebird2
------------- další část ---------------
ion `void* operator new [](size_t, void*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:93: error: redefinition of `void* operator new [](size_t, void*)'
../src/common/classes/../../include/../common/classes/alloc.h:284: error: `void* operator new [](size_t, void*)' previously defined here
../src/common/classes/alloc.cpp:64: confused by earlier errors, bailing out
make[3]: *** [../temp/libfbcommon/common/classes/alloc.o] Error 1
make[3]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make[2]: *** [libfbcommon] Error 2
make[2]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make[1]: *** [../gen/firebird/bin/gpre_static] Error 2
make[1]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make: *** [firebird] Error 2
[root na hell firebird-1.5.1]# make clean
make -C src clean
make[1]: Entering directory `/home/pracovni/firebird-1.5.1/src'
rm -f `find ../temp/ -type f -name '*.o' -print`
rm -f -f `find ../temp/ -type f -name '*.d' -print`
rm -f `find ../temp/extern/ -type f -name '*.o' -print`
find: ../temp/extern/: není souborem ani adresářem
rm -f `find ../gen/firebird -type f -print`
rm -f `find ../gen/firebird -type l -print`
rm -f `find ../src -type f -name '*.epp' -print | sed 's/epp$/cpp/'`
make -C ../src/extern/editline clean
make[2]: Entering directory `/home/pracovni/firebird-1.5.1/src/extern/editline'
rm -f fcns.c help.c editline.c common.h emacs.h vi.h fcns.h help.h libedit.a libedit.so.2
rm -f editline.o_a np/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a
rm -f editline.o_s np/strlcat.o_s np/strlcpy.o_s np/fgetln.o_s np/vis.o_s np/unvis.o_s history.o_s tokenizer.o_s readline.o_s
rm -f TEST/test.o TEST/test
make[2]: Leaving directory `/home/pracovni/firebird-1.5.1/src/extern/editline'
make[1]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
[root na hell firebird-1.5.1]# eee.txt |make
bash: eee.txt: command not found
make -C src firebird
make[1]: Entering directory `/home/pracovni/firebird-1.5.1/src'
make -f ../gen/Makefile.extern.editline
make[2]: Entering directory `/home/pracovni/firebird-1.5.1/src'
cd ../src/extern/editline; ./configure
loading cache ./config.cache
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking host system type... i586-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for ranlib... (cached) ranlib
checking for ar... (cached) /usr/bin/ar
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -ltinfo... (cached) no
checking for tgetent in -lcurses... (cached) yes
checking for termcap.h... (cached) no
checking for term.h... (cached) no
Need term.h since termcap.h is missing
checking for curses.h... (cached) no
checking for ncurses.h... (cached) no
Need curses.h or ncurses.h
checking for sys/cdefs.h... (cached) yes
checking for vis.h... (cached) no
checking for issetugid... (cached) no
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for fgetln... (cached) no
checking for strvis... (cached) no
checking for strunvis... (cached) no
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
make -C ../src/extern/editline lib_a
make[3]: Entering directory `/home/pracovni/firebird-1.5.1/src/extern/editline'
/bin/sh makelist -h common.c > common.h
/bin/sh makelist -h emacs.c> emacs.h
/bin/sh makelist -h vi.c > vi.h
/bin/sh makelist -fh common.h emacs.h vi.h > fcns.h
/bin/sh makelist -fc common.h emacs.h vi.h > fcns.c
/bin/sh makelist -bh common.c emacs.c vi.c > help.h
/bin/sh makelist -bc common.c emacs.c vi.c > help.c
/bin/sh makelist -e common.c emacs.c vi.c chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c > editline.c
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from editline.c:18:
term.c: In function `term_move_to_line':
term.c:551: warning: implicit declaration of function `tputs'
term.c:551: warning: implicit declaration of function `tgoto'
term.c: In function `term_set':
term.c:915: warning: implicit declaration of function `tgetent'
term.c:933: warning: implicit declaration of function `tgetflag'
term.c:942: warning: implicit declaration of function `tgetnum'
term.c:946: warning: implicit declaration of function `tgetstr'
term.c:947: warning: passing arg 3 of `term_alloc' makes pointer from integer without a cast
In file included from editline.c:18:
term.c: In function `term_echotc':
term.c:1451: warning: assignment makes pointer from integer without a cast
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcat.c -o np/strlcat.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/strlcpy.c -o np/strlcpy.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/fgetln.c -o np/fgetln.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/vis.c -o np/vis.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. np/unvis.c -o np/unvis.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. history.c -o history.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. tokenizer.c -o tokenizer.o_a
gcc -c  -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. readline.c -o readline.o_a
/usr/bin/ar cru libedit.a editline.o_a np/strlcat.o_a np/strlcpy.o_a np/fgetln.o_a np/vis.o_a np/unvis.o_a history.o_a tokenizer.o_a readline.o_a
ranlib libedit.a
make[3]: Leaving directory `/home/pracovni/firebird-1.5.1/src/extern/editline'
cp ../src/extern/editline/libedit.a ../gen/firebird/lib/libeditline.a
make[2]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
(cd ..; ./src/misc/writeBuildNum.sh rebuildHeader)
files are identical
make boot_phase1_build
make[2]: Entering directory `/home/pracovni/firebird-1.5.1/src'
make -f ../gen/Makefile.libfbcommon libfbcommon
make[3]: Entering directory `/home/pracovni/firebird-1.5.1/src'
need to rebuild ../src/common/config/dir_list.cpp
echo ../temp/libfbcommon/common/config/dir_list.o " : FORCE" > ../temp/libfbcommon/common/config/dir_list.d
need to rebuild ../src/common/config/config_file.cpp
echo ../temp/libfbcommon/common/config/config_file.o " : FORCE" > ../temp/libfbcommon/common/config/config_file.d
need to rebuild ../src/common/config/config.cpp
echo ../temp/libfbcommon/common/config/config.o " : FORCE" > ../temp/libfbcommon/common/config/config.d
need to rebuild ../src/common/fb_exception.cpp
echo ../temp/libfbcommon/common/fb_exception.o " : FORCE" > ../temp/libfbcommon/common/fb_exception.d
need to rebuild ../src/common/classes/locks.cpp
echo ../temp/libfbcommon/common/classes/locks.o " : FORCE" > ../temp/libfbcommon/common/classes/locks.d
need to rebuild ../src/common/classes/alloc.cpp
echo ../temp/libfbcommon/common/classes/alloc.o " : FORCE" > ../temp/libfbcommon/common/classes/alloc.d
make[3]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make[3]: Entering directory `/home/pracovni/firebird-1.5.1/src'
g++   -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -c ../src/common/classes/alloc.cpp -o ../temp/libfbcommon/common/classes/alloc.o
In file included from ../src/common/classes/../../include/../common/classes/tree.h:35,
                 from ../src/common/classes/../../include/../common/classes/alloc.h:36,
                 from ../src/common/classes/../../include/firebird.h:75,
                 from ../src/common/classes/alloc.cpp:26:
../src/common/classes/../../include/../common/classes/vector.h: In member function `bool Firebird::SortedVector<Value, Capacity, Key, KeyOfValue, Cmp>::find(const Key&, int&)':
../src/common/classes/../../include/../common/classes/vector.h:103: error: `count' undeclared (first use this function)
../src/common/classes/../../include/../common/classes/vector.h:103: error: (Each undeclared identifier is reported only once for each function it appears in.)
../src/common/classes/../../include/../common/classes/vector.h:106: error: `data' undeclared (first use this function)
In file included from ../src/common/classes/../../include/../common/classes/alloc.h:36,
                 from ../src/common/classes/../../include/firebird.h:75,
                 from ../src/common/classes/alloc.cpp:26:
../src/common/classes/../../include/../common/classes/tree.h: In member function `int Firebird::BePlusTree<Value, Key, Allocator, KeyOfValue, Cmp, LeafCount, NodeCount>::getCount() const':
../src/common/classes/../../include/../common/classes/tree.h:218: error: `count' undeclared (first use this function)
../src/common/classes/../../include/../common/classes/tree.h: In static member function `static const Key& Firebird::BePlusTree<Value, Key, Allocator, KeyOfValue, Cmp, LeafCount, NodeCount>::NodeList::generate(void*, void*)':
../src/common/classes/../../include/../common/classes/tree.h:263: error: expected primary-expression before ')' token
../src/common/classes/../../include/../common/classes/tree.h:263: error: expected `)' before "item"
../src/common/classes/../../include/../common/classes/tree.h:263: error: expected `)' before ';' token
In file included from ../src/common/classes/alloc.cpp:28:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new: At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:54: error: redefinition of `class std::bad_alloc'
../src/common/classes/../../include/../common/classes/alloc.h:245: error: previous definition of `class std::bad_alloc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:82: error: declaration of `void* operator new(size_t) throw (std::bad_alloc)' throws different exceptions
../src/common/classes/../../include/../common/classes/alloc.h:248: error: than previous declaration `void* operator new(size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:83: error: declaration of `void* operator new [](size_t) throw (std::bad_alloc)' throws different exceptions
../src/common/classes/../../include/../common/classes/alloc.h:261: error: than previous declaration `void* operator new [](size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new: In function `void* operator new(size_t, void*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:92: error: redefinition of `void* operator new(size_t, void*)'
../src/common/classes/../../include/../common/classes/alloc.h:283: error: `void* operator new(size_t, void*)' previously defined here
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new: In function `void* operator new [](size_t, void*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/new:93: error: redefinition of `void* operator new [](size_t, void*)'
../src/common/classes/../../include/../common/classes/alloc.h:284: error: `void* operator new [](size_t, void*)' previously defined here
../src/common/classes/alloc.cpp:64: confused by earlier errors, bailing out
make[3]: *** [../temp/libfbcommon/common/classes/alloc.o] Error 1
make[3]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make[2]: *** [libfbcommon] Error 2
make[2]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make[1]: *** [../gen/firebird/bin/gpre_static] Error 2
make[1]: Leaving directory `/home/pracovni/firebird-1.5.1/src'
make: *** [firebird] Error 2
[root na hell firebird-1.5.1]#


Další informace o konferenci Linux