Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2015 01:40:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196473] sbin/camcontrol error no member ccb->cgds allocated or queued, during i386 rescue only compile
Message-ID:  <bug-196473-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196473

            Bug ID: 196473
           Summary: sbin/camcontrol error no member ccb->cgds allocated or
                    queued, during i386 rescue only compile
           Product: Base System
           Version: 10.1-STABLE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au

While trying to recover an older machine.  I tried to build rescue ONLY on a
separate i386 server, received this message.

cc -O2 -pipe -pipe -O2 -g0 -ggdb0 -DSTRIP_FBSDID -DRESCUE -std=gnu99
-Qunused-arguments  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
-Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -c
/usr/src/sbin/camcontrol/camcontrol.c
/usr/src/sbin/camcontrol/camcontrol.c:4472:51: error: no member named
'allocated' in
      'struct ccb_getdevstats'
                fprintf(stdout, "allocated     %d\n", ccb->cgds.allocated);
                                                      ~~~~~~~~~ ^
/usr/src/sbin/camcontrol/camcontrol.c:4474:51: error: no member named 'queued'
in 'struct ccb_getdevstats'
                fprintf(stdout, "queued        %d\n", ccb->cgds.queued);
                                                      ~~~~~~~~~ ^
2 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sbin/camcontrol
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/rescue/rescue
*** Error code 1

Stop.
make[1]: stopped in /usr/src/rescue/rescue
*** Error code 1

Commenting out the associated lines enabled a clean compilation of camcontrol.

Though I probably should've just reverted 
https://svnweb.freebsd.org/base/head/sbin/camcontrol/camcontrol.c?r1=268240&r2=271588&sortby=date

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196473-8>