[Top][All Lists]

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

Re: Building on Windows

From: Eli Zaretskii
Subject: Re: Building on Windows
Date: Thu, 29 Jun 2006 01:02:14 +0300

> From: Paul Moore <address@hidden>
> Date: Wed, 28 Jun 2006 18:46:31 +0100
> gcc -o oo-spd/i386/movemail.exe  -gstabs+ -g3   oo-spd/i386/movemail.o 
> oo-spd/i86/pop.o oo-spd/i386/ntlib.o oo-spd/i386/getopt.o 
> oo-spd/i386/getopt1.o -lwsock2   -ladvapi32
> Info: resolving __sys_nerr by linking to __imp___sys_nerr (auto-import)
> Info: resolving __sys_errlist by linking to __imp___sys_errlist (auto-import)
> oo-spd/i386/movemail.o: In function `main':
> C:/Data/emacs/lib-src/movemail.c:345: undefined reference to `link'
> fu000001.o:: undefined reference to `libmsvcrt_a_iname'
> fu000003.o:: undefined reference to `libmsvcrt_a_iname'
> nmth000000.o:: undefined reference to `_nm___sys_nerr'
> nmth000002.o:: undefined reference to `_nm___sys_errlist'
> collect2: ld returned 1 exit status
> mingw32-make: *** [oo-spd/i386/movemail.exe] Error 1

I don't have these problems on Windows.  I also build with MinGW.

The error message about `link' in line 345 is strange, since that line
is not supposed to be compiled on Windows.  Please see how come the
build tried to compile it on your system.

How about showing the full transcript of the build, not just the last

Also, what are your versions of GCC and MinGW runtime, and what shell,
if any, do you have installed?

> Are there any known problems building on Windows?

No, not with MinGW.

> If not, should I expect stuff in lib-src to fail

No, it should all build cleanly.

> and is there a way of skipping it cleanly?

I wouldn't recommend skipping it, since these problems might hint on
some serious problem with your development environment.  The Emacs
binary could be faulty even if you succeed in building it.

reply via email to

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