Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error during building SeaMonkey (C compiler cannot create executables)

30 views
Skip to first unread message

tmg

unread,
Feb 6, 2013, 12:10:47 PM2/6/13
to
Hello everyone

So I've decided to build SeaMonkey from the source code but this error (C compiler cannot create executables) occurred and because I'm rather new to this stuff I don't know what to do.

I have Windows Vista, MSVC++ 2010, Windows SDK 8.0 and I was following these instructions:

1. Open a shell window by running: c:\mozilla-build\start-msvc10.bat
2. Create a directory without spaces in its path (e.g. mkdir /c/mozilla-src) and switch to it before building (cd /c/mozilla-src)
3. hg clone http://hg.mozilla.org/comm-central/
4. cd comm-central
5. python client.py checkout
6. echo 'ac_add_options --enable-application=suite' > .mozconfig
7. echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-sm-release' >> .mozconfig
8. make -f client.mk

Before I got an error about missing SDK files but after some updates it's gone but now I get an error: C compiler cannot create executables which wasn't there before.

Can anyone help me? But please keep it simple - I'm not a pro. :)

tmg

unread,
Feb 7, 2013, 6:53:39 PM2/7/13
to
This is the log file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:859: checking host system type
configure:880: checking target system type
configure:898: checking build system type
configure:978: checking for mawk
configure:978: checking for gawk
configure:1049: checking for python2.7
configure:1304: checking for perl5
configure:1304: checking for perl
configure:2269: checking for gcc
configure:2382: checking whether the C compiler (cl ) works
configure:2398: cl -o conftest conftest.c 1>&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.40219.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
conftest.c
Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.

/out:conftest.exe
/out:conftest.exe
conftest.obj
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
configure: failed program was:

#line 2393 "configure"
#include "confdefs.h"

main(){return(0);}

tmg

unread,
Feb 9, 2013, 2:46:12 PM2/9/13
to
Ok. Problem solved.
0 new messages