[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Build failure on Mac OS 10.2.6
From: |
Ben Key |
Subject: |
RE: Build failure on Mac OS 10.2.6 |
Date: |
Thu, 26 Jun 2003 21:51:16 -0400 |
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.
RE: Build failure on Mac OS 10.2.6,
Ben Key <=