Re: ld: 0711-317 ERROR: Undefined symbol: .mi_var_copy
Posted in 2004
Oh mon dieu !
En fait je ne parle plus fran'ais...
L'anglais peut-'tre, ou Espagnol pour s'r.
Chucho!
anas benchakroun wrote:
> 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_copy> ld: 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
>
--
Atte,
Jesus Antonio Santos Giraldo
-----------------------------------
jeansagi@myrealbox.com
jeansagi@netscape.net
sending to informix-list