php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #497 Compile failure
Submitted: 1998-07-01 15:12 UTC Modified: 1998-08-08 18:56 UTC
From: sadowski at adelphia dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Final Release OS: SunOS Release 4.1.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sadowski at adelphia dot net
New email:
PHP Version: OS:

 

 [1998-07-01 15:12 UTC] sadowski at adelphia dot net
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  language-parser.tab.c
gcc -g -O2 -O2   -I. -I.    -w -c language-scanner.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  main.c
main.c: In function `hash_environment':
main.c:1203: warning: assignment makes pointer from integer without a cast
main.c: In function `_php3_build_argv':
main.c:1347: warning: assignment makes pointer from integer without a cast
main.c: In function `_php3_usage':
main.c:1476: warning: assignment makes pointer from integer without a cast
main.c: In function `main':
main.c:1549: warning: assignment makes pointer from integer without a cast
main.c:1620: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  hash.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  operators.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  variables.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  token_cache.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  stack.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  internal_functions.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  snprintf.c
snprintf.c: In function `conv_fp':
snprintf.c:417: warning: assignment makes pointer from integer without a cast
snprintf.c:419: warning: assignment makes pointer from integer without a cast
snprintf.c: In function `format_converter':
snprintf.c:769: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  php3_sprintf.c
php3_sprintf.c: In function `_php3_sprintf':
php3_sprintf.c:47: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  alloc.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  list.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  highlight.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  debugger.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  configuration-parser.tab.c
configuration-parser.y: In function `cfgparse':
configuration-parser.y:386: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -w -c configuration-scanner.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  request_info.c
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  safe_mode.c
safe_mode.c: In function `_php3_checkuid':
safe_mode.c:79: warning: assignment makes pointer from integer without a cast
safe_mode.c:86: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  fopen-wrappers.c
fopen-wrappers.c: In function `php3_fopen_for_parser':
fopen-wrappers.c:138: warning: initialization makes pointer from integer without a cast
fopen-wrappers.c:203: warning: assignment makes pointer from integer without a cast
fopen-wrappers.c: In function `php3_fopen_with_path':
fopen-wrappers.c:269: warning: assignment makes pointer from integer without a cast
fopen-wrappers.c:281: warning: assignment makes pointer from integer without a cast
fopen-wrappers.c: In function `expand_filepath':
fopen-wrappers.c:833: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.     -target sun4 -c  constants.c
gcc -g -O2 -O2   -I. -I.    -c functions/adabasd.c -o functions/adabasd.o
gcc -g -O2 -O2   -I. -I.    -c functions/apache.c -o functions/apache.o
gcc -g -O2 -O2   -I. -I.    -c functions/fhttpd.c -o functions/fhttpd.o
gcc -g -O2 -O2   -I. -I.    -c functions/basic_functions.c -o functions/basic_functions.o
gcc -g -O2 -O2   -I. -I.    -c functions/crypt.c -o functions/crypt.o
gcc -g -O2 -O2   -I. -I.    -c functions/datetime.c -o functions/datetime.o
gcc -g -O2 -O2   -I. -I.    -c functions/db.c -o functions/db.o
gcc -g -O2 -O2   -I. -I.    -c functions/dbase.c -o functions/dbase.o
gcc -g -O2 -O2   -I. -I.    -c functions/dir.c -o functions/dir.o
gcc -g -O2 -O2   -I. -I.    -c functions/dl.c -o functions/dl.o
gcc -g -O2 -O2   -I. -I.    -c functions/dns.c -o functions/dns.o
gcc -g -O2 -O2   -I. -I.    -c functions/exec.c -o functions/exec.o
functions/exec.c: In function `_Exec':
functions/exec.c:68: warning: assignment makes pointer from integer without a cast
functions/exec.c:74: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/file.c -o functions/file.o
functions/file.c: In function `php3_popen':
functions/file.c:328: warning: assignment makes pointer from integer without a cast
functions/file.c:330: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/filepro.c -o functions/filepro.o
gcc -g -O2 -O2   -I. -I.    -c functions/filestat.c -o functions/filestat.o
gcc -g -O2 -O2   -I. -I.    -c functions/formatted_print.c -o functions/formatted_print.o
gcc -g -O2 -O2   -I. -I.    -c functions/fsock.c -o functions/fsock.o
functions/fsock.c: In function `php3_fsockopen':
functions/fsock.c:163: warning: passing arg 1 of `_estrdup' makes pointer from integer without a cast
functions/fsock.c:186: warning: passing arg 1 of `_estrdup' makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/gd.c -o functions/gd.o
gcc -g -O2 -O2   -I. -I.    -c functions/head.c -o functions/head.o
functions/head.c: In function `php3_Header':
functions/head.c:162: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/html.c -o functions/html.o
gcc -g -O2 -O2   -I. -I.    -c functions/image.c -o functions/image.o
gcc -g -O2 -O2   -I. -I.    -c functions/link.c -o functions/link.o
gcc -g -O2 -O2   -I. -I.    -c functions/mail.c -o functions/mail.o
gcc -g -O2 -O2   -I. -I.    -c functions/math.c -o functions/math.o
gcc -g -O2 -O2   -I. -I.    -c functions/md5.c -o functions/md5.o
gcc -g -O2 -O2   -I. -I.    -c functions/microtime.c -o functions/microtime.o
gcc -g -O2 -O2   -I. -I.    -c functions/mime.c -o functions/mime.o
functions/mime.c: In function `php3_mime_split':
functions/mime.c:64: warning: assignment makes pointer from integer without a cast
functions/mime.c:87: warning: assignment makes pointer from integer without a cast
functions/mime.c:88: warning: assignment makes pointer from integer without a cast
functions/mime.c:91: warning: assignment makes pointer from integer without a cast
functions/mime.c:99: warning: assignment makes pointer from integer without a cast
functions/mime.c:106: warning: assignment makes pointer from integer without a cast
functions/mime.c:109: warning: assignment makes pointer from integer without a cast
functions/mime.c:116: warning: assignment makes pointer from integer without a cast
functions/mime.c:137: warning: assignment makes pointer from integer without a cast
functions/mime.c:144: warning: assignment makes pointer from integer without a cast
functions/mime.c:158: warning: assignment makes pointer from integer without a cast
functions/mime.c:175: warning: assignment makes pointer from integer without a cast
functions/mime.c:188: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/msql.c -o functions/msql.o
gcc -g -O2 -O2   -I. -I.    -c functions/mysql.c -o functions/mysql.o
gcc -g -O2 -O2   -I. -I.    -c functions/oracle.c -o functions/oracle.o
gcc -g -O2 -O2   -I. -I.    -c functions/pack.c -o functions/pack.o
gcc -g -O2 -O2   -I. -I.    -c functions/pageinfo.c -o functions/pageinfo.o
gcc -g -O2 -O2   -I. -I.    -c functions/pgsql.c -o functions/pgsql.o
gcc -g -O2 -O2   -I. -I.    -c functions/post.c -o functions/post.o
functions/post.c: In function `php3_getpost':
functions/post.c:77: warning: assignment makes pointer from integer without a cast
functions/post.c: In function `_php3_parse_gpc_data':
functions/post.c:167: warning: assignment makes pointer from integer without a cast
functions/post.c: In function `php3_treat_data':
functions/post.c:337: warning: assignment makes pointer from integer without a cast
functions/post.c:339: warning: assignment makes pointer from integer without a cast
functions/post.c:341: warning: assignment makes pointer from integer without a cast
functions/post.c:345: warning: assignment makes pointer from integer without a cast
functions/post.c:354: warning: assignment makes pointer from integer without a cast
functions/post.c:356: warning: assignment makes pointer from integer without a cast
functions/post.c:358: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/rand.c -o functions/rand.o
gcc -g -O2 -O2   -I. -I.    -c functions/reg.c -o functions/reg.o
gcc -g -O2 -O2   -I. -I.    -c functions/solid.c -o functions/solid.o
gcc -g -O2 -O2   -I. -I.    -c functions/soundex.c -o functions/soundex.o
gcc -g -O2 -O2   -I. -I.    -c functions/string.c -o functions/string.o
functions/string.c: In function `php3_explode':
functions/string.c:185: warning: assignment makes pointer from integer without a cast
functions/string.c:192: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_strtok':
functions/string.c:294: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_basename':
functions/string.c:391: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `_php3_dirname':
functions/string.c:414: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_strstr':
functions/string.c:451: warning: assignment makes pointer from integer without a cast
functions/string.c:454: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_strpos':
functions/string.c:477: warning: assignment makes pointer from integer without a cast
functions/string.c:480: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_strrpos':
functions/string.c:502: warning: assignment makes pointer from integer without a cast
functions/string.c:505: warning: assignment makes pointer from integer without a cast
functions/string.c: In function `php3_strrchr':
functions/string.c:528: warning: assignment makes pointer from integer without a cast
functions/string.c:532: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -c functions/syslog.c -o functions/syslog.o
gcc -g -O2 -O2   -I. -I.    -c functions/type.c -o functions/type.o
gcc -g -O2 -O2   -I. -I.    -c functions/uniqid.c -o functions/uniqid.o
gcc -g -O2 -O2   -I. -I.    -c functions/sybase.c -o functions/sybase.o
gcc -g -O2 -O2   -I. -I.    -c functions/sybase-ct.c -o functions/sybase-ct.o
gcc -g -O2 -O2   -I. -I.    -c functions/url.c -o functions/url.o
gcc -g -O2 -O2   -I. -I.    -c functions/base64.c -o functions/base64.o
gcc -g -O2 -O2   -I. -I.    -c functions/info.c -o functions/info.o
functions/info.c: In function `_php3_info':
functions/info.c:243: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -O2   -I. -I.    -w -c functions/number.c -o functions/number.o
gcc -g -O2 -O2   -I. -I.    -c functions/bcmath.c -o functions/bcmath.o
gcc -g -O2 -O2   -I. -I.    -c functions/unified_odbc.c -o functions/unified_odbc.o
gcc -g -O2 -O2   -I. -I.    -c functions/ldap.c -o functions/ldap.o
gcc -g -O2 -O2   -I. -I.    -c functions/browscap.c -o functions/browscap.o
gcc -g -O2 -O2   -I. -I.    -c functions/velocis.c -o functions/velocis.o
gcc -g -O2 -O2   -I. -I.    -c functions/gdttf.c -o functions/gdttf.o
gcc -g -O2 -O2   -I. -I.    -c functions/gdcache.c -o functions/gdcache.o
gcc -g -O2 -O2   -I. -I.    -c functions/zlib.c -o functions/zlib.o
gcc -g -O2 -O2   -I. -I.    -o php   language-parser.tab.o language-scanner.o main.o hash.o operators.o  variables.o token_cache.o stack.o internal_functions.o  snprintf.o php3_sprintf.o alloc.o list.o highlight.o debugger.o  configuration-parser.tab.o configuration-scanner.o  request_info.o safe_mode.o fopen-wrappers.o constants.o functions/adabasd.o functions/apache.o functions/fhttpd.o  functions/basic_functions.o  functions/crypt.o functions/datetime.o functions/db.o  functions/dbase.o functions/dir.o  functions/dl.o functions/dns.o functions/exec.o functions/file.o  functions/filepro.o functions/filestat.o  functions/formatted_print.o functions/fsock.o functions/gd.o  functions/head.o functions/html.o functions/image.o  functions/link.o functions/mail.o functions/math.o  functions/md5.o functions/microtime.o functions/mime.o  functions/msql.o functions/mysql.o  functions/oracle.o functions/pack.o  functions/pageinfo.o functions/pgsql.o  functions/post.o functions/rand.o functions/reg.o  functions/solid.o functions/soundex.o  functions/string.o functions/syslog.o functions/type.o  functions/uniqid.o functions/sybase.o  functions/sybase-ct.o functions/url.o functions/base64.o  functions/info.o functions/number.o functions/bcmath.o  functions/unified_odbc.o functions/ldap.o functions/browscap.o  functions/velocis.o functions/gdttf.o functions/gdcache.o  functions/zlib.o    regex/libregex.a -lresolv -lm
ld: Undefined symbol 
   _memmove 
collect2: ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `php'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-08 18:56 UTC] rasmus
Just tested this on SunOS 4.1.2 and did not get the above
error.  What gcc version are you using? "gcc -v"
No response to above question for over a month - closing.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 16:01:38 2025 UTC