discuss-gnustep
[Top][All Lists]
Advanced

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

Re: problems building - faiiling due to autogsdoc


From: Richard Frith-Macdonald
Subject: Re: problems building - faiiling due to autogsdoc
Date: Thu, 19 Jun 2003 23:00:32 +0100


On Thursday, June 19, 2003, at 10:52  pm, Pete French wrote:

On OS's where you can only get the environment from main, we redefine
main to gnustep_base_user_main (in GSConfig.h, which should be included

How is this detected ? Its not doing this under FreeBSD (no define in
GSConfig.h) if I just run configure.

configure uses some stuff in the config subdirectory to detect it.

If, however, I configure
the system with --disable-procfs --disable-openssl as suggested by
Chris then I do get the define.

Unfortunately, if I dot that, then when it tries to run autgsdoc I get:

/usr/libexec/ld-elf.so.1: ../Tools/obj/autogsdoc: Undefined symbol "main"

Probably because you need to recompile all the source code containing
main() functions (autogsdoc.m in this case).

BSD does have a procfs filesystem, and the environment is accessible using
**environ, so I dont think this is the right way to do this. On the
other hand the + load method isnt called. So I dont think any of the
actual configuration methods are being called in the object, which would
explain the lack of any arguments.

Ah ... most likely a buggy version of the objc runtime then. Perhaps a more
recent gcc and libobjc would help?

Certainly you need +load to be working.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]