delorie.com/archives/browse.cgi | search |
From: | Kevin <kevin AT effessnet DOT fsnet DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Rhide/DJGPP Multiple source file problems. |
Date: | Sun, 01 Apr 2001 17:17:13 +0100 |
Lines: | 36 |
Message-ID: | <81lect4f2chs9opgae4hfidn6al9hf191d@4ax.com> |
References: | <5pcectc76iigqk93ulqu1v9ooo0o4dheks AT 4ax DOT com> <3ac745ca$0$18874 AT SSP1NO25 DOT highway DOT telekom DOT at> |
NNTP-Posting-Host: | modem-237.indiana.dialup.pol.co.uk |
Mime-Version: | 1.0 |
X-Trace: | newsg4.svr.pol.co.uk 986141956 4865 62.137.65.237 (1 Apr 2001 16:19:16 GMT) |
NNTP-Posting-Date: | 1 Apr 2001 16:19:16 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Agent 1.7/32.534 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Yes, that's it. thanks very very much, much appreciated. Hooray, I can make some real progress now. Kevin. On Sun, 1 Apr 2001 17:14:46 +0200, "florianx" <florianx AT drdos DOT org> wrote: >>Error: term.o: In function `com1_at_exit(void)': >>Error: term.cpp(.text+0x4): multiple definition of >>`com1_at_exit(void)' >>Error: selector.o(.text+0x4):selector.cpp: first defined here >>Error: term.o(.data+0x0):term.cpp: multiple definition of `port1' >>Error: selector.o(.data+0x0):selector.cpp: first defined here >>There were some errors > > >You must declere as extern. > >in GPS.H fe.: > >extern int variable1; >extern char * pointer; > >and in ONE .CPP file: > >int variable1; >char *pointer1; > >I hope, this helps. > >bye, flox > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |