Re: Trying to compile corosync on Ubuntu 12.10 - Not a bug.

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

 



I have managed to produce a new Ubuntu package for 12.10 of libqb 0.14.4.4
and it is available in a Ubuntu PPA here: 


I am now looking at the Ubuntu packaging for corosync, and notice that the 
libraries and header files have changed significantly between 1.4 (flatiron) and 3.5 (needle)

My starting point was the packaging for flatiron, which separates the various library components into separate packages. Is there any documentation  / description of what the libraries are?

(There is a lot of material in the Wiki that is marked Archive, and refers to OpenAIS.)




On Mon, Feb 11, 2013 at 10:56 PM, Paul Schulz <paul@xxxxxxxxxxxxxxx> wrote:
Greetings,

I am trying to compile the latest git revision of corosync on Ubuntu 12.10
with the following message. Thoughts? I'm wondering whether something has been removed from libqb.

Update: See below.. the missing enum was added sometime after 0.11.1. So it looks like I need the new libqb.

Cheers, (comments welcome)
Paul


Last commit..

commit 66172a501a7262a26f6d25aea46c542ca600c7dc
Date:   Thu Jan 31 14:56:18 2013 +0100

main.c: In function ‘corosync_blackbox_write_to_file’:
main.c:212:9: warning: ignoring return value of ‘symlink’, declared with attribute warn_unused_result [-Wunused-result]
  CC     corosync-apidef.o
  CC     corosync-quorum.o
  CC     corosync-icmap.o
  CC     corosync-timer.o
  CC     corosync-ipc_glue.o
ipc_glue.c: In function ‘cs_get_ipc_type’:
ipc_glue.c:808:25: error: ‘QB_IPC_NATIVE’ undeclared (first use in this function)
ipc_glue.c:808:25: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [corosync-ipc_glue.o] Error 1
make[2]: Leaving directory `/home/paul/git/corosync/exec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/git/corosync'
make: *** [all] Error 2
=========
I am using the following libqb0, libqb-dev

Source: libqb
Version: 0.11.1-2
Depends: libc6 (>= 2.14)

I cannot find QB_IPC_NATIVE in /usr/include/qb/*.h

Looks like it was added after 0.11.1

==========

3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 809) 
3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 810)      if (icmap_get_string("qb.ipc_type", &str) != CS_OK) {
3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 811)              log_printf(LOGSYS_LEVEL_DEBUG, "No configured qb.ipc_type. Using native ipc");
3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 812)              return QB_IPC_NATIVE;
3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 813)      }
3cd4f9a1 (Jan Friesse       2012-11-08 11:05:10 +0100 814) 


_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss

[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux