Re: ld: 0711-317 ERROR: Undefined symbol: .mi_var_copy
Posted in 2004
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Data Types & Schema Design
anas.benchakroun@lydec.co.ma (anas benchakroun) wrote in message news:<7705d55e.0401200222.211b9b3c@posting.google.com>...
> 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
OK. (Takes a deep breath . . .)
Je pensons le computer program est actually bon, mate. Le librairie shared
contient function calls what don't have correspondant execution blocks,
comprenez? Quand vous' link le librairie shared avec le DBMS, le syst'me
operant figures it all out. Mais vous' ne avez told le compiler. Quoi est
le syst'me operant vous' est using?
Avec looky chez le examples pon
http://www.iiug.org/software/index_ORDBMS.html
Je espoir this helps.
KR
Pb
Paul G. Brown wrote:
> anas.benchakroun@lydec.co.ma (anas benchakroun) wrote in message
> news:<7705d55e.0401200222.211b9b3c@posting.google.com>...
>> 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
>
> OK. (Takes a deep breath . . .)
>
> Je pensons le computer program est actually bon, mate. Le librairie
> shared
> contient function calls what don't have correspondant execution blocks,
> comprenez? Quand vous' link le librairie shared avec le DBMS, le syst'me
> operant figures it all out. Mais vous' ne avez told le compiler. Quoi
> est le syst'me operant vous' est using?
>
> Avec looky chez le examples pon
>
> http://www.iiug.org/software/index_ORDBMS.html
>
> Je espoir this helps.
Miles Kington would be proud!
--
"C'est pas parce qu'on n'a rien ' dire qu'il faut fermer sa gueule"
- Coluche
"Obnoxio The Clown" <obnoxio@hotmail.com> wrote in message news:bukhst$iqv8o$1@ID-64669.news.uni-berlin.de... > Paul G. Brown wrote: > > > anas.benchakroun@lydec.co.ma (anas benchakroun) wrote in message > > news:<7705d55e.0401200222.211b9b3c@posting.google.com>... > >> [snip] > > > > OK. (Takes a deep breath . . .) > > > > Je pensons le computer program est actually bon, mate. Le librairie > > shared > > contient function calls what don't have correspondant execution blocks, > > comprenez? Quand vous' link le librairie shared avec le DBMS, le syst'me > > operant figures it all out. Mais vous' ne avez told le compiler. Quoi > > est le syst'me operant vous' est using? > > > > Avec looky chez le examples pon > > > > http://www.iiug.org/software/index_ORDBMS.html > > > > Je espoir this helps. > > Miles Kington would be proud! > But not, alas, Mr Badour :-o
Related threads
- Re: Looking for a risk overview
- Those crazy Germans ....
- Re: Oracle 10G
- Retreving Insert Statements for Logical Logs
- FW: IDS to DB2 conversion