help-gnustep
[Top][All Lists]
Advanced

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

Re: Failed to compile GNUstepWeb application......


From: David Ayers
Subject: Re: Failed to compile GNUstepWeb application......
Date: Sun, 25 Apr 2004 17:56:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

nyap hong wrote:
Hi List,
        I have successfully installed and configured
GnustepWeb. (I had solved the problem with
libPropList.) When I browse http://localhost/GSWeb/
using a web browser, the system will show me an index
of GNUstepWeb Applications in
/etc/httpd/conf/gsweb.conf. (There is no application
inside since I did not compile application yet). Then
later I tried to build the hello application found in
gsweb/Examples. I failed to compile the program, below
is the return message:

[hong@localhost hello]$ make
Making all for gswapp Hello...
 Creating Hello.gswa/....
 Compiling file Hello_main.m ...
 Compiling file Hello.m ...
 Compiling file HelloPage.m ...
 Compiling file Main.m ...
 Linking gswapp Hello ...
/opt/GNUstep/System/Library/Libraries/libGSWeb.so:
undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
make[1]: *** [Hello.gswa/./Hello] Error 1
make: *** [Hello.all.gswapp.variables] Error 2

        How to solve this problem? Thanks in advance.


Could you try adding the following entry to the
Examples/hello/Makefile.preamble:

...
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS = -lwrap
...

And check whether your

GSWeb.framework/Makefile.preamble has -lwrap in:
LIBRARIES_DEPEND_UPON += xxx

Also please send the output of

make messages=yes

please.

Cheers,
David




reply via email to

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