Aryeh Katz wrote:

Guenter Knauf wrote:

Hi Aryeh,

I'm using 2.0.2, and your makefile fails at link time with a missing
symbol jk2_channel_socket_factory.
I assume that's a 2.0.4 issue.
Other than that, the compile was file.


ok, that sounds good. If you perhaps could do a test with recent CVS that would be fine; then I would create *.mak for all *.dsp...

if you dont know already:
there's a snapshot server where you can download snapshots from current CVS every 6 hours:
http://cvs.apache.org/snapshots/jakarta-tomcat-connectors/


Thanks for the heads up, I did not know.
Build failed, same issue.
Also the Makefile had to be tinkered with before it would build.
Let me try to export from my vc6 box and see:
    a) Does my makefile (from cvs) look different
    b) Does it build.
Got it, but it's not so easy. I think the simplest "Fix" would be to mandate <installdir>.
Here's the problems
1) The path to $(InputDir) is absolute. That is NOT portable. It can and should be relative. I tried it relative, and it worked.
2) $(INTDIR)\jk_logger_win32.obj has a dependency of ..\..\common\jk_logger_win32_message.rc. If this is not on the build target line (for the object) as a dependency, jk_logger_win32_message.rc is never built, and the compile fails.
3) and this is where our makefiles really differ. The line that creates jk_logger_win32_message.res passes a /i option to the common directory. Your absolute directory did not match mine, and I think that's why the link failed.


A diff follows. Most of the differences are .dll instead of .so. The one difference that seems to matter is the RSC line (and the InputDir for the debug build).

< !MESSAGE No configuration specified. Defaulting to mod_jk2 - Win32 Release.
---
> !MESSAGE Keine Konfiguration angegeben. mod_jk2 - Win32 Release wird als Stand
ard verwendet.
8,10c8,10
< !MESSAGE Invalid configuration "$(CFG)" specified.
< !MESSAGE You can specify a configuration when running NMAKE
< !MESSAGE by defining the macro CFG on the command line. For example:
---
> !MESSAGE Ungültige Konfiguration "$(CFG)" angegeben.
> !MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
> !MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
12c12
< !MESSAGE NMAKE /f "mod_jk2.mak" CFG="mod_jk2 - Win32 Debug"
---
> !MESSAGE NMAKE /f "mod_jk2.mak" CFG="mod_jk2 - Win32 Release"
14c14
< !MESSAGE Possible choices for configuration are:
---
> !MESSAGE Für die Konfiguration stehen zur Auswahl:
16,17c16,17
< !MESSAGE "mod_jk2 - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library
")
< !MESSAGE "mod_jk2 - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
---
> !MESSAGE "mod_jk2 - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link L
ibrary")
> !MESSAGE "mod_jk2 - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Lib
rary")
19c19
< !ERROR An invalid configuration is specified.
---
> !ERROR Eine ungültige Konfiguration wurde angegeben.
36c36
< ALL : "$(OUTDIR)\mod_jk2.dll" "$(OUTDIR)\mod_jk2.bsc"
---
> ALL : "$(OUTDIR)\mod_jk2.so" "$(OUTDIR)\mod_jk2.bsc"
121d120
< [EMAIL PROTECTED] "$(OUTDIR)\mod_jk2.dll"
123a123
> [EMAIL PROTECTED] "$(OUTDIR)\mod_jk2.so"
214c214
< LINK32_FLAGS=libhttpd.lib libapr.lib libaprutil.lib pcre.lib pcreposix.lib wso
ck32.lib advapi32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\mod_jk2.pdb"
/machine:I386 /out:"$(OUTDIR)\mod_jk2.dll" /implib:"$(OUTDIR)\mod_jk2.lib" /libp
ath:"$(APACHE2_HOME)\lib"
---
> LINK32_FLAGS=libhttpd.lib libapr.lib libaprutil.lib pcre.lib pcreposix.lib wso
ck32.lib advapi32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\mod_jk2.pdb"
/machine:I386 /out:"$(OUTDIR)\mod_jk2.so" /implib:"$(OUTDIR)\mod_jk2.lib" /libpa
th:"$(APACHE2_HOME)\lib"
257c257
< "$(OUTDIR)\mod_jk2.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
---
> "$(OUTDIR)\mod_jk2.so" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
270c270
< ALL : "$(OUTDIR)\mod_jk2.dll" "$(OUTDIR)\mod_jk2.bsc"
---
> ALL : ".\Release\mod_jk2.so" "$(OUTDIR)\mod_jk2.bsc"
356d355
< [EMAIL PROTECTED] "$(OUTDIR)\mod_jk2.dll"
358d356
< [EMAIL PROTECTED] "$(OUTDIR)\mod_jk2.ilk"
360a359,360
> [EMAIL PROTECTED] ".\Release\mod_jk2.ilk"
> [EMAIL PROTECTED] ".\Release\mod_jk2.so"
451c451
< LINK32_FLAGS=libhttpd.lib libapr.lib libaprutil.lib pcre.lib pcreposix.lib wso
ck32.lib advapi32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\mod_jk2.pdb"
/debug /machine:I386 /out:"$(OUTDIR)\mod_jk2.dll" /implib:"$(OUTDIR)\mod_jk2.li
b" /pdbtype:sept /libpath:"$(APACHE2_HOME)\lib"
---
> LINK32_FLAGS=libhttpd.lib libapr.lib libaprutil.lib pcre.lib pcreposix.lib wso
ck32.lib advapi32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\mod_jk2.pdb"
/debug /machine:I386 /out:"Release/mod_jk2.so" /implib:"$(OUTDIR)\mod_jk2.lib"
/pdbtype:sept /libpath:"$(APACHE2_HOME)\lib"
494c494
< "$(OUTDIR)\mod_jk2.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
---
> ".\Release\mod_jk2.so" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
589c589
< SOURCE=..\..\common\jk_logger_win32.c
---
> SOURCE=..\..\common\jk_logger_win32.c
591c591
< "$(INTDIR)\jk_logger_win32.obj" "$(INTDIR)\jk_logger_win32.sbr" : $(SOUR
CE) "$(INTDIR)" ..\..\common\jk_logger_win32_message.rc
---
> "$(INTDIR)\jk_logger_win32.obj" "$(INTDIR)\jk_logger_win32.sbr" : $(SOUR
CE) "$(INTDIR)"
746,747c746,747
< #InputDir=\jakarta-tomcat-connectors\jk\native2\common
< InputDir=..\..\common
---
> #InputDir=\projects\msvc\jakarta-tomcat-connectors\jk\native2\common
> InputDir=\ldap2\mod_jk-2.0.2\jk\native2\common
759c759
< InputDir=\jakarta-tomcat-connectors\jk\native2\common
---
> InputDir=\projects\msvc\jakarta-tomcat-connectors\jk\native2\common
777c777
< $(RSC) /l 0x409 /fo"$(INTDIR)\jk_logger_win32_message.res" /i "\jakarta-
tomcat-connectors\jk\native2\common" /d "NDEBUG" $(SOURCE)
---
> $(RSC) /l 0x409 /fo"$(INTDIR)\jk_logger_win32_message.res" /i "\projects
\msvc\jakarta-tomcat-connectors\jk\native2\common" /d "NDEBUG" $(SOURCE)
784c784
< $(RSC) /l 0x409 /fo"$(INTDIR)\jk_logger_win32_message.res" /i "\jakarta-
tomcat-connectors\jk\native2\common" /d "_DEBUG" $(SOURCE)
---
> $(RSC) /l 0x409 /fo"$(INTDIR)\jk_logger_win32_message.res" /i "\projects
\msvc\jakarta-tomcat-connectors\jk\native2\common" /d "_DEBUG" $(SOURCE)


I'll let you know.
Aryeh


--
Aryeh Katz
SecureD Services
http://www.secured-services.com/
410 653 0700 x 2


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to