From: Oliver Elphick <olly@lfix.co.uk>
To: Aravind Babu Guntha <guntha@informatik.uni-freiburg.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: problem compiling c-functions
Date: 11 Dec 2002 14:05:34 +0000
Message-ID: <1039615533.25508.1.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <3DF5FDE5.EB89D6CD@informatik.uni-freiburg.de>
References: <3DF5FDE5.EB89D6CD@informatik.uni-freiburg.de>
On Tue, 2002-12-10 at 14:44, Aravind Babu Guntha wrote:
> i am trying to compile the below c-program.but iam getting the errors as
>
> /usr/lib/crt1.o(.text+0x18): In function `_start':
> : undefined reference to `main'
> collect2: ld returned 1 exit status
You need to show us the command line you are using to compile it.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"The spirit of the Lord GOD is upon me; because the
LORD hath anointed me to preach good tidings unto the
meek; he hath sent me to bind up the brokenhearted, to
proclaim liberty to the captives, and the opening of
the prison to them that are bound."
Isaiah 61:1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: olly@lfix.co.uk, guntha@informatik.uni-freiburg.de
Subject: Re: problem compiling c-functions
In-Reply-To: <1039615533.25508.1.camel@linda.lfix.co.uk>
References: <3DF5FDE5.EB89D6CD@informatik.uni-freiburg.de> <1039615533.25508.1.camel@linda.lfix.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox