Re: Re: mod_mp3-2 and Apache 2.0.48

Brian Aker <[email protected]> Wed, 28 Jan 2004 13:30:33 -0800
Newsgroups gmane.comp.apache.mod-mp3
Organization TangentOrg
Message-ID <1075325433.12653.3260.camel@avenger>
Well I fixed that bug (solution committed). I think there still me an
issue with the install though...
   -Brian

On Wed, 2004-01-28 at 13:22, Devon Jones wrote:
> Brian Aker wrote:
> 
> > Down load the libID3 library (when I build binaries I have it checked 
> > out in a subdirectory).  You will find it a download.tangent.org.
> >
> >    -Brian
> >
> It still blows up:
> using a configure of: ./configure --apache2 --with-mysql 
> --with-apxs=/usr/sbin/apxs2
> 
> ok, after removing the line #include <id3.h> from mod_mp3.h (it errored 
> saying the file does not exist), the compile blows up on load.c:
> 
> make[1]: Entering directory `/root/mod_mp3/libID3'
> make[1]: Nothing to be done for `lib'.
> make[1]: Leaving directory `/root/mod_mp3/libID3'
> `/usr/sbin/apxs2 -q CC` -IlibID3 -I/usr/include/mysql -mcpu=i686 
> -fomit-frame-pointer -funroll-loops -pipe -DHAVE_ERRNO_AS_DEFINE=1 
> -DUSE_OLD_FUNCTIONS  -I`/usr/sbin/apxs2 -q INCLUDEDIR` `/usr/sbin/apxs2 
> -q CFLAGS` -DMYSQL_ENABLED  -DAPACHE2  -DCONTENT_DISPOSITION  
> -DSELECT_ENABLED   -c src/mod_mp3.c -DMYSQL_ENABLED  -DAPACHE2  
> -DCONTENT_DISPOSITION  -DSELECT_ENABLED   -o src/mod_mp3.o
> src/mod_mp3.c: In function `stream_content':
> src/mod_mp3.c:158: warning: passing arg 3 of `connection_set_file' 
> discards qualifiers from pointer target type
> src/mod_mp3.c:158: warning: passing arg 4 of `connection_set_file' 
> discards qualifiers from pointer target type
> src/mod_mp3.c: In function `mp3_selection_handler':
> src/mod_mp3.c:226: warning: assignment makes pointer from integer 
> without a cast
> src/mod_mp3.c: In function `print_channel':
> src/mod_mp3.c:280: warning: assignment makes pointer from integer 
> without a cast
> src/mod_mp3.c: In function `print_channel_rdf':
> src/mod_mp3.c:303: warning: assignment makes pointer from integer 
> without a cast
> src/mod_mp3.c: In function `print_channel_mbm':
> src/mod_mp3.c:332: warning: assignment makes pointer from integer 
> without a cast
> src/mod_mp3.c: In function `table_find':
> src/mod_mp3.c:582: warning: assignment discards qualifiers from pointer 
> target type
> src/mod_mp3.c: In function `create_request':
> src/mod_mp3.c:618: warning: passing arg 2 of `ap_md5' makes pointer from 
> integer without a cast
> `/usr/sbin/apxs2 -q CC` -IlibID3 -I/usr/include/mysql -mcpu=i686 
> -fomit-frame-pointer -funroll-loops -pipe -DHAVE_ERRNO_AS_DEFINE=1 
> -DUSE_OLD_FUNCTIONS  -I`/usr/sbin/apxs2 -q INCLUDEDIR` `/usr/sbin/apxs2 
> -q CFLAGS` -DMYSQL_ENABLED  -DAPACHE2  -DCONTENT_DISPOSITION  
> -DSELECT_ENABLED   -c src/directives.c -DMYSQL_ENABLED  -DAPACHE2  
> -DCONTENT_DISPOSITION  -DSELECT_ENABLED   -o src/directives.o
> src/directives.c: In function `add_mp3_accept':
> src/directives.c:16: warning: assignment makes pointer from integer 
> without a cast
> src/directives.c: In function `add_mp3_deny':
> src/directives.c:27: warning: assignment makes pointer from integer 
> without a cast
> src/directives.c: In function `add_default_op':
> src/directives.c:59: warning: assignment makes pointer from integer 
> without a cast
> src/directives.c: In function `add_log':
> src/directives.c:72: warning: assignment makes pointer from integer 
> without a cast
> src/directives.c: In function `add_mp3_playlist':
> src/directives.c:130: warning: assignment makes pointer from integer 
> without a cast
> `/usr/sbin/apxs2 -q CC` -IlibID3 -I/usr/include/mysql -mcpu=i686 
> -fomit-frame-pointer -funroll-loops -pipe -DHAVE_ERRNO_AS_DEFINE=1 
> -DUSE_OLD_FUNCTIONS  -I`/usr/sbin/apxs2 -q INCLUDEDIR` `/usr/sbin/apxs2 
> -q CFLAGS` -DMYSQL_ENABLED  -DAPACHE2  -DCONTENT_DISPOSITION  
> -DSELECT_ENABLED   -c src/ice.c -DMYSQL_ENABLED  -DAPACHE2  
> -DCONTENT_DISPOSITION  -DSELECT_ENABLED   -o src/ice.o
> `/usr/sbin/apxs2 -q CC` -IlibID3 -I/usr/include/mysql -mcpu=i686 
> -fomit-frame-pointer -funroll-loops -pipe -DHAVE_ERRNO_AS_DEFINE=1 
> -DUSE_OLD_FUNCTIONS  -I`/usr/sbin/apxs2 -q INCLUDEDIR` `/usr/sbin/apxs2 
> -q CFLAGS` -DMYSQL_ENABLED  -DAPACHE2  -DCONTENT_DISPOSITION  
> -DSELECT_ENABLED   -c src/load.c -DMYSQL_ENABLED  -DAPACHE2  
> -DCONTENT_DISPOSITION  -DSELECT_ENABLED   -o src/load.o
> src/load.c:25: parse error before '*' token
> src/load.c: In function `find_tag':
> src/load.c:29: `info' undeclared (first use in this function)
> src/load.c:29: (Each undeclared identifier is reported only once
> src/load.c:29: for each function it appears in.)
> src/load.c:30: `length' undeclared (first use in this function)
> src/load.c:32: `ptr' undeclared (first use in this function)
> src/load.c:36: `name' undeclared (first use in this function)
> src/load.c: In function `mp3_create_content':
> src/load.c:70: `ID3' undeclared (first use in this function)
> src/load.c:70: parse error before "info"
> src/load.c:71: `info_ptr' undeclared (first use in this function)
> src/load.c:76: `info' undeclared (first use in this function)
> src/load.c:95: `VERSION1_TAG' undeclared (first use in this function)
> src/load.c:101: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:117: warning: pointer/integer type mismatch in conditional 
> expression
> src/load.c:120: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:124: warning: pointer/integer type mismatch in conditional 
> expression
> src/load.c:125: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:126: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:127: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:128: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:129: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:130: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:131: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:134: warning: assignment makes pointer from integer without a 
> cast
> src/load.c: In function `load_playlist':
> src/load.c:160: warning: assignment makes pointer from integer without a 
> cast
> src/load.c: In function `load_directory':
> src/load.c:241: warning: assignment makes pointer from integer without a 
> cast
> src/load.c:251: warning: assignment makes pointer from integer without a 
> cast
> make: *** [src/load.o] Error 1
-- 
_______________________________________________________
Brian "Krow" Aker, [email protected]
Seattle, Washington
http://krow.net/
http://askbrian.org/
_______________________________________________________
You can't grep a dead tree.