All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Ceph master - build broken unless --enable-debug specified
Date: Sun, 12 Apr 2015 15:42:52 +1200	[thread overview]
Message-ID: <5529E9BC.2090203@catalyst.net.nz> (raw)

Hi,

Building without --enable-debug produces:

ceph_fuse.cc: In member function ‘virtual void* main(int, const char**, 
const char**)::RemountTest::entry()’:
ceph_fuse.cc:146:15: warning: ignoring return value of ‘int system(const 
char*)’, declared with attribute warn_unused_result [-Wunused-result]
     system(buf);
                ^
   CXX      ceph_osd.o
   CXX      ceph_mds.o
make[3]: *** No rule to make target '../src/gmock/lib/libgmock_main.la', 
needed by 'unittest_librbd'.  Stop.
make[3]: *** Waiting for unfinished jobs....
   CXX      test/erasure-code/ceph_erasure_code_non_regression.o
make[3]: Leaving directory '/home/markir/develop/c/ceph/src'
Makefile:20716: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/markir/develop/c/ceph/src'
Makefile:8977: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/markir/develop/c/ceph/src'
Makefile:467: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Adding in --enable-debug gives a successful build.

This is on Ubuntu 14.10 64 bit, and the build procedure is:

$ git pull
$ git submodule update --init
$ ./autogen.sh
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               [--with-debug \ ]
               --with-nss \
               --with-radosgw \
               --with-librocksdb-static=check \

$ make [ -j4 ]


Cheers

Mark
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2015-04-12  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12  3:42 Mark Kirkwood [this message]
2015-04-17  0:27 ` Ceph master - build broken unless --enable-debug specified Gregory Farnum
2015-04-17  0:34   ` Mark Kirkwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5529E9BC.2090203@catalyst.net.nz \
    --to=mark.kirkwood@catalyst.net.nz \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.