🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41458

#### terminate(void) ####

#41458
From: Brian Macocq
Date: Tue, 09 Apr 1996 00:00
27 lines
1328 bytes
Subject: ####  terminate(void) ####
Newsgroups: gnu.g++.help
Organization: Brussels Free Universities (VUB/ULB), Belgium
Summary: 
Keywords: 


Hello,


I'm trying to compile a C++ program with gcc/g++.
The compiling goes well, but the linking gives problems.
It complains about the following:

AGORA.o(.text+0x4f1): undefined reference to `terminate(void)'
AGORA_Globals.o(.text+0x781): undefined reference to `terminate(void)'
AGORA_Routines.o(.text+0xe45): undefined reference to `terminate(void)'
AGORA_Routines.o(.text+0x108f): undefined reference to `terminate(void)'
AGORA_Routines.o(.text+0x15dc): undefined reference to `terminate(void)'
AGORA_Routines.o(.text+0x1ff5): more undefined references
to `terminate(void)' follow

Note: I never use or declare a function "terminate".
      It compiles and linkes fine on a SGI with Irix, but
      on a PC with linux or a Sun with SunOS 5 it gives the
      above problems.
Technical Details
Message-ID: <4kea1n$7vq@rc1.vub.ac.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,348acc7662c8e264,start
X-Google-Attributes: gid11318c,public
From: we44530@vub.ac.be (Brian Macocq)
Subject: ####  terminate(void) ####
Date: 1996/04/09
Message-ID: <4kea1n$7vq@rc1.vub.ac.be>
X-Deja-AN: 146583221
organization: Brussels Free Universities (VUB/ULB), Belgium
newsgroups: gnu.gcc.help