unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ben Key" <bkey1@tampabay.rr.com>
Subject: RE: Build failure on Mac OS 10.2.6
Date: Thu, 26 Jun 2003 21:51:16 -0400	[thread overview]
Message-ID: <000401c33c4e$99180630$6401a8c0@goddess> (raw)
In-Reply-To: <m2y8zovpre.fsf@gilgamesh.local>

Amos Gouaux wrote:
> I run into the following problem in src/strftime.c:
> gcc -c -fpascal-strings -fno-common -DMAC_OSX -I../mac/src   -Demacs
-DHAVE_CONFIG_H   -I. -I/Users/amos/proj/emacs/emacs-20030625/src
-fpascal-strings > -fno-common -DMAC_OSX -I../mac/src -Dtemacs -g -O2
strftime.c
> strftime.c: In function `emacs_strftimeu':
> strftime.c:1491: too many arguments to function `strftime'
> make[1]: *** [strftime.o] Error 1
> make: *** [bootstrap] Error 2

I am seeing a similar problem when building under Windows with MSVC 6.
Here are the relevant parts of the build log:

.
.
.
strftime.c
strftime.c(1036) : warning C4146: unary minus operator applied to
unsigned type, result still unsigned
strftime.c(1491) : warning C4020: 'strftime' : too many actual
parameters
.
.
.
libc.lib(strftime.obj) : error LNK2005: _strftime already defined in
temacs1.lib(strftime.obj)
obj/i386/temacs.bin : fatal error LNK1169: one or more multiply defined
symbols found
NMAKE : fatal error U1077: 'link' : return code '0x491'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.

I spent some time trying to resolve the problem but I could not find it
as of yet.  Maybe I will try again latter when I am not so tired.

      parent reply	other threads:[~2003-06-27  1:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26 15:10 Build failure on Mac OS 10.2.6 Amos Gouaux
2003-06-26 19:04 ` Stefan Daschek
2003-06-27  8:59   ` Jan D.
2003-06-27  9:29     ` Jason Rumney
2003-06-27 12:01       ` Jan D.
2003-06-27 18:21         ` Eli Zaretskii
2003-06-27 14:12     ` Amos Gouaux
2003-06-27  1:51 ` Ben Key [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000401c33c4e$99180630$6401a8c0@goddess' \
    --to=bkey1@tampabay.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).