[asterisk-users] Unable to compile asterisk-addons from trunk

Jonn R Taylor jonnt at taylortelephone.com
Tue Aug 12 15:28:23 CDT 2008


Tried from branch and had the same problem.

gcc -o cmenuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a -lncurses
gcc -g -c -D_GNU_SOURCE -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include     -c -o menuselect_gtk.o menuselect_gtk.c
menuselect_gtk.c: In function `run_menu':
menuselect_gtk.c:311: warning: implicit declaration of function `gtk_tree_view_set_enable_tree_lines'
menuselect_gtk.c:312: warning: implicit declaration of function `gtk_tree_view_set_grid_lines'
menuselect_gtk.c:312: error: `GTK_TREE_VIEW_GRID_LINES_BOTH' undeclared (first use in this function)
menuselect_gtk.c:312: error: (Each undeclared identifier is reported only once
menuselect_gtk.c:312: error: for each function it appears in.)
make[1]: *** [menuselect_gtk.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-addons-branch/menuselect'
make: *** [menuselect/menuselect] Error 2

Jonn

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonn R Taylor
Sent: Tuesday, August 12, 2008 12:55 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to compile asterisk-addons from trunk

Only on -addons, asterisk compiled fine from trunk.

Jonn

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tilghman Lesher
Sent: Tuesday, August 12, 2008 8:41 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Unable to compile asterisk-addons from trunk

On Tuesday 12 August 2008 07:28:05 Jonn R Taylor wrote:
> I was able to compile from asterisk-addons-beta4 but not from trunk. I am
> running CentOS 4.6.

If you're compiling against 1.6.0, then you should be getting the 1.6.0 branch
of -addons, not trunk.

http://svn.digium.com/svn/asterisk-addons/branches/1.6.0

In any case, if gtk is not compiling for you, you can 'make cmenuselect' to
explicitly choose the console-based menuselect.

-- 
Tilghman

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list