You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Bala Ayres <ba...@XSeLlence.com> on 2000/09/06 05:17:29 UTC

gcc compile question

I created an object file containing a few of the xerces calls....just
enough to meet my needs.
I did this using

 g++ -c xmlmodule.cpp (with appropriate include files etc.)

I have another 'c' program which calls the methods implemented by
xmlmodule.cpp..

So then i do the following

gcc -o program.exe -L and -I as needed program.c xmlmodule.o

The end result of this is that the call to xml function from program.c
are not resolved...and i get unresolved references to xmlmain() which in
this case is the function implemented in xmlmodule.cpp

Appreciate any help .

Thanks

BAyres
Xsellence Inc