Subject: Re: pkg/37253
To: None <gnats-bugs@NetBSD.org, reed@reedmedia.net>
From: Stuart Shelton <srcshelton@gmail.com>
List: pkgsrc-bugs
Date: 11/07/2007 00:05:44
Yeah - you'd have thought ;)

I'm afraid that I tried that one, and it still didn't build:


source='cmdline_options.c' object='cmdline_options.o' libtool=no
DEPDIR=.deps depmode=sgi /bin/ksh ../depcomp  cc
-DLOCALEDIR=\"/usr/bsd/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/bsd/include   -I/usr/bsd/include   -I/usr/bsd/include
-I/usr/bsd/include  -D_REENTRANT -I../include -I../intl
-I/usr/bsd/include -D__inline__=inline -I/usr/include -I/usr/bsd/include
-I/usr/bsd/include  -O2 -w -signed -c99 -O2 -n32 -mips4 -r14000 -apo
-float_const -use_readonly_const
-TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON
-OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON
-LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -woff
1174,1183,1185,1552,3970,3968 -n32 -I/usr/bsd/include -I/usr/include -c
cmdline_options.c
cc-1020 cc: ERROR File = cmdline_options.c, Line = 87
  The identifier "optarg" is undefined.

          ogg123_opts->buffer_size = 1024 * atoi(optarg);
                                                 ^

cc-1020 cc: ERROR File = cmdline_options.c, Line = 94
  The identifier "optarg" is undefined.

        ogg123_opts->input_buffer_size = atoi(optarg) * 1024;
                                              ^

cc-1020 cc: ERROR File = cmdline_options.c, Line = 275
  The identifier "optind" is undefined.

    return optind;
           ^

3 errors detected in the compilation of "cmdline_options.c".
*** Error code 2

Stop.
bmake: stopped in
/usr/bsd/var/tmp/audio/vorbis-tools/work/vorbis-tools-1.1.1/ogg123
*** Error code 1

Stop.
bmake: stopped in
/usr/bsd/var/tmp/audio/vorbis-tools/work/vorbis-tools-1.1.1
*** Error code 1

Stop.
bmake: stopped in
/usr/bsd/var/tmp/audio/vorbis-tools/work/vorbis-tools-1.1.1
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/audio/vorbis-tools
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/audio/vorbis-tools



Jeremy C. Reed wrote:
> The following reply was made to PR pkg/37253; it has been noted by GNATS.
> 
> From: "Jeremy C. Reed" <reed@reedmedia.net>
> To: gnats-bugs@NetBSD.org
> Cc: 
> Subject: Re: pkg/37253
> Date: Tue, 6 Nov 2007 14:33:59 -0600 (CST)
> 
>  Maybe it should just include
>  
>  ../../devel/libgetopt/buildlink3.mk
>  
>  ?
>  
>