php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #340 Memmove() problem
Submitted: 1998-05-03 18:19 UTC Modified: 1998-05-24 15:59 UTC
From: vrana at zebra dot sh dot cvut dot cz Assigned: jim (profile)
Status: Closed Package: Compile Failure
PHP Version: 3.0 Release Candidate 4 OS: SunOS 4
Private report: No CVE-ID: None
 [1998-05-03 18:19 UTC] vrana at zebra dot sh dot cvut dot cz
during make install :

collect2: ld returned 2 exit status
ld: Undefined symbol 
   _memmove 
*** Error code 1
make: Fatal error: Command failed for target `php'

list from config.log :

from config.log
configure:2460: checking for memmove
configure:2488: gcc -o conftest -g -O2   conftest.c -lm  1>&5
collect2: ld returned 2 exit status
ld: Undefined symbol
   _memmove
configure: failed program was:
#line 2465 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char memmove(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char memmove();

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-24 15:59 UTC] jim
Fixed in latest CVS (or RC5, due shortly).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC