Posted in 2004
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Data Types & Schema Design
produit install' : Informix IDS9.21uc6 , clientSDK(esqlC)
le but c'est de g'n'rer le .so qui sera appeler dans une proc'dure
stock'e .
le probl'me est pos' quand on appelle des fonctions genre
"mi_var_copy" sinon 'a marche
question : je ne sais pas ce qui manque pour faire appelle a ces
fonctions
le fichier test.c
#include "/usr/opt/USERS/informix930XB/incl/public/mi.h"
mi_boolean is_negative(int x)
{
mi_lvarchar* v1;
mi_lvarchar* v2;
v1=mi_var_copy(v2);
if (x>0)
return 1;
else
return 0;
}
compilation du test.c
cc -fpic -i $INFORMIXDIR/incl/public/ -c test.c
OK le fichier test.o ce genere sans probleme
la genaration du fichier test.so 'a pose probleme
$ cc -G test.o -L$INFORMIXDIR/lib/dmi/ -b loadmap:PARM -o test.so
ld: 0711-317 ERROR: Undefined symbol: .mi_var_copyld: 0711-344 See the loadmap file PARM for more information.
de l'aide concernant ce probleme , toute id'e cera la bienvenue
Merci d'avance
Help me please
We use strictly necessary cookies to make this site work. With your consent we’d also use optional cookies for analytics and marketing. You can accept all, reject all, or choose. Read our Cookie Policy.