Author |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 04 Oct '16 2:59 Post subject: |
|
|
Jan,
As to your comment about __dllspec.
That's typically done via XXX_DECLARE that you will see at the beginning of functions on many module. Off the top of my head we have them for AP, APR, DAV, LDAP, PROXY, SSL and I know there are more. For the latter it's in mod_ssl.h and there's always 'extern'.
Now how all this works I partailly understand but when is it needed and by what is still voodoo to me and how Stefan is getting away without it is beyond my understanding, I'm not afraid to admit it. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '16 10:15 Post subject: |
|
|
Same error here. |
|
Back to top |
|
icing
Joined: 22 Sep 2015 Posts: 41 Location: Münster, Germany
|
Posted: Tue 04 Oct '16 11:21 Post subject: |
|
|
Please check if v1.7.1 fixes the issue: https://github.com/icing/mod_h2/releases/tag/v1.7.1
As to getting away with things:
My understanding is, the whole *_DECLARE shenanegans are needed to platforms like Windows that do not have a flat linker namespace. DECLARE manages the symbols that need to be visible outside a DLL.
On *NIX platforms, there is only a flat namespace, so this does not really make a difference and no extra thingies are required.
mod_h2, seems to me, can live without DECLARE since its function are module (or DLL) intern only. Except for the OPTIONAL functions that are DECLAREd in order to be used by mod_proxy_http2, for example. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '16 12:19 Post subject: |
|
|
Build with mod-http2.mak and mod-http2.dep files. Had to remove the response entries in this files.
Was not able to build build with dsp/vcxproj (removed first the response file entries), got link errors. :
Last edited by Steffen on Tue 04 Oct '16 12:39; edited 1 time in total |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Tue 04 Oct '16 12:28 Post subject: |
|
|
Steffen wrote: | Build with mod-http2.mak and mod-http2.dep files. Had to remove the response entries in this files. |
You'll have to add h2_headers in stead of h2_response |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '16 12:34 Post subject: |
|
|
yep, building now with GUI. Thanks, I overlooked h2_headers. |
|
Back to top |
|
icing
Joined: 22 Sep 2015 Posts: 41 Location: Münster, Germany
|
Posted: Tue 04 Oct '16 13:22 Post subject: |
|
|
So, with 1.7.1 we are again clear on all Windows build methods? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 04 Oct '16 17:37 Post subject: |
|
|
Yep
Note: the dsp/dep/mak files in trunk/branches still needs to be changed. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
Posted: Tue 04 Oct '16 21:07 Post subject: |
|
|
The dsp-file was changed a bit. That was how I found out about h2_headers. Nevertheless I ran into 192 unresolved externals with regenerated project files. Might try it another time to see if the first conversion went wrong somehow.
Anyway running with v1.7.1 now on my dev server with VC9 x86 and VC11 x64. |
|
Back to top |
|