Build error from todays SVN

View: New views
2 Messages — Rating Filter:   Alert me  

Build error from todays SVN

by Joel Oliver-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I cannot get 16992 to build in ubuntu or debian using debuild -us -uc

Here's the last page before the error. Any help would be appreciated.




Continuing in src/ui/gtk...
/bin/rm -f libgtkx.a
/bin/ln gtk2/libgtk2.a libgtkx.a
: libgtkx.a
make[4]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk'
Continuing in src...
/bin/rm -f gtk-gnutella
if test -f gtk-gnutella; then \
/bin/mv gtk-gnutella gtk-gnutella~; fi
cc -o gtk-gnutella main.o if/bridge/ui2c.o if/bridge/c2ui.o
if/gnet_property.o if/gui_property.o -Lshell -lshell -Lcore -lcore -Ldht
-ldht -Lui/gtk -lgtk-common -lgtkx -lgtk-common -ldht -lcore -Llib
-lshared -Lsdbm -lsdbm -lshared -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -ldbus-1
-lgnutls -O2 -g -Wl,-Bsymbolic-functions -lz -lresolv -lm
make[4]: Entering directory `/usr/src/gtk-gnutella/src'
Making all in src/core...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/core'
Checking gnet_property.h in ../if...
cd ../if; /usr/bin/make gnet_property.h
make[6]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[6]: `gnet_property.h' is up to date.
make[6]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Continuing in src/core...
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/core'
Making all in src/shell...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/shell'
Checking gnet_property.h in ../if...
cd ../if; /usr/bin/make gnet_property.h
make[6]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[6]: `gnet_property.h' is up to date.
make[6]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Continuing in src/shell...
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/shell'
Making all in src/dht...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/dht'
Checking gnet_property.h in ../if...
cd ../if; /usr/bin/make gnet_property.h
make[6]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[6]: `gnet_property.h' is up to date.
make[6]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Continuing in src/dht...
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/dht'
Making all in src/lib...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/lib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/lib'
Making all in src/ui...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/ui'
make[6]: Entering directory `/usr/src/gtk-gnutella/src/ui'
Making all in src/ui/gtk...
make[7]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk'
Checking gnet_property.h in ../../if...
cd ../../if; /usr/bin/make gnet_property.h
make[8]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[8]: `gnet_property.h' is up to date.
make[8]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Continuing in src/ui/gtk...
Checking support-glade.h in gtk2...
cd gtk2; /usr/bin/make support-glade.h
make[8]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
make[8]: Nothing to be done for `support-glade.h'.
make[8]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
Continuing in src/ui/gtk...
Checking libgtk2.a in gtk2...
cd gtk2; /usr/bin/make libgtk2.a
make[8]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
make[8]: `libgtk2.a' is up to date.
make[8]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
Continuing in src/ui/gtk...
make[8]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk'
Making all in src/ui/gtk/gtk1...
make[9]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk1'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk1'
Making all in src/ui/gtk/gtk2...
make[9]: Entering directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
make[9]: Nothing to be done for `all'.
make[9]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk/gtk2'
make[8]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk'
make[7]: Leaving directory `/usr/src/gtk-gnutella/src/ui/gtk'
make[6]: Leaving directory `/usr/src/gtk-gnutella/src/ui'
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/ui'
Making all in src/if...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[6]: Entering directory `/usr/src/gtk-gnutella/src/if'
Making all in src/if/bridge...
make[7]: Entering directory `/usr/src/gtk-gnutella/src/if/bridge'
Checking gui_property.h in .....
cd ..; /usr/bin/make gui_property.h
make[8]: Entering directory `/usr/src/gtk-gnutella/src/if'
make[8]: `gui_property.h' is up to date.
make[8]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Continuing in src/if/bridge...
make[7]: Leaving directory `/usr/src/gtk-gnutella/src/if/bridge'
make[6]: Leaving directory `/usr/src/gtk-gnutella/src/if'
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/if'
Making all in src/sdbm...
make[5]: Entering directory `/usr/src/gtk-gnutella/src/sdbm'
/bin/rm -f dba.o
cc -c -I../.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DSDBM -DDUFF -DCURDIR=src/sdbm -O2 -g -pipe -momit-leaf-frame-pointer
-W -Wall -Wformat=2 -Wshadow -Wall -g -O2 dba.c
/bin/rm -f util.o
cc -c -I../.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DSDBM -DDUFF -DCURDIR=src/sdbm -O2 -g -pipe -momit-leaf-frame-pointer
-W -Wall -Wformat=2 -Wshadow -Wall -g -O2 util.c
util.c: In function ‘oops’:
util.c:17: warning: format not a string literal, argument types not checked
/bin/rm -f dba
if test -f dba; then \
/bin/mv dba dba~; fi
cc -o dba dba.o util.o -Lshell -lshell -Lcore -lcore -Ldht -ldht
-Lui/gtk -lgtk-common -lgtkx -lgtk-common -ldht -lcore -Llib -lshared
-Lsdbm -lsdbm -lshared -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -ldbus-1
-lgnutls -O2 -g -Wl,-Bsymbolic-functions -L. -lsdbm -L../lib -lshared
-lgobject-2.0 -lglib-2.0
/usr/bin/ld: cannot find -lshell
collect2: ld returned 1 exit status
make[5]: *** [dba] Error 1
make[5]: Leaving directory `/usr/src/gtk-gnutella/src/sdbm'
make[4]: *** [subdirs] Error 1
make[4]: Leaving directory `/usr/src/gtk-gnutella/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/gtk-gnutella/src'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/gtk-gnutella'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gtk-gnutella'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
debuild: fatal error at line 1329:
dpkg-buildpackage -rfakeroot -D -us -uc failed


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gtk-gnutella-users mailing list
gtk-gnutella-users@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users

Re: Build error from todays SVN

by Raphael Manfredi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Joel Oliver <joelol75@...> from ml.softs.gtk-gnutella.users:
:I cannot get 16992 to build in ubuntu or debian using debuild -us -uc
:Here's the last page before the error. Any help would be appreciated.
:cc -o dba dba.o util.o -Lshell -lshell -Lcore -lcore -Ldht -ldht
:-Lui/gtk -lgtk-common -lgtkx -lgtk-common -ldht -lcore -Llib -lshared
:-Lsdbm -lsdbm -lshared -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
:-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
:-lgmodule-2.0 -ldl -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -ldbus-1
:-lgnutls -O2 -g -Wl,-Bsymbolic-functions -L. -lsdbm -L../lib -lshared
:-lgobject-2.0 -lglib-2.0
:/usr/bin/ld: cannot find -lshell

Your "make" is broken.  It propagates the LDFLAGS local setting done
in src/Makefile to the sub make processes when src/sdbm/Makefile is
processed (it shouldn't).

To validate this hypothesis, can you hand-edit the src/sdbm/Makefile
file and add the following line above the line setting JLDFLAGS:

        LDFLAGS =

If that works, please report a bug to "make".

To know which make you are using do from the top level source directory:

        grep ^make= config.sh

I'm using "GNU Make 3.81" here and I have no problems.

Raphael

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gtk-gnutella-users mailing list
gtk-gnutella-users@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-users