Date: Fri, 27 Jul 2007 14:09:19 +0200 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: php4 compile errors - need some help Message-ID: <23ed14b80707270509g33b0397cm702e63f873c223f1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I need some help identifying what causes this error and how to fix it: #portupgrade php4 [snip] mv -f ext/standard/base64.o ext/standard/base64.lo /bin/sh /usr/ports/lang/php4/work/php-4.4.7/libtool --preserve-dup-deps --mode=compile cc -Iext/standard/ -I/usr/ports/lang/php4/work/php-4.4.7/ext/standard/ -DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.7/include -I/usr/ports/lang/php4/work/php-4.4.7/main -I/usr/ports/lang/php4/work/php- 4.4.7 -I/usr/ports/lang/php4/work/php-4.4.7/TSRM -I/usr/ports/lang/php4/work/php-4.4.7/Zend -pipe -g -Wall -prefer-non-pic -c /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c -o ext/standard/basic_functions.lo cc -Iext/standard/ -I/usr/ports/lang/php4/work/php-4.4.7/ext/standard/ -DPHP_ATOM_INC -I/usr/ports/lang/php4/work/php-4.4.7/include -I/usr/ports/lang/php4/work/php-4.4.7/main -I/usr/ports/lang/php4/work/php- 4.4.7 -I/usr/ports/lang/php4/work/php-4.4.7/TSRM -I/usr/ports/lang/php4/work/php-4.4.7/Zend -pipe -g -Wall -c /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c -o ext/standard/basic_functions.o /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:71: getopt.h: No such file or directory /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1479: warning: `struct option' declared inside parameter list /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1479: warning: its scope is only this definition or declaration, which is probably not what you want. /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c: In function `free_longopts': /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484: increment of pointer to unknown structure /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1484: arithmetic on pointer to an incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1485: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c: In function `zif_getopt': /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1560: sizeof applied to an incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1572: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1576: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1579: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1584: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1585: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1586: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1589: increment of pointer to unknown structure /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1589: arithmetic on pointer to an incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1607: warning: implicit declaration of function `getopt_long' /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1619: arithmetic on pointer to an incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1619: dereferencing pointer to incomplete type /usr/ports/lang/php4/work/php-4.4.7/ext/standard/basic_functions.c:1651: warning: passing arg 1 of `free_longopts' from incompatible pointer type *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.4.7. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade84922.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! lang/php4 (php4-4.4.4_1) (missing header) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed System FreeBSD 4.11 STABLE (yes, this will be the final update before the machine is taken offline in a month). Thanks, Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23ed14b80707270509g33b0397cm702e63f873c223f1>