Problems with Ports ORBit2 and gnomenetstatus

Guillermo Garcia Rojas garciarojas at solobsd.org
Tue Apr 12 14:16:23 PDT 2005


I'm having trouble compiling devel/ORBit2, this is the error it throws:

gmake  all-am
gmake[5]: Entering directory `/usr/ports/devel/ORBit2/work/
ORBit2-2.12.2/src/services/name'
. ...
/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe -march=pentiumpro  -L/
usr/local/lib -o libORBitCosNaming-2.la -rpath /usr/local/lib -version-info 0:0:
0 -no-undefined -L/usr/local/lib -lglib-2.0 -liconv   ../../../src/orb/libORBit-
2.la CosNaming-common.lo CosNaming-stubs.lo  
cc -shared  .libs/CosNaming-common.o .libs/CosNaming-stubs.o  -Wl,--rpath -Wl,/u
sr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/orb/.libs -Wl,--rpath -Wl,/usr/loca
l/lib -L/usr/local/lib -lglib-2.0 -liconv ../../../src/orb/.libs/libORBit-2.so  
-march=pentiumpro -Wl,-soname -Wl,libORBitCosNaming-2.so.0 -o .libs/libORBitCosN
aming-2.so.0
(cd .libs && rm -f libORBitCosNaming-2.so && ln -s libORBitCosNaming-2.so.0 libO
RBitCosNaming-2.so)
(cd .libs && rm -f libORBitCosNaming-2.so && ln -s libORBitCosNaming-2.so.0 libO
RBitCosNaming-2.so)
ar cru .libs/libORBitCosNaming-2.a  CosNaming-common.o CosNaming-stubs.o
ranlib .libs/libORBitCosNaming-2.a
creating libORBitCosNaming-2.la
(cd .libs && rm -f libORBitCosNaming-2.la && ln -s ../libORBitCosNaming-2.la lib
ORBitCosNaming-2.la)
rm -f libname-server-2.a
ar cru libname-server-2.a orbit-name-server.o CosNaming-skels.o name-support.o 
ranlib libname-server-2.a
source='name-client.c' object='name-client.o' libtool=no \
depfile='.deps/name-client.Po' tmpdepfile='.deps/name-client.TPo' \
depmode=gcc /bin/sh ../../../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I../../../include -I../../../include 
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
 -DG_DISABLE_DEPRECATED -I../../../linc2/include -I../../../linc2/include -I/usr
/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -I/usr/local/includ
e  -O -pipe -march=pentiumpro -c `test -f 'name-client.c' || echo './'`name-clie
nt.c
/bin/sh /usr/local/bin/libtool15 --mode=link cc  -O -pipe -march=pentiumpro  -L/
usr/local/lib -o name-client-2  name-client.o name-support.o ../../../src/orb/li
bORBit-2.la libORBitCosNaming-2.la -lm -L/usr/local/lib -lglib-2.0 -liconv   
cc -O -pipe -march=pentiumpro -o .libs/name-client-2 name-client.o name-support.
o  -L/usr/local/lib ../../../src/orb/.libs/libORBit-2.so ./.libs/libORBitCosNami
ng-2.so /usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/orb/.libs/libORBit-2.so -
lgmodule-2.0 -lpopt -lgobject-2.0 -lgthread-2.0 -lm -lglib-2.0 -liconv -Wl,--rpa
th -Wl,/usr/local/lib
/usr/local/lib/libgthread-2.0.so: undefined reference to `pthread_create'
gmake[5]: *** [name-client-2] Error 1 gmake[5]: Leaving directory
`/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/serv ices/name' gmake[4]:
*** [all] Error 2
gmake[4]: Leaving directory
`/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/serv ices/name' gmake[3]:
*** [all-recursive] Error 1 gmake[3]: Leaving directory
`/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src/serv ices' gmake[2]: ***
[all-recursive] Error 1 gmake[2]: Leaving directory
`/usr/ports/devel/ORBit2/work/ORBit2-2.12.2/src' gmake[1]: ***
[all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/devel/ORBit2/work/ORBit2-2.12.2' gmake: *** [all] Error 2 ***
Error code 2

Stop in /usr/ports/devel/ORBit2.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade73913.0 mak
e
** Fix the problem and try again.
--->  Build of devel/ORBit2 ended at: Tue, 12 Apr 2005 16:05:59 -0500 (consumed 
00:06:52)
--->  Upgrade of devel/ORBit2 ended at: Tue, 12 Apr 2005 16:05:59 -0500 (consume
d 00:06:52)
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        ! devel/ORBit2 (ORBit2-2.12.1_1)        (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Tue, 12 Apr 2005 16:05:59 -0500 (consumed 00:07:20)

I'm having a lot of trouble on ports that use this: libgthread-2.0.so.

For net/gnomenetstatus:

gmake  all-am
gmake[3]: Entering directory `/usr/ports/net/gnomenetstatus/work/
gnome-netstatus-2.10.0/src'
source='netstatus-sysdeps.c' object='netstatus-sysdeps.o' libtool=no \
depfile='.deps/netstatus-sysdeps.Po' tmpdepfile='.deps/netstatus-sysdeps.TPo' \
depmode=gcc /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DPREFIX=\""/usr/X11R6\"" 
-DSYSCONFDIR=\""/usr/X11R6/etc\"" -DDATADIR=\""/usr/X11R6/share/gnome\""
-DLIBDIR=\""/usr/X11R6/lib\"" -DORBIT2=1 -D_THREAD_SAFE -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
-I/usr/local/include/libart-2.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0
-I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include
-I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/X11R6/lib/gtk-2.0/include
-I/usr/X11R6/include/libglade-2.0 -I/usr/X11R6/include/panel-2.0    -Wall
-Wmissing-prototypes 
-DNETSTATUS_ICONDIR=\""/usr/X11R6/share/gnome/icons/gnome-netstatus\""
-DNETSTATUS_GLADEDIR=\""/usr/X11R6/share/gnome/gnome-netstatus\""
-DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\"  -I/usr/local/include  -O
-pipe -march=pentiumpro -c `test -f 'netstatus-sysdeps.c' || echo
'./'`netstatus-sysdeps.c 
>>netstatus-sysdeps.c:44: dev/an/if_aironet_ieee.h: No such file or
directory 
>>netstatus-sysdeps.c:45: dev/wi/if_wavelan_ieee.h: No such file
or directory 
netstatus-sysdeps.c: In function `get_an_data':
netstatus-sysdeps.c:434: storage size of `areq' isn't known
netstatus-sysdeps.c:450: `AN_RID_STATUS' undeclared (first use in this
function) netstatus-sysdeps.c:450: (Each undeclared identifier is reported
only once netstatus-sysdeps.c:450: for each function it appears in.)
netstatus-sysdeps.c:452: `SIOCGAIRONET' undeclared (first use in this
function) netstatus-sysdeps.c:462: dereferencing pointer to incomplete
type netstatus-sysdeps.c:441: warning: unused variable `rssimap_valid'
netstatus-sysdeps.c:434: warning: unused variable `areq'
netstatus-sysdeps.c: In function `get_wi_data': netstatus-sysdeps.c:473:
storage size of `wreq' isn't known netstatus-sysdeps.c:479:
`WI_MAX_DATALEN' undeclared (first use in this function)
netstatus-sysdeps.c:480: `WI_RID_COMMS_QUALITY' undeclared (first use in
this funct ion)
netstatus-sysdeps.c:482: `SIOCGWAVELAN' undeclared (first use in this
function) netstatus-sysdeps.c:473: warning: unused variable `wreq'
gmake[3]: *** [netstatus-sysdeps.o] Error 1 gmake[3]: Leaving directory
`/usr/ports/net/gnomenetstatus/work/gnome-netstatus-2.1 0.0/src' gmake[2]:
*** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/net/gnomenetstatus/work/gnome-netstatus-2.1 0.0/src' gmake[1]:
*** [all-recursive] Error 1 gmake[1]: Leaving directory
`/usr/ports/net/gnomenetstatus/work/gnome-netstatus-2.1 0.0' gmake: ***
[all] Error 2
*** Error code 2

Stop in /usr/ports/net/gnomenetstatus.

I just want to know if this is a port problem, or a problem with
DragonFly. If there's a port problem, then nothing left to do.

Thanks!





More information about the Users mailing list