Re: [PHP4BETA] make fails: undefined snprintf
| From: | Tibor Simko | Date: | Tue, 02 Nov 1999 17:47:11 +0000 |
| Subject: | Re: [PHP4BETA] make fails: undefined snprintf | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5838@lists.php.net to get a copy of this message | ||
Hi
>>>>> "SS" == Sascha Schumann <sascha@schumann.cx> writes:
SS> Has this changed recently?
Beta2 was fine, since then I have not tried CVS until now.
SS> Does Solaris' libc contain snprintf?
Grepping `nm /lib/libc.a':
[Index] Value Size Type Bind Other Shndx Name
[8] | 0| 0|NOTY |GLOB |0 |UNDEF |__snprintf
[24] | 0| 0|NOTY |GLOB |0 |UNDEF |__snprintf
[36] | 0| 0|NOTY |GLOB |0 |UNDEF |__vsnprintf
/lib/libc.a[snprintf.o]:
[6] | 0| 116|FUNC |GLOB |0 |2 |__snprintf
[1] | 0| 0|FILE |LOCL |0 |ABS |snprintf.c
/lib/libc.a[vsnprintf.o]:
[6] | 0| 104|FUNC |GLOB |0 |2 |__vsnprintf
[1] | 0| 0|FILE |LOCL |0 |ABS |vsnprintf.c
SS> What does "nm snprintf.o" print out?
[Index] Value Size Type Bind Other Shndx Name
[2] | 0| 0|SECT |LOCL |0 |4 |
[3] | 0| 0|SECT |LOCL |0 |3 |
[4] | 0| 0|SECT |LOCL |0 |2 |
[1] | 0| 0|FILE |LOCL |0 |ABS |snprintf.c
SS> How did you configure PHP?
./configure --with-mysql=/opt/local/mysql \
--with-apache=../apache_1.3.9 \
--enable-track-vars \
--enable-trans-sid \
--disable-debug
cheers,
-TS