Article View: alt.uu.comp.os.linux.questions
Article #270Compilin' Problems
From: Ghandehari, David
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
27 lines
2026 bytes
2026 bytes
I've been trying to compile various things in linux recently
(one of them being a simple lisp-subset interpreter for
a CS class) and during the link stage, I seem to get a similar
error... that being something like
undefined reference to `environ'
It's always environ or _environ that it has problems with,
and I'm not sure what the deal is... It also reports a problem
finding _start, which is dubious. A couple programs compile fine,
and then spit that error out at me when I try to run them...
Looking at the man page for environment, it seems to be a simple
array of strings representing the user's current environment. It's
delcared as extern, so where exactly is that coming from? Apparantly
the linker can't find it, whatever it is. This is a problem that seems
to have only recently sprung up. For example, tiny fugue won't compile,
yet it used to compile fine...
Anyone have any ideas?
______________________________________________________
| |\
| Dave Ghandehari - mailto:iffy@uclink4.Berkeley.EDU | |
| http://www.best.com/~huzzah/ | |
|______________________________________________________| |
\______________________________________________________\|
Technical Details
Message-ID:
<312064FE.6F0CBE13@uclink4.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,6f3b15ac66f63ebd,start X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,6f3b15ac66f63ebd,start X-Google-Attributes: gid102983,public X-Google-Thread: 10a997,6f3b15ac66f63ebd,start X-Google-Attributes: gid10a997,public From: "Ghandehari, David" <iffy@uclink4.Berkeley.EDU> Subject: Compilin' Problems Date: 1996/02/13 Message-ID: <312064FE.6F0CBE13@uclink4.Berkeley.EDU> X-Deja-AN: 139168182 content-type: text/plain; charset=us-ascii organization: The University of California at Berkeley mime-version: 1.0 newsgroups: alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux.misc x-mailer: Mozilla 2.0 (X11; I; Linux 1.3.59 i586)