tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: environ not found
On Fri, May 20, 2011 at 12:14:41AM +0200, Thomas Klausner wrote:
> It seems Linux defines environ(7) in libc itself, while in NetBSD it's
> in crt0.o. While building libreoffice, I see
>
> Making: libosl_process.so
> ../../../unxbsdx3.pro/slo/osl_process.o: In function
> `read_parent_environment(std::vector<std::string, rtl::Allocator<std::string>
> >*)':
> osl_process.cxx:(.text+0x416): undefined reference to `environ'
> osl_process.cxx:(.text+0x4a0): undefined reference to `environ'
>
>
Shared library built with -Wl,-z,defs. On -current you can use
-Wl,--ignore-unresolved-symbol,environ. Not sure when I added that.
Joerg
Home |
Main Index |
Thread Index |
Old Index