pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42538: Tru64: devel/libgetopt-1.4.4 fails to compile
>Number: 42538
>Category: pkg
>Synopsis: Tru64: devel/libgetopt-1.4.4 fails to compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 28 20:20:00 +0000 2009
>Originator: Szabolcs Rumi
>Release: Tru64 5.1B-5
>Organization:
>Environment:
# sizer -v
HP Tru64 UNIX V5.1B (Rev. 2650); Thu Dec 17 18:47:21 CET 2009
# cc -V
Compaq C V6.5-303 (dtk) on HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-302 (dtk) cc Driver
# cxx -V
Compaq C++ V7.1-006 for HP Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V7.1-006 (cxx) cxx Driver
pkgsrc-current (12/26/2009 snapshot)
>Description:
===> Building for libgetopt-1.4.4
cd /usr/pkgsrc/devel/libgetopt/work/libgetopt && libtool --mode=compile cc -O2
-ieee -I/usr/pkg/include -I/usr/pkg/include -c getopt_long.c
libtool: compile: cc -O2 -ieee
-I/usr/pkgsrc/devel/libgetopt/work/.buildlink/include -c getopt_long.c -DPIC
-o .libs/getopt_long.o
cc: Error: getopt_long.c, line 197: In this statement, "optreset" is not
declared. (undeclared)
if (optreset)
------------^
cc: Info: getopt_long.c, line 358: The type "struct option" has been declared
within and is limited to a function prototype scope. It will not be compatible
with an identical type declared in another scope. This might not be what you
intended. (protoscope)
const struct option *long_options;
--------------^
cc: Error: getopt_long.c, line 401: In this statement, "long_options" does not
point to an object type. (needptrobj)
for (i = 0; long_options[i].name; i++) {
----------------------------^
cc: Error: getopt_long.c, line 403: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (strncmp(current_argv, long_options[i].name,
--------------------------------------------------^
cc: Error: getopt_long.c, line 407: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (strlen(long_options[i].name) ==
-----------------------------------^
cc: Error: getopt_long.c, line 425: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (long_options[match].has_arg == no_argument
----------------------------^
cc: Error: getopt_long.c, line 425: In this statement, "no_argument" is not
declared. (undeclared)
if (long_options[match].has_arg == no_argument
-----------------------------------------------------------^
cc: Error: getopt_long.c, line 434: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (long_options[match].flag == NULL)
------------------------------------^
cc: Error: getopt_long.c, line 435: In this statement, "long_options" does not
point to an object type. (needptrobj)
optopt = long_options[match].val;
-------------------------------------------------^
cc: Error: getopt_long.c, line 441: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (long_options[match].has_arg == required_argument ||
----------------------------^
cc: Error: getopt_long.c, line 441: In this statement, "required_argument" is
not declared. (undeclared)
if (long_options[match].has_arg == required_argument ||
-----------------------------------------------------------^
cc: Error: getopt_long.c, line 442: In this statement, "long_options" does not
point to an object type. (needptrobj)
long_options[match].has_arg == optional_argument) {
----------------------------^
cc: Error: getopt_long.c, line 442: In this statement, "optional_argument" is
not declared. (undeclared)
long_options[match].has_arg == optional_argument) {
-----------------------------------------------------------^
cc: Error: getopt_long.c, line 445: In this statement, "long_options" does not
point to an object type. (needptrobj)
else if (long_options[match].has_arg ==
-----------------------------------------^
cc: Error: getopt_long.c, line 454: In this statement, "long_options" does not
point to an object type. (needptrobj)
if ((long_options[match].has_arg == required_argument)
-----------------------------^
cc: Error: getopt_long.c, line 466: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (long_options[match].flag == NULL)
------------------------------------^
cc: Error: getopt_long.c, line 467: In this statement, "long_options" does not
point to an object type. (needptrobj)
optopt = long_options[match].val;
-------------------------------------------------^
cc: Error: getopt_long.c, line 480: In this statement, "long_options" does not
point to an object type. (needptrobj)
if (long_options[match].flag) {
--------------------^
cc: Error: getopt_long.c, line 481: In this statement, "long_options" does not
point to an object type. (needptrobj)
*long_options[match].flag = long_options[match].val;
-------------------------^
cc: Error: getopt_long.c, line 481: In this statement, "long_options" does not
point to an object type. (needptrobj)
*long_options[match].flag = long_options[match].val;
----------------------------------------------------^
cc: Error: getopt_long.c, line 484: In this statement, "long_options" does not
point to an object type. (needptrobj)
retval = long_options[match].val;
---------------------------------^
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/libgetopt
*** Error code 1
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index