* Build failure on Mac OS 10.2.6
@ 2003-06-26 15:10 Amos Gouaux
2003-06-26 19:04 ` Stefan Daschek
2003-06-27 1:51 ` Ben Key
0 siblings, 2 replies; 8+ messages in thread
From: Amos Gouaux @ 2003-06-26 15:10 UTC (permalink / raw)
Thought I'd try a compile from CVS this morning. 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
Sorry, I haven't debugged it further.
--
Amos
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on Mac OS 10.2.6
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 1:51 ` Ben Key
1 sibling, 1 reply; 8+ messages in thread
From: Stefan Daschek @ 2003-06-26 19:04 UTC (permalink / raw)
Amos Gouaux <amos+lists.emacs-devel@utdallas.edu> writes:
> Thought I'd try a compile from CVS this morning. 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 can confirm this problem (Mac OS X 10.3).
ciao,
noniq
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on Mac OS 10.2.6
2003-06-26 19:04 ` Stefan Daschek
@ 2003-06-27 8:59 ` Jan D.
2003-06-27 9:29 ` Jason Rumney
2003-06-27 14:12 ` Amos Gouaux
0 siblings, 2 replies; 8+ messages in thread
From: Jan D. @ 2003-06-27 8:59 UTC (permalink / raw)
Cc: emacs-devel
> Amos Gouaux <amos+lists.emacs-devel@utdallas.edu> writes:
>
>> Thought I'd try a compile from CVS this morning. 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 can confirm this problem (Mac OS X 10.3).
I regenerated configure. Can you rerun configure and try again? Works
here for Mac OS X 10.2.6. I don't know what to do for MS Windows
though,
I don't think that build uses configure.
Jan D.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on Mac OS 10.2.6
2003-06-27 8:59 ` Jan D.
@ 2003-06-27 9:29 ` Jason Rumney
2003-06-27 12:01 ` Jan D.
2003-06-27 14:12 ` Amos Gouaux
1 sibling, 1 reply; 8+ messages in thread
From: Jason Rumney @ 2003-06-27 9:29 UTC (permalink / raw)
Cc: Stefan Daschek
Jan D. wrote:
>> Amos Gouaux <amos+lists.emacs-devel@utdallas.edu> writes:
>>
>>> Thought I'd try a compile from CVS this morning. 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 can confirm this problem (Mac OS X 10.3).
>
>
> I regenerated configure. Can you rerun configure and try again? Works
> here for Mac OS X 10.2.6. I don't know what to do for MS Windows though,
> I don't think that build uses configure.
If there are new #defines that need defining, they need to be added to
src/s/ms-w32.h or nt/config.nt
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Build failure on Mac OS 10.2.6
2003-06-27 8:59 ` Jan D.
2003-06-27 9:29 ` Jason Rumney
@ 2003-06-27 14:12 ` Amos Gouaux
1 sibling, 0 replies; 8+ messages in thread
From: Amos Gouaux @ 2003-06-27 14:12 UTC (permalink / raw)
>>>>> On Fri, 27 Jun 2003 10:59:57 +0200,
>>>>> Jan D <jan.h.d@swipnet.se> (jd) writes:
jd> I regenerated configure. Can you rerun configure and try again? Works
jd> here for Mac OS X 10.2.6. I don't know what to do for MS Windows
jd> though,
jd> I don't think that build uses configure.
Works for me. Thanks.
--
Amos
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Build failure on Mac OS 10.2.6
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 1:51 ` Ben Key
1 sibling, 0 replies; 8+ messages in thread
From: Ben Key @ 2003-06-27 1:51 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-06-27 18:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.