Warn about propblems with libkvm

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2008-11-18 09:41:38 +00:00
parent 01a0bad98e
commit 0682b9bcee
4 changed files with 17 additions and 0 deletions

View file

@ -539,6 +539,11 @@ static char **_gnu_noobjc_env = NULL;
if (!vectors)
{
fprintf(stderr, "Error: libkvm does not return arguments for the current process\n");
fprintf(stderr, "this may be due to a bug (undocumented feature) in libkvm\n");
fprintf(stderr, "which fails to get arguments unless /proc is mounted.\n");
fprintf(stderr, "If so, you can mount the /proc filesystem or reconfigure/build\n");
fprintf(stderr, "gnustep-base with --enable-fake-main as a workaround, and\n");
fprintf(stderr, "should report the bug to the maintainer of libkvm on your operating system.\n");
abort();
}