(PR#996) [Rd] Double inclusion of "int R_OutputCon" from
Wed, 27 Jun 2001 08:34:24 +0200 (MET DST)
[Header changed to help the R-bugs system]
On Wed, 27 Jun 2001 email@example.com wrote:
> I got a double defined symbol when linking src/modules/internet.dll
> internet.c and sockconn.c include Rconnections.h (... and do not even
Um, that's definitely not in the code in the system you quote below.
> One should possibly remove such a global definitinon from the header
> As a temporary solution I declared the variable extern in Rconnections.h
> added in src/main/printutils.c the definition (only this file and
> src/main/connections.c really use the variable).
Yes, but the problem is AFAICS in what your linker does, as my C books say
it should merge all the occurrences. All our platforms on which we are
able to test do so. I did think about this and look it up.
Given that you use a very unusual system yet expect code to work on it
unchanged, it would be helpful to us if you compiled the pre-release
versions from time to time and sent in suggestions before release.
`R is a collaborative project ...'.
> --please do not edit the information below--
> platform = i386-pc-os2_emx
> arch = i386
> os = os2_emx
> system = i386, os2_emx
> status =
> major = 1
> minor = 2.3
> year = 2001
> month = 04
> day = 26
> language = R
> Search Path:
> .GlobalEnv, package:ctest, Autoloads, package:base
> Thomas Hoffmann Telephone:
> firstname.lastname@example.org Dresden,
> ..sig under construction ...
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: email@example.com
Brian D. Ripley, firstname.lastname@example.org
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com