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

Jonn R Taylor jonnt at taylortelephone.com
Tue Aug 12 07:28:05 CDT 2008


I was able to compile from asterisk-addons-beta4 but not from trunk. I am running CentOS 4.6.

Jonn

CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent"
make[1]: Entering directory `/usr/src/asterisk-addons-trunk/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall    -c -o menuselect_curses.o menuselect_curses.c
make[2]: Entering directory `/usr/src/asterisk-addons-trunk/menuselect/mxml'
if test -f config.status; then \
        ./config.status --recheck; \
        ./config.status; \
else \
        ./configure; \
fi
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for cp... /bin/cp
checking for ln... /bin/ln
checking for mkdir... /bin/mkdir
checking for nroff... /usr/bin/nroff
checking for rm... /bin/rm
checking for strdup... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
touch config.h
gcc -O -Wall -O -Wall -O -Wall     -c mxml-attr.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-entity.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-file.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-index.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-node.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-search.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-set.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-private.c
gcc -O -Wall -O -Wall -O -Wall     -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[2]: Leaving directory `/usr/src/asterisk-addons-trunk/menuselect/mxml'
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-trunk/menuselect'
make: *** [menuselect/menuselect] Error 2








More information about the asterisk-users mailing list