php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #678 Make fail with cc -g and -o
Submitted: 1998-08-21 09:00 UTC Modified: 1999-03-02 07:26 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: ggnet at icon dot co dot za Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.3 OS: Unixware 2.1.2
Private report: No CVE-ID: None
 [1998-08-21 09:00 UTC] ggnet at icon dot co dot za
This is the same bug as Bug 562
-------------------------------
uw01#root@/big/nodel/php-3.0.3>make
        cc -g   -I. -I.   -I../apache_1.3.0/src/include -I../apache_1.3.0/src/os
/unix         -I/usr/openlink/odbcsdk/include            -c language-parser.tab.
c -o language-parser.tab.o
UX:cc: ERROR: -o would overwrite language-parser.tab.o
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
--------------------------------
To Fix:

Edit Makefile.in line 205 from:
.c.o:
        $(CC) $(CFLAGS) -c $< -o $@

to:
.o:.c
        $(CC) $(CFLAGS) -c $< -o $@


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-02 07:26 UTC] sas
An explicit rm -f should solve  this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 01:01:30 2024 UTC