Subject | working with ibase.h |
---|---|
Author | german aracil boned |
Post date | 2004-01-30T01:33:12Z |
Hello
Please two error compiling:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -c ibstart.c
/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'
collect2: ld returned 1 exit status
gmake[2]: *** [x] Error 1
gmake[1]: *** [all-recursive] Error 1
And declaration in ibase.h for this function exist:
void ISC_EXPORT_VARARG isc_expand_dpb (char ISC_FAR * ISC_FAR *,
short ISC_FAR *,
...);
but.. "..." ? what is it ?
and other error compiling:
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.
please help me
thanks
Please two error compiling:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -O0 -g3 -Wall -c ibstart.c
/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'
collect2: ld returned 1 exit status
gmake[2]: *** [x] Error 1
gmake[1]: *** [all-recursive] Error 1
And declaration in ibase.h for this function exist:
void ISC_EXPORT_VARARG isc_expand_dpb (char ISC_FAR * ISC_FAR *,
short ISC_FAR *,
...);
but.. "..." ? what is it ?
and other error compiling:
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.
please help me
thanks