pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40416: pkgsrc mtree fails to compile on Solaris 2.10



>Number:         40416
>Category:       pkg
>Synopsis:       pkgsrc mtree fails to compile on Solaris 2.10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 16 16:20:00 +0000 2009
>Originator:     Rob Quinn
>Release:        Solaris 2.10, pkgsrc-current
>Organization:
>Environment:
>Description:
#egrep '^CC' /usr/pkg/etc/mk.conf
CC=/usr/pkg/gcc34/bin/gcc
#gcc -v
Reading specs from /usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: /usr/obj/pkg/lang/gcc34/work/gcc-3.4.6/configure 
--enable-languages='c' 'c++' 'java' 'objc' --with-system-zlib --enable-shared 
--enable-__cxa_atexit --enable-long-long --with-local-prefix=/usr/pkg/gcc34 
--with-libiconv-prefix=/usr/pkg --prefix=/usr/pkg/gcc34
Thread model: posix
gcc version 3.4.6



#bmake
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===> Building for mtree-20081105
gcc -DHAVE_CONFIG_H -DHAVE_NBCOMPAT_H=1 
-I/usr/obj/pkg/pkgtools/mtree/work/libnbcompat -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -I/usr/include 
-I/usr/pkg/include -I. -I. -O -mv8 -pipe -I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -I/usr/include 
-I/usr/pkg/include -c compare.c
In file included from compare.c:95:
extern.h:67: error: syntax error before "u_int32_t"
extern.h:85: error: syntax error before "crc_total"
extern.h:85: warning: data definition has no type or storage class
compare.c: In function `compare':
compare.c:154: error: `u_int32_t' undeclared (first use in this function)
[...]
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index