Bitcoin Forum
May 26, 2024, 10:52:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: makefile.am:16: *** missing separator. Stop.  (Read 202 times)
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 12:54:48 PM
 #1

hello guys,

in this topic https://bitcointalk.org/index.php?topic=149479.0 I am trying to follow all steps included. but I am stuck in step 2.6
it says the commands are:

cd /c/deps/libpng-1.6.16
configure --disable-shared
make
cp .libs/libpng16.a .libs/libpng.a

when I write make in Minsys shell it tells me:
"make: *** No targets specified and no makefile found.  Stop."

and when I put this command:
make -f makefile.in USE_UPNP=0
of
make -f makefile.am USE_UPNP=0

it says:
"makefile.in:15: *** missing separator.  Stop."

or

"makefile.am:16: *** missing separator.  Stop."


I tried many things but am still stuck. can anyone remove this frustration from my life.

starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
April 06, 2018, 01:05:52 PM
 #2

hello guys,

in this topic https://bitcointalk.org/index.php?topic=149479.0 I am trying to follow all steps included. but I am stuck in step 2.6
it says the commands are:

cd /c/deps/libpng-1.6.16
configure --disable-shared
make
cp .libs/libpng16.a .libs/libpng.a

when I write make in Minsys shell it tells me:
"make: *** No targets specified and no makefile found.  Stop."

Do you have a "Makefile" (without .in or .am extension) file generated after "configure --disable-shared" ?

It seems you don't have it. Could you paste the last output lines of "configure --disable-shared" ?
Or push the config.log contents to somewhere like pastebin so someone can take a look ?



Quote
and when I put this command:
make -f makefile.in USE_UPNP=0
of
make -f makefile.am USE_UPNP=0

You can't use makefile.in or makefile.am to build, as they are files which will be used to build the Makefile, not the Makefile by theirself. They are not compatible with "make.

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 01:26:55 PM
 #3

thanks for the reply, ok, here is the configure output:


$ configure --disable-shared
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... no, using cp -pR
checking whether make sets $(MAKE)... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm -B
checking the name lister (/mingw/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 8192
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for as... as
checking for dlltool... (cached) dlltool
checking for objdump... (cached) objdump
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking that AWK works... ok
checking if we need to force back C standard to C89... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for C/C++ restrict keyword... __restrict
checking for working strtod... yes
checking for memset... yes
checking for pow... yes
checking for clock_gettime... no
configure: WARNING: not building timepng
checking for zlibVersion in -lz... no
checking for z_zlibVersion in -lz... no
configure: error: zlib not installed
starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
April 06, 2018, 01:34:06 PM
 #4

thanks for the reply, ok, here is the configure output:

checking for zlibVersion in -lz... no
checking for z_zlibVersion in -lz... no
configure: error: zlib not installed

This is the problem: the configure program can't detect the zlib (compression library) or its headers. As it can't find it, it will fail to generate Makefile and you won't be able to build it.

Is zlib installed in your environment ? You should check in the mingw packager if you can install it (I'm not an expert of mingw32 ecosystem though, but it seems at some point you can, according to this stackoverflow post, and one of its answers)

Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 01:41:48 PM
 #5

Oh my God, I am installing them now and then I will configure again
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 02:00:13 PM
 #6

ummm problem persists, let me give the log file, where can I find it.
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 02:13:50 PM
 #7

make command finally initiated, the problem was as you mentioned is the missing zlib, also I needed to restart the system.

Thanks a a lot, may peace be upon you
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 02:20:14 PM
 #8

oh God, I feel embaressed...
this command "cp .libs/libpng16.a .libs/libpng.a" is not working it says:
cp: cannot stat `.libs/libpng16.a': No such file or directory
please help
bastasie (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
April 06, 2018, 03:05:16 PM
 #9

the make command gives the following error:

In file included from png.c:14:0:
pngpriv.h:820:21: error: operator '!=' has no left operand
 #if PNG_ZLIB_VERNUM !=  0 &&  PNG_ZLIB_VERNUM != ZLIB_VERNUM
                     ^~
make[1]: *** [png.lo] Error 1
make[1]: Leaving directory `/c/deps/libpng-1.6.16'
make: *** [all] Error 2


Anyone??
Big.brother
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 03, 2018, 02:26:23 PM
 #10

the make command gives the following error:

In file included from png.c:14:0:
pngpriv.h:820:21: error: operator '!=' has no left operand
 #if PNG_ZLIB_VERNUM !=  0 &&  PNG_ZLIB_VERNUM != ZLIB_VERNUM
                     ^~
make[1]: *** [png.lo] Error 1
make[1]: Leaving directory `/c/deps/libpng-1.6.16'
make: *** [all] Error 2


Anyone??

I have the same problem. Did Anyone fix this problem?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!