[Freeswitch-dev] Module written in C++

Steven Ayre steveayre at gmail.com
Wed Aug 25 23:23:06 PDT 2010


I'll just copy and paste that for the archives / my own records...

   1. BASE=../../../..
   2. LOCAL_CFLAGS=-Wall -Werror
   3. LOCAL_LDFLAGS=
   4. LOCAL_OBJS=file.o file2.o file3.o
   5.
   6. local_depend: $(LOCAL_OBJS)
   7.
   8. 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100826/d11f5e1e/attachment-0001.html 


More information about the FreeSWITCH-dev mailing list