Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: "Antony Arciuolo" Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Including stuff Date: Wed, 9 Dec 1998 21:28:07 -0500 Organization: SCEA News Server Lines: 19 Message-ID: <74nale$6o65@scea> NNTP-Posting-Host: aarciuol.pc.trincoll.edu X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 I want ot make a trig look-up table, so I do it, put the definition of the array in a header like so: short PSXTrigLUT[361] = { 0, 71, 142, 214, 285, 356, 428, 499, 570, 640, 711, 781, ..., 0 // just to save space in this post }; I compile trig.c that includes trig.h to get trig.o, but when I try to link this to the rest of my program, I get the error "multiple definition of 'PSXTrigLUT'" Does anyone know why this is and how to fix it... this only seems to happen on explicity set arrays. - Tony