On Fri, Oct 5, 2012 at 6:44 PM, Justin Meltzer <
jus...@airtimehq.com> wrote:
> Actually yes, node is already built. I'm just looking to recompile the
> openssl dependency inside node/deps/openssl.
>
> I tried running make inside node/deps/openssl/openssl but unfortunately it
> threw an error related to the linker (there was some undefined reference or
> something). I then noticed that each openssl sub-package (ssl, crytpo etc.)
> has its own Makefile. Since I only updated a fie inside the ssl package of
> openssl, I ran
>
> make clean all
>
> inside that directory and it seemed to finish with no errors.
>
> So the main thing I'd like to understand is which packages can I recompile
> so that node will pick up these openssl modifications? Is recompiling just
> the ssl package of the openssl package sufficient? Or do I have to recompile
> the entire openssl package? Will recompiling node as a whole also
> dynamically recompile the openssl package and pick up those changes?
Are you working with 0.6 or 0.8?
If you get a linker error with 0.8, you either had an error somewhere
in your code or you need to add the missing dependencies or defines to
deps/openssl/openssl.gyp and run configure again. In any case, you
shouldn't use any of the Makefiles in deps/openssl - node doesn't and
won't pick up your changes.
The story is different for 0.6 but you shouldn't be using that anyway. :-)