5 messages in com.perforce.perforce-userSpeaking of Webkeeper| From | Sent On | Attachments |
|---|---|---|
| Jame...@lads.com | 14 Apr 1999 21:49 | |
| Raym...@orion.no | 14 Apr 1999 22:46 | |
| Jame...@lads.com | 15 Apr 1999 20:47 | |
| Raym...@orion.no | 15 Apr 1999 23:40 | |
| Jame...@lads.com | 17 Apr 1999 06:48 |
| Subject: | Speaking of Webkeeper![]() |
|---|---|
| From: | Jame...@lads.com (Jame...@lads.com) |
| Date: | 04/17/1999 06:48:34 AM |
| List: | com.perforce.perforce-user |
Raymond Wiker wrote:
<snip>
Any ideas?
Yes :-)
You need to put the line
#include "ap_compat.h"
at the beginning of mod_webkeep.c - just after
#include "httpd.h"
That should get rid of the pcalloc and make_array errors.
Ah! Much better!
I'm not sure about the clientuser.o errors, although this looks like a C++ compiler problem. What version of g++ are you using (is it the one that came with the OS, or is it a separate installation)?
egcs 1.1.1 (egcs-2.91.60)
//Raymond.
I also changed src/Makefile 'target_static' to use g++ instead of gcc to handle the link and the __throw stuff went away.
Now I'm down to only this: g++ -DLINUX=2 -DUSE_HSREGEX `./apaci` -L./perforce \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/extra/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -lclient -lrpc -lsupp -lm -lcrypt ./perforce/libclient.a(clientapi.o): In function `ClientApi::ClientApi(ClientUser *)': clientapi.o(.text+0x38): undefined reference to `__eh_pc' ./perforce/libclient.a(clientuser.o): In function `ClientUser::Prompt(StrPtr const &, StrBuf &, int, Error *)': clientuser.o(.text+0x207): undefined reference to `__eh_pc' ./perforce/libclient.a(clientuser.o): In function `ClientUser::HandleError(Error *)': clientuser.o(.text+0x2c5): undefined reference to `__eh_pc' ./perforce/libclient.a(clientuser.o): In function `ClientUser::OutputStat(StrDict *)': clientuser.o(.text+0x81d): undefined reference to `__eh_pc' ./perforce/libclient.a(clientuser.o): In function `ClientUser::ErrorPause(char *, Error *)': clientuser.o(.text+0x8c9): undefined reference to `__eh_pc' ./perforce/libclient.a(clientuser.o)(.text+0x9d5): more undefined references to `__eh_pc' follow collect2: ld returned 1 exit status make: *** [target_static] Error 1
An 'nm' against libclient.a shows __eh_pc as an undefined simple (of course) and I can't seem to find any reference to it anywhere else. Not in Apache and not in /usr/include/*
Recap: apache -> 1.3.4, p4api.tar -> 99.1
Thanks, J
========================================================================
This message has been processed by a mail-to-news gateway. The original sender (James CE Johnson ) can be reached via mailto:jcej at tragus.org
========================================================================




