[Freeswitch-dev] Module written in C++

Farhan Husain farhan.husain at csebuet.org
Thu Aug 26 23:26:50 PDT 2010


That place was not appropriate for the text so I moved it here:
http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Working_with_multiple_source_files

On Fri, Aug 27, 2010 at 12:43 AM, Farhan Husain
<farhan.husain at csebuet.org>wrote:

> I added it in the wiki here:
> http://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Customizing_Include.2FLibrary_Flags
>
>
> On Thu, Aug 26, 2010 at 6:19 PM, jay binks <jaybinks at gmail.com> wrote:
>
>> no... dont keep it for YOUR archives..
>>
>> put it on the wiki..
>> ( and post the url here please )
>>
>> J
>>
>>
>> On Thu, Aug 26, 2010 at 4:23 PM, Steven Ayre <steveayre at gmail.com> wrote:
>> > I'll just copy and paste that for the archives / my own records...
>> >
>> > BASE=../../../..
>> > LOCAL_CFLAGS=-Wall -Werror
>> > LOCAL_LDFLAGS=
>> > LOCAL_OBJS=file.o file2.o file3.o
>> >
>> > local_depend: $(LOCAL_OBJS)
>> >
>> > include $(BASE)/build/modmake.rules
>> >
>> > -Steve
>> >
>> > On 26 August 2010 06:58, Farhan Husain <farhan.husain at csebuet.org>
>> wrote:
>> >>
>> >> I just got the solution from Math at the IRC channel. Here is the link
>> to
>> >> the solution he gave me: http://pastebin.freeswitch.org/13727
>> >>
>> >> On Thu, Aug 26, 2010 at 12:36 AM, Peter Olsson
>> >> <peter.olsson at visionutveckling.se> wrote:
>> >>>
>> >>> Have you updated the Makefile to build the other files?
>> >>>
>> >>> /Peter
>> >>> ________________________________________
>> >>> Från: freeswitch-dev-bounces at lists.freeswitch.org
>> >>> [freeswitch-dev-bounces at lists.freeswitch.org] f&#246;r Farhan Husain
>> >>> [farhan.husain at csebuet.org]
>> >>> Skickat: den 26 augusti 2010 07:27
>> >>> Till: FreeSWITCH Users Help; freeswitch-dev at lists.freeswitch.org
>> >>> Ämne: [Freeswitch-dev] Module written in C++
>> >>>
>> >>> I am trying to write a module having multiple C++ source files. When I
>> >>> run make, I find that only the C++ file having the name same as the
>> module
>> >>> name is being compiled and all others do not produce any object file.
>> As a
>> >>> result when I run FS I get linker error. Can anyone tell me how to get
>> them
>> >>> compiled too?
>> >>>
>> >>> Thanks,
>> >>> Farhan
>> >>> !DSPAM:4c75fc8232934761421429!
>> >>>
>> >>> _______________________________________________
>> >>> FreeSWITCH-dev mailing list
>> >>> FreeSWITCH-dev at lists.freeswitch.org
>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >>> UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >>> http://www.freeswitch.org
>> >>
>> >>
>> >> _______________________________________________
>> >> FreeSWITCH-dev mailing list
>> >> FreeSWITCH-dev at lists.freeswitch.org
>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> >> http://www.freeswitch.org
>> >>
>> >
>> >
>> > _______________________________________________
>> > FreeSWITCH-dev mailing list
>> > FreeSWITCH-dev at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> > http://www.freeswitch.org
>> >
>> >
>>
>>
>>
>> --
>> Sincerely
>>
>> Jay
>>
>> _______________________________________________
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100827/193398fd/attachment.html 


More information about the FreeSWITCH-dev mailing list