[openib-general] Re: [PATCH] uverbs with static libraries

Roland Dreier roland at topspin.com
Mon Apr 18 07:42:36 PDT 2005


    Michael> You also need the patch below to enable static libraries.
    Michael> Then when you link you must pass

    Michael>  -u openib_driver_init -rdynamic

    Michael> to gcc, to pull in the driver library.  Roland, please
    Michael> let me know whether you plan to apply this and the
    Michael> previous patch.

I was waiting to see what changes you required to libmthca.  However I
don't really see the point of deleting AC_DISABLE_STATIC -- if someone
wants a static library then all that's required is passing
"--enable-static" to the configure script.  What am I missing?

I guess I will apply the patch to libibverbs to call openib_driver_init
if it's linked in directly.

 - R.



More information about the general mailing list