Subj : problems with command line linker To : borland.public.cpp.borlandcpp From : JackRosenbloom Date : Wed Jun 01 2005 04:54 pm Hello, I am using borland C++, version 4.52. I have a 16 bit dos application which builds and runs fine using the IDE. I'm using the large memory model and linking to a library I wrote also built under the IDE (different project file), also large memory model. I want to build this application using the command line tools ( bcc.exe and Tlink). When I do this, the compile works fine but I get two types of linker errors which don't occur when building the application under the IDE ERROR 1 defined in module control.cpp is duplicated in module sim_8904.cpp I do have some duplicate names. There are some routines in the library which the application is re-defining. No problem for the IDE. ERROR 2 Error: Fixup overflow at OPI_MAIN_TEXT:03F3, target = __urc_global_ocs_data in library file c:\urc\kernel23\bc_lib\runonpc.lib in module opi_main The symbol __urc_global_ocs_data is defined public in one module and extern in numerous files included in the library. I verified I'm compiling large by adding this to one application file #if !defined __LARGE__ #error WRONG MODEL #endif The file compiles without error Do you have any idea what is wrong? Thanks! Jack .