help-make
[Top][All Lists]
Advanced

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

Re: Problems compiling GNU make on Windows


From: Eli Zaretskii
Subject: Re: Problems compiling GNU make on Windows
Date: Sat, 02 Feb 2008 12:50:07 +0200

> Date: Fri, 1 Feb 2008 17:36:54 -0800 (PST)
> From: Joe Nannery <address@hidden>
> 
> I am new to the whole compiling thing.  I invoke vcvars32.bat and am using 
> the nmakefile or build_w32 file included in the directory.  everything seems 
> to be going okay, albeit a few unsafe variable/mismatch stuff in the process. 
>  At the end, however I get these few lines of error:

Questions about building the Windows port of Make are better directed
at address@hidden

> C:\GNU Make\make-3.80>echo WinRel\pathstuff.obj  1>>link.rel
> 
> C:\GNU Make\make-3.80>echo off
> "Linking WinRel/gnumake.exe"
> function.obj : error LNK2001: unresolved external symbol _hash_init
> variable.obj : error LNK2019: unresolved external symbol _hash_init 
> referenced i

The build_w32.bat file in Make 3.80 omitted the compilation and
linking of the hash.c file.  Add it to the compilation commands and to
the link command, and it will build.

Btw, v3.80 is old and has some Windows specific bugs.  I suggest to
use Make 3.81 instead (as a bonus, the problem with hash.c is gone).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]