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:

[EMAIL PROTECTED] 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


_______________________________________________ Help-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-gnustep

Reply via email to