Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

sudo make has error

make  all-am
make[1]: Entering directory `/home/martin/Downloads/LivefeedServer'
make[1]: *** No rule to make target `liblzmq.o', needed by `liblzmq.a'.  Stop.
make[1]: Leaving directory `/home/martin/Downloads/LivefeedServer'
make: *** [all] Error 2

Makefile.am

ACLOCAL_AMFLAGS = -I m4
noinst_LIBRARIES = liblzmq.a
bin_PROGRAMS = server
server_SOURCES = server.c zhelpers.h

Configure.ac

AC_INIT([package], [version])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])     # not even really needed
AC_PROG_CC                        # or AC_PROG_CXX
AC_PROG_RANLIB
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.