Subject | Re: [firebird-support] working with ibase.h |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2004-01-30T06:53:21Z |
On 30 Jan 2004 at 2:33, german aracil boned wrote:
client library.
deprecated. API programs must form dpb by hands.
SY, Dimitry Sibiryakov.
>gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -c ibstart.cAdd '-lfbclient'. Linker can't find symbols, exported from FB
>/bin/sh ../libtool --mode=link gcc -O2 -O0 -g3 -Wall -o x ibstart.o x.o
>main.o
>gcc -O2 -O0 -g3 -Wall -o x ibstart.o tlnote.o main.o
>ibstart.o(.text+0x7a): In function `Construc_database_parameter':
>/svr/program/tlsystem/c/x/x/ibstart.c:33: undefined reference to
>`isc_expand_dpb'
client library.
>And declaration in ibase.h for this function exist:Variable number of parameters. BTW, using of isc_expand_dpb is
>
>void ISC_EXPORT_VARARG isc_expand_dpb (char ISC_FAR * ISC_FAR *,
> short ISC_FAR *,
> ...);
>
>but.. "..." ? what is it ?
deprecated. API programs must form dpb by hands.
>and other error compiling:Another documentation bug. It must be isc_dpb_num_buffers.
>
> dpb = dpb_buffer;
> *dpb++ = isc_dpb_version1;
> *dpb++ = isc_num_buffers;
>
>isc_num_buffers don't exist in ibase.h
>
>This is a sample extract from api guide.
SY, Dimitry Sibiryakov.