Subj : Re: Linking object files ?? To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Thu Dec 30 2004 03:07 pm You must determine the memory model of the file you wish to use. It must be the same as that used for your code. From within the IDE create a project, set the options including memory model and add both your files and the object file to the project. If working from the command line then, assuming that yours1.c and yours2.cpp and yours3.asm are your files and other.obj is the other file then this command should compile and link them: bcc -f -v -m? yours1.c yours2.cpp yours3.asm other.obj but only if you substitute the lower case first letter of the memory model for the '?' above. (models are small, medium, compact, large, huge). .. Ed > Szakats Istvan wrote in message > news:41d4410a$1@newsgroups.borland.com... > > Hi, > i'm getting > Linker error: undefined symbol ... > in result of the symbol appearing as > extern int .... > > How can you link the compiler with an object file so it won't > give the above error? > > P.S Borland C++ 3.1 for Dos .