pkgsrc-Bugs archive

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

pkg/42510: lang/opencobol compile errors (NetBSD 4.0 / i386)



>Number:         42510
>Category:       pkg
>Synopsis:       lang/opencobol compile errors (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 23 17:45:01 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386     (pkgsrc current as of 2009-12-22)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        Building opencobol (opencobol-0.32nb2) fails with compilation errors.

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (with X11_TYPE=modular instead of the x* sets, not that that is
        relevant here).

        In that environment I see ...

if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..   
-I/usr/include -I/usr/pkg/include -fsigned-char -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wno-format-y2k  -I.. -O2 -I/usr/include 
-I/usr/pkg/include -MT libcob_la-call.lo -MD -MP -MF ".deps/libcob_la-call.Tpo" 
-c -o libcob_la-call.lo `test -f 'call.c' || echo './'`call.c;  then mv -f 
".deps/libcob_la-call.Tpo" ".deps/libcob_la-call.Plo"; else rm -f 
".deps/libcob_la-call.Tpo"; exit 1; fi
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. 
-I/pkg_comp/obj/pkgsrc/lang/opencobol/4x/.buildlink/include -fsigned-char -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wno-format-y2k -O2 -MT 
libcob_la-call.lo -MD -MP -MF .deps/libcob_la-call.Tpo -c call.c  -fPIC -DPIC 
-o .libs/libcob_la-call.o
call.c:71: error: expected specifier-qualifier-list before 'lt_ptr_t'
call.c:87: error: expected declaration specifiers or '...' before 'lt_ptr_t'
call.c: In function 'insert':
call.c:93: error: 'struct call_hash' has no member named 'func'
call.c:93: error: 'func' undeclared (first use in this function)
call.c:93: error: (Each undeclared identifier is reported only once
call.c:93: error: for each function it appears in.)
call.c:94: error: 'struct call_hash' has no member named 'handle'
call.c:95: error: 'struct call_hash' has no member named 'mtime'
call.c:96: error: 'struct call_hash' has no member named 'next'
call.c: In function 'drop':
call.c:104: error: 'struct call_hash' has no member named 'next'
call.c:108: error: 'struct call_hash' has no member named 'handle'
call.c:109: error: 'struct call_hash' has no member named 'next'
call.c: In function 'lookup':
call.c:120: error: 'struct call_hash' has no member named 'next'
call.c:124: error: 'struct call_hash' has no member named 'func'
call.c:125: error: 'struct call_hash' has no member named 'mtime'
call.c:126: error: 'struct call_hash' has no member named 'func'
call.c: In function 'cob_resolve':
call.c:170: error: 'lt_ptr_t' undeclared (first use in this function)
call.c:170: error: expected ';' before 'func'
call.c:181: error: 'func' undeclared (first use in this function)
call.c:187: warning: array subscript has type 'char'
call.c:190: warning: array subscript has type 'char'
call.c:200: error: too many arguments to function 'insert'
call.c:217: error: too many arguments to function 'insert'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/lang/opencobol/4x/open-cobol-0.32/libcob
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/lang/opencobol/4x/open-cobol-0.32
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/lang/opencobol/4x/open-cobol-0.32
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/opencobol
*** Error code 1

Stop.

>Fix:
        ??



Home | Main Index | Thread Index | Old Index