Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!elroy.jpl.nasa.gov!ncar!boulder!pikes!ndimas From: ndimas@pikes.Colorado.EDU (Nicholas Dimas) Newsgroups: comp.lang.c Subject: Project/Make problem in Turbo C 2.0 Message-ID: <4544@pikes.Colorado.EDU> Date: 23 Nov 90 17:34:48 GMT Organization: University of Colorado, Denver Lines: 46 Hi, I'm having the following problem with the Project/Make utility. I have a header file "define2.h" that contains in it the following items: #include #include #define stuff double weights[3]={1 2 3}; double zeros[3]={1 2 3}; Now I have main with the following items: #include "define2.h" extern void main_1( void ); main() { stuff main_1(); } Now I have main_1() with the following items: #include "define2.h" main_1() { stuff } The Project/Make file has the name prog.prj and contains the following: prog1.c /* which is main */ prog2.c /* which is main_1() */ When I press F9 like the manual writes, I get the following errors: _weights defined in prog1.c is redefined in prog2.c _zeros defined in prog1.c is redefined in prog2.c I do not understand this error. Can someone please help me. Thank You Nicholas Dimas e-mail: ndimas@pikes.denver.colorado.edu