tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

environ not found

It seems Linux defines environ(7) in libc itself, while in NetBSD it's
in crt0.o. While building libreoffice, I see

../../../ 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'                 

The build process is a bit opaque to me. What linker (or compiler?)
flags could cause this or what needs to be added?


Home | Main Index | Thread Index | Old Index