Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Programming openssl Date: Sat, 01 Aug 2015 13:18:49 -0700 Organization: None to speak of Lines: 20 Message-ID: References: <55bce017.8665140@news.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="28141"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gALxSl+uGKyJol9ExLcMh" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:yRaztT52vcs9ujzAjsK1DRyuYmQ= sha1:DYhNzIBB7CnpD8CxBPUntcIIAWo= Xref: csiph.com comp.lang.c:66648 raltbos@xs4all.nl (Richard Bos) writes: > doctor@doctor.nl2k.ab.ca (The Doctor) wrote: > >> getenv.o(.text+0x65): undefined reference to `environ' >> getenv.o(.text+0x72): undefined reference to `environ' > >> What do I need to fix this problem? > > Build this program using an implementation which defines "environ". IIRC > this is POSIX, but I may be wrong and it could be Ganuck; in any case, > your code should use , and I'm surprised that it doesn't > already. FYI, "Ganuck" is Richard's silly nickname for GNU. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"