Btw,
Is there any reason to .o and .so be missing on bitbucket repository (i.e.
https://bitbucket.org/naviserver/nsldap/src/default/
<https://bitbucket.org/naviserver/nsldap/src/default/> ) ?
If not, do upload them there, please!
Best wishes,
I
> On May 13, 2018, at 13:30, Iuri Sampaio <i...@iurix.com> wrote:
>
> Gustaf,
>
> You clearly got me wrong.
>
> My question was based on the fact that .o and .so aren’t available on
> bitbucket repos. As I previously pointed out.
> https://bitbucket.org/naviserver/nsldap/src/default/
> <https://bitbucket.org/naviserver/nsldap/src/default/>
>
>
> Thus, in case I find these sort of scenarios (without source forge
> repository), I was wondering a way out to compile nsldap.c, generating .o and
> .so myself.
>
> My apologies for asking. I’ll try to quiet myself.
>
> Best wishes,
> I
>
>
>> On May 13, 2018, at 06:29, Gustaf Neumann <neum...@wu.ac.at
>> <mailto:neum...@wu.ac.at>> wrote:
>>
>> On 12.05.18 18:14, Iuri Sampaio wrote:
>>> how would I generate .o and .so from .c?
>>>
>>> May I use gcc? What are the necessary parameters ? (if needed)
>>>
>>> i.e. gcc -g -O -c hello.c -fPIC -DPIC -o .libs/hello.o
>>>
>> Are you writing your first C program? Please get a C book or find
>> appropriate online materials. With C it is quite easy shooting yourself
>> in the foot.
>> The parameters depend on many things, the C compiler, the program,
>> the libraries, the operating system, the level of optimization
>> or debugging, kind of linking, etc. In the context of NaviServer,
>> use the provided Makefiles unlessyou know what you do.
>>
>> Check out stackoverflow etc. for such kind of question and
>> please send only questions concerning naviserver to this list.
>>
>> -gn
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>!
>> http://sdm.link/slashdot_______________________________________________
>> <http://sdm.link/slashdot_______________________________________________>
>> naviserver-devel mailing list
>> naviserver-devel@lists.sourceforge.net
>> <mailto:naviserver-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel