Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9242 closed enhancement (fixed)

Change FreeSWITCH sources to git

Reported by: KillaB Owned by: thepeople
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

From the FreeSWITCH wiki:

Please don't use 1.0.6 tarballs any more. Version 1.0.7 is basically done and 1.0.8 is just around the corner. These files are listed here only for posterity's sake.

Since the preferred download method is currently via git, perhaps someone could update the source download method. Something similar to the following:

PKG_SOURCE_URL:=git://git.freeswitch.org/freeswitch.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=478d51860d15b81f507b4fcce09743de2951c305

Not sure if PKG_SOURCE_VERSION is absolutely necessary, but commit revisions can be found here:

http://fisheye.freeswitch.org/changelog/freeswitch.git

Attachments (2)

test.patch (1.3 KB) - added by KillaB 7 years ago.
Testing - Not complete
closer.patch (944 bytes) - added by KillaB 7 years ago.

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by KillaB

Testing - Not complete

comment:1 Changed 7 years ago by KillaB

FreeSWITCH 1.0.6 and 1.0.7 both fail to build on Backfire due to an alsa compilation bug:
https://bugs.busybox.net/show_bug.cgi?id=3529
http://pastebin.com/ekRt2hg1

With 100-compile_fix.patch removed and the patch above applied, I'm currently erroring out with the following:

/openwrt/trunk/staging_dir/host/bin/sed -i -e 's|^\([^#]*/mod_yaml\)$|#\1|g' /openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/build/modules.conf.in
touch /openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/.configured_nnnnnnnnnyynynnnynnnynnnnnynnnnnnynnnynnyyynynnynnnnnnnnnnnnnnnnnnnnnnnnnnnnynynynnnnnnnnyynnnnynynyn
make -C /openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7 DESTDIR="/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/ipkg-install" LDFLAGS_FOR_BUILD="-L/openwrt/trunk/staging_dir/host/lib" all install
make[3]: Entering directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7'
make[3]: *** No rule to make target `all'.  Stop.
make[3]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7'
make[2]: *** [/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/.built] Error 2
make[2]: Leaving directory `/openwrt/trunk/feeds/packages/net/freeswitch'
make[1]: *** [package/feeds/packages/freeswitch/compile] Error 2
make[1]: Leaving directory `/openwrt/trunk'
make: *** [package/freeswitch/compile] Error 2

comment:2 Changed 7 years ago by florian

  • Owner changed from developers to cshore
  • Status changed from new to assigned

Changed 7 years ago by KillaB

comment:3 Changed 7 years ago by KillaB

New stumbling block.

/target-mips_r2_uClibc-0.9.32/include -I/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -DLUA_USE_LINUX -fpic -std=gnu99 -Wno-format -MT mod_hash_la-mod_hash.lo -MD -MP -MF .deps/mod_hash_la-mod_hash.Tpo -c mod_hash.c -o mod_hash_la-mod_hash.o >/dev/null 2>&1
make[8]: Entering directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/libs/esl'
/usr/bin/ld: skipping incompatible ../../libs/libedit/src/.libs/libedit.a when searching for -ledit
/usr/bin/ld: cannot find -ledit
collect2: ld returned 1 exit status
make[8]: *** [fs_cli] Error 1
make[8]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/libs/esl'
make[7]: *** [/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/libs/esl/libesl.so] Error 2
make[7]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/src/mod/applications/mod_hash'
make[6]: *** [mod_hash-all] Error 1
make[6]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/src/mod'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7'
make[2]: *** [/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/freeswitch-1.0.7/.built] Error 2
make[2]: Leaving directory `/openwrt/trunk/feeds/packages/net/freeswitch'
make[1]: *** [package/feeds/packages/freeswitch/compile] Error 2
make[1]: Leaving directory `/openwrt/trunk'
make: *** [package/freeswitch/compile] Error 2

comment:4 Changed 7 years ago by KillaB

Solved the previous compiling problem with:

$ sudo apt-get install libedit-dev

I've made it a bit further in the build process, but it takes quite awhile to compile and there have been a few changes.

More modules.conf changes that may or may not be necessary but allowed me to go a bit further:

+	hash \
-	limit \
-$(eval $(call BuildPlugin,limit,Resource limitation,mod_limit,,))
+#$(eval $(call BuildPlugin,limit,Resource limitation,mod_limit,,))

comment:5 Changed 7 years ago by cshore

  • Owner changed from cshore to thepeople

@thepeople: mazilo is the maintainer of FreeSWITCH now (I believe he's been given access already). Perhaps he should get a Trac account?

comment:6 Changed 7 years ago by cshore

  • Cc cshore removed

comment:7 Changed 7 years ago by thepeople

  • Resolution set to fixed
  • Status changed from assigned to closed

mazilo has fixed this and updated freeswitch to 1.0.7.

comment:8 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.