No rule to make target `libcorosync_common.so'

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

 



I tried to compile corosync 2.0.1 on Solaris11 and gcc-45.
gmake don't know how to make 'libcorosync_common.so':
...
"gmake[2]: *** No rule to make target `libcorosync_common.so', needed by `all-local'.  Stop."
...

I get this error with corosync 2.0.0 and 1.4.3 and with gcc-45 or sunstudio SS12U1.


Kind regards

Andreas

# wget ftp://ftp:downloads@xxxxxxxxxxxxxxxx/downloads/corosync-2.0.1/corosync-2.0.1.tar.gz 
# tar zxvf corosync-2.0.1.tar.gz
# cd corosync-2.0.1
# export LIBQB_CFLAGS=/opt/ha/include/qb
# export LIBQB_LIBS=/opt/ha/lib/
# export nss_CFLAGS=/usr/include/mps
# export nss_LIBS=/usr/lib
# ./autogen.sh
# perl -pi -e 's/gnu89-inline//g' configure
# perl -pi -e 's/unsigned-char//g' configure
# ./configure --prefix=$PREFIX
# ... end of output
corosync configuration:
  Version                  = 2.0.1
  Prefix                   = /opt/ha
  Executables              = ${exec_prefix}/sbin
  Man pages                = ${datarootdir}/man
  Doc dir                  = ${datarootdir}/doc/${PACKAGE_TARNAME}
  Libraries                = ${exec_prefix}/lib
  Header files             = ${prefix}/include
  Arch-independent files   = ${datarootdir}
  State information        = ${prefix}/var
  System configuration     = ${prefix}/etc
  System init.d directory  = ${prefix}/etc/init.d
  System systemd directory = /lib/systemd/system
  System init wraps dir    = /opt/ha/share/corosync
  corosync config dir      = ${prefix}/etc/corosync
  Features                 =

corosync build info:
  Library SONAME           = 5.0.0
  CFG Library SONAME       = 6.0.0
  CPG Library SONAME       = 4.1.0
  QUORUM Library SONAME    = 5.0.0
  SAM Library SONAME       = 4.4.0
  VOTEQUORUM Library SONAME  = 5.0.0
  CMAP Library SONAME      = 4.1.0
  Default optimization     = -O3
  Default debug options    =
  Extra compiler warnings  =
  Env. defined CFLAG       = -g -O2
  Env. defined CPPFLAGS    =
  Env. defined LDFLAGS     =
  OS   defined CFLAGS      =
  OS   defined CPPFLAGS    = -D_REENTRANT
  OS   defined LDFLAGS     =
  OS   defined LDL         = -ldl
  OS   defined DYFLAGS     = -Wl,-z,lazyload
  ANSI defined CPPFLAGS    =
  Coverage     CFLAGS      =
  Coverage     LDFLAGS     =
  Fatal War.   CFLAGS      =
  Final        CFLAGS      = -g -O2 -O3 -ggdb3            -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing
  Final        CPPFLAGS    =   -D_REENTRANT
  Final        LDFLAGS     =

# gmake  
gmake  all-recursive
gmake[1]: Entering directory `/export/builds/corosync-2.0.1'
Making all in include
gmake[2]: Entering directory `/export/builds/corosync-2.0.1/include'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/export/builds/corosync-2.0.1/include'
Making all in common_lib
gmake[2]: Entering directory `/export/builds/corosync-2.0.1/common_lib'
  CC       error_conversion.o
  AR       libcorosync_common.a
gmake[2]: *** No rule to make target `libcorosync_common.so', needed by `all-local'.  Stop.
gmake[2]: Leaving directory `/export/builds/corosync-2.0.1/common_lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/builds/corosync-2.0.1'
gmake: *** [all] Error 2

_______________________________________________
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