Re: [PHP-DEV] mime_magic broken in CVS?

2002-05-21 Thread Hartmut Holzgraefe

Magnus M wrote:
 Is mime_magic broken, or am I doing something wrong ?
 

fixed in CVS i hope (ZTS issues... :( )



-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de/  +49-711-99091-77

Wir stellen für Sie aus, auf der INTERNET WORLD in Berlin.
Besuchen Sie uns vom 4. bis 6. Juni 2002 in Halle 4.2, Stand A9


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] mime_magic broken in CVS?

2002-05-06 Thread Magnus M

Is mime_magic broken, or am I doing something wrong ?

Using:
(Debian 3)
gcc 2.95.4
latest CVS

/bin/sh /mnt/data1/Apps/CVS/PHP/php4/libtool --mode=compile gcc  -Iext/mime_magic/ 
-I/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/ -DPHP_ATOM_INC 
-I/mnt/data1/Apps/CVS/PHP/php4/include -I/mnt/data1/Apps/CVS/PHP/php4/main 
-I/mnt/data1/Apps/CVS/PHP/php4 -I/usr/local/include -I/usr/local/www/httpd2/include 
-I/mnt/data1/Apps/CVS/PHP/php4/Zend -I/usr/include/libxml2 
-I/usr/include/freetype2/freetype -I/usr/include/c-client 
-I/usr/local/www/mysql4/include/mysql -I/usr/local/include -I/usr/include/pspell 
-I/usr/include/ucd-snmp  -D_REENTRANT -I/mnt/data1/Apps/CVS/PHP/php4/TSRM -g -O2 
-pthread -Wall -DZTS  -prefer-pic -c 
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c -o 
ext/mime_magic/mime_magic.lo 
gcc -Iext/mime_magic/ -I/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/ -DPHP_ATOM_INC 
-I/mnt/data1/Apps/CVS/PHP/php4/include -I/mnt/data1/Apps/CVS/PHP/php4/main 
-I/mnt/data1/Apps/CVS/PHP/php4 -I/usr/local/include -I/usr/local/www/httpd2/include 
-I/mnt/data1/Apps/CVS/PHP/php4/Zend -I/usr/include/libxml2 
-I/usr/include/freetype2/freetype -I/usr/include/c-client 
-I/usr/local/www/mysql4/include/mysql -I/usr/local/include -I/usr/include/pspell 
-I/usr/include/ucd-snmp -D_REENTRANT -I/mnt/data1/Apps/CVS/PHP/php4/TSRM -g -O2 
-pthread -Wall -DZTS -c /mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c  
-fPIC -DPIC -o ext/mime_magic/mime_magic.lo
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function 
`zm_startup_mime_magic':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:260: `mime_magic_globals' 
undeclared (first use in this function)
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:260: (Each undeclared 
identifier is reported only once
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:260: for each function it 
appears in.)
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function 
`magic_set_config':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:880: `tsrm_ls' undeclared 
(first use in this function)
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function `magic_rsl_add':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:904: `tsrm_ls' undeclared 
(first use in this function)
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function `rsl_strdup':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:978: `tsrm_ls' undeclared 
(first use in this function)
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function `zmagic':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:1734: warning: unused 
variable `i'
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:1733: warning: unused 
variable `newsize'
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:1732: warning: unused 
variable `newbuf'
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c: In function `magic_rsl_get':
/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/mime_magic.c:1875: `tsrm_ls' undeclared 
(first use in this function)
make: *** [ext/mime_magic/mime_magic.lo] Error 1


Regards
Magnus Määttä

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php