- BASE=../../../..
-
LOCAL_CFLAGS=-Wall -Werror
- LOCAL_LDFLAGS=
- LOCAL_OBJS=file.o file2.o file3.o
- local_depend: $(LOCAL_OBJS)
- include $(BASE)/build/modmake.rules
I'll just copy and paste that for the archives / my own records...
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@visionutveckling.se> wrote:
Have you updated the Makefile to build the other files?
/Peter
________________________________________
Från: freeswitch-dev-bounces@lists.freeswitch.org [freeswitch-dev-bounces@lists.freeswitch.org] för Farhan Husain [farhan.husain@csebuet.org]
Skickat: den 26 augusti 2010 07:27
Till: FreeSWITCH Users Help; freeswitch-dev@lists.freeswitch.org
Ämne: [Freeswitch-dev] Module written in C++
!DSPAM:4c75fc8232934761421429!
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
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org