From: "Tony Kwan" Newsgroups: comp.os.msdos.djgpp Subject: library headaches Lines: 54 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: Date: Fri, 24 Mar 2000 05:45:45 GMT NNTP-Posting-Host: 216.154.51.227 X-Complaints-To: abuse AT idirect DOT com X-Trace: quark.idirect.com 953876745 216.154.51.227 (Fri, 24 Mar 2000 00:45:45 EST) NNTP-Posting-Date: Fri, 24 Mar 2000 00:45:45 EST Organization: Internet Direct - http://www.mydirect.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am trying to make my first multi-file project with RHIDE but the compiler is giving me errors which I don't know how to fix. Essentially I am following a tutorial I got from the net on "C Libraries and Makefiles" from DevCentral: (abbreviated) /* util.c */ #include "util.h" int rand_seed=10; int rand() {...} void bubble_sort(int m, int a[]) {...} /* util.h */ extern int rand(); extern void bubble_sort(int, int[]); /* main.c */ #include #include "util.h" #define MAX 10 int a[MAX]; void main() { int i; for (i=0; i