Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 11:44:46 -0400
From:      Jeff Walters <jeff@walters.name>
To:        freebsd-ports-bugs@freebsd.org
Subject:   kdeutils-3.1.1 build problem in ksim
Message-ID:  <200304071144.46839.jeff@walters.name>

next in thread | raw e-mail | index | archive | help
I'm running on a fairly recent version of 5.0-current and am getting the 
attached error messages on building the new kdeutils-3.1.1 port.  During the 
link of the ksim disk utility it has an undefined reference to 
devstat_getdevs and devstat_selectdevs.  Has anyone had a similar problem?

I don't know if it has anything to do with it, but on my system the 
libdevstat.a library is located in /usr/lib not in /usr/local/lib, and I 
don't see a reference to /usr/lib in the link command below.

Thanks,
Jeff

/bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe 
-mcpu=pentiumpro -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE  
-DQT_NO_ASCII_CAST    -o ksim_disk.la.closure ksim_disk_la_closure.lo 
-L/usr/X11R6/lib -pthread -L/usr/local/lib  -L/usr/local/lib -module 
-avoid-version  -no-undefined ksimdisk.lo  ../../library/libksimcore.la 
-Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib
.libs/ksimdisk.o: In function 
`DiskView::updateData(QValueList<DiskView::DiskData>&)':
.libs/ksimdisk.o(.text+0x20ba): undefined reference to `devstat_getdevs'
.libs/ksimdisk.o(.text+0x2143): undefined reference to `devstat_selectdevs'
gmake[4]: *** [ksim_disk.la.closure] Error 1
gmake[4]: Leaving directory 
`/usr/ports/misc/kdeutils3/work/kdeutils-3.1.1/ksim/monitors/d
isk'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/ports/misc/kdeutils3/work/kdeutils-3.1.1/ksim/monitors'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/misc/kdeutils3/work/kdeutils-3.1.1/ksim'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/misc/kdeutils3/work/kdeutils-3.1.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/misc/kdeutils3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade11307.2 
make
** Fix the problem and try again.
--->  Skipping 'x11/kde3' (kde-3.1) because 'misc/kdeutils3' (kdeutils-3.1) 
failed
** The following packages were not installed or upgraded (*:skipped / 
!:failed)
        ! misc/kdeutils3 (kdeutils-3.1) (bad C++ code)
        * x11/kde3 (kde-3.1)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304071144.46839.jeff>