Misc. problems compiling ports - take2

Luis Neves lneves at netcabo.pt
Sun Dec 19 17:51:35 PST 2004


[sorry for the previous mail, I press send at the wrong time]

Hello all,
I installed a gcc34 snapshot of dragonfly last night and started playing
around installing ports.
Unfortunately I am not able to compile most of the ports I care about.
I tried changing to gcc2 in /etc/make.com but that doesn't help.
Below is the error messages I got.
I don't speak C/C++ so I'm completely clueless with regards to 
compilation problems... is there something I can try to persuade this 
ports to compile?

Thanks.

firefox:
**************************************************************
/usr/local/bin/gmake -C ../../security/coreconf 
MAKE="/usr/local/bin/gmake -j1" -j1 
MOZILLA_INCLUDES="-I/usr/dfports/www/firefox/work/mozilla/dist/include/nspr 
-I/usr/dfports/www/firefox/work/mozilla/dist/include/dbm" 
SOURCE_MD_DIR=/usr/dfports/www/firefox/work/mozilla/dist 
DIST=/usr/dfports/www/firefox/work/mozilla/dist MOZILLA_CLIENT=1 
NO_MDUPDATE=1 BUILD_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE= clean
gmake[3]: Entering directory 
`/usr/dfports/www/firefox/work/mozilla/security/coreconf'
/usr/local/bin/gmake -j1: *** No rule to make target 
. ./coreconf/rules.mk.  Stop.
gmake[3]: *** [../coreconf/rules.mk] Error 1
gmake[3]: Leaving directory 
`/usr/dfports/www/firefox/work/mozilla/security/coreconf'
gmake[2]: *** [.nss.cleaned] Error 2
gmake[2]: Leaving directory 
`/usr/dfports/www/firefox/work/mozilla/security/manager'
gmake[1]: *** [tier_40] Error 2
gmake[1]: Leaving directory `/usr/dfports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop in /usr/dfports/www/firefox.
*** Error code 1
Stop.
**************************************************************
java jdk14-p7:
**************************************************************
Compiling /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/osThread_bsd.cpp
Compiling /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static u_char* os::current_stack_base()':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:90: error: 
`pthread_attr_get_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:90: error: 
(Each undeclared identifier is reported only once for each function it 
appears in.)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static size_t os::current_stack_size()':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:119: error: 
`pthread_attr_get_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In function 
`void* _start(void*)':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:528: error: 
`pthread_attr_get_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static jint os::create_thread(Thread*, os::ThreadType, 
size_t)':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:706: error: 
`pthread_attr_setcreatesuspend_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static void os::initialize_thread()':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:833: error: 
`pthread_main_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static int os::pd_suspend_thread(Thread*, jint)':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:926: error: 
`pthread_suspend_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static int os::pd_resume_thread(Thread*)':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:939: error: 
`pthread_resume_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static void os::pd_start_thread(Thread*)':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:951: error: 
`pthread_resume_np' undeclared (first use this function)
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp: In static 
member function `static intx os::current_thread_id()':
/usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:957: error: 
`pthread_main_np' undeclared (first use this function)
gmake[3]: *** [os_bsd.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'
gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
`/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [product] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.
**************************************************************
kdelibs3:
**************************************************************
ksock.cpp: In member function `long unsigned int KSocket::ipv4_addr()':
ksock.cpp:210: warning: `peerAddress' is deprecated (declared at 
kextsock.h:983)
ksock.cpp: In static member function `static bool 
KSocket::initSockaddr(ksockaddr_in*, const char*, short unsigned int, int)':
ksock.cpp:240: warning: `lookup' is deprecated (declared at kextsock.h:966)
if /bin/sh ../libtool --silent --mode=compile --tag=CXX c++ 
-DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kdefx 
-I../kdecore/network -I../dcop -I../libltdl -I../kdefx -I../kdecore 
-I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. 
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include 
-I/usr/local/include/libart-2.0  -D_THREAD_SAFE -pthread 
-DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include 
-I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG 
-DNO_DEBUG -O2 -O -pipe -march=pentiumpro -fno-exceptions -fno-check-new 
-fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kpty.lo -MD -MP -MF 
".deps/kpty.Tpo" -c -o kpty.lo kpty.cpp; \then mv -f ".deps/kpty.Tpo" 
".deps/kpty.Plo"; else rm -f ".deps/kpty.Tpo"; exit 1; fi
kpty.cpp: In member function `bool KPty::open()':
kpty.cpp:319: error: `TCGETS' undeclared (first use this function)
kpty.cpp:319: error: (Each undeclared identifier is reported only once 
for each function it appears in.)
kpty.cpp:330: error: `TCSETS' undeclared (first use this function)
kpty.cpp: In member function `void KPty::setXonXoff(bool)':
kpty.cpp:470: error: `TCGETS' undeclared (first use this function)
kpty.cpp:477: error: `TCSETS' undeclared (first use this function)
gmake[3]: *** [kpty.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.3.2/kdecore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/kdelibs3/work/kdelibs-3.3.2/kdecore'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.3.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/kdelibs3.
**************************************************************
net-snmp:
**************************************************************
/bin/sh /usr/local/bin/libtool15 --mode=compile cc -I../../include -I. 
-I../../agent -I../../agent/mibgroup  -I../../snmplib 
-I/usr/libdata/perl/5.00503/mach/CORE   -DINET6 -O -pipe 
-march=pentiumpro -Dfreebsd4 -c -o mibII/ipv6.lo mibII/ipv6.c cc 
-I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-I/usr/libdata/perl/5.00503/mach/CORE -DINET6 -O -pipe -march=pentiumpro 
-Dfreebsd4 -c mibII/ipv6.c  -fPIC -DPIC -o mibII/.libs/ipv6.o
mibII/ipv6.c: In function `if_getname':
mibII/ipv6.c:546: warning: return discards qualifiers from pointer 
target type
mibII/ipv6.c: In function `if_getifnet':
mibII/ipv6.c:599: error: structure has no member named `if_next'
mibII/ipv6.c: In function `var_ifv6Entry':
mibII/ipv6.c:830: error: cannot convert to a pointer type
mibII/ipv6.c:851: error: structure has no member named `ifa_next'
mibII/ipv6.c: In function `var_udp6':
mibII/ipv6.c:1267: error: structure has no member named `in6p_next'
mibII/ipv6.c:1362: error: structure has no member named `in6p_next'
mibII/ipv6.c: In function `var_tcp6':
mibII/ipv6.c:1685: error: structure has no member named `in6p_next'
mibII/ipv6.c:1722: error: `inpcb' undeclared (first use in this function)
mibII/ipv6.c:1722: error: (Each undeclared identifier is reported only once
mibII/ipv6.c:1722: error: for each function it appears in.)
mibII/ipv6.c:1793: error: structure has no member named `in6p_next'
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2/agent/mibgroup.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2/agent.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
**************************************************************
boehm-gc:
**************************************************************
In file included from ./include/private/gc_priv.h:66,
                 from allchblk.c:19:
. /include/private/gcconfig.h:446: error: syntax error before '--' token
In file included from ./include/private/gc_priv.h:66,
                 from allchblk.c:19:
. /include/private/gcconfig.h:445:1: unterminated #ifndef
. /include/private/gcconfig.h:25:1: unterminated #ifndef
In file included from allchblk.c:19:
. /include/private/gc_priv.h:65:1: unterminated #ifndef
. /include/private/gc_priv.h:19:1: unterminated #ifndef
*** Error code 1
Stop in /usr/ports/devel/boehm-gc/work/gc6.3.
*** Error code 1
Stop in /usr/ports/devel/boehm-gc/work/gc6.3.
*** Error code 1
Stop in /usr/ports/devel/boehm-gc.
**************************************************************
Luis Neves





More information about the Users mailing list