Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2005 15:11:43 -0700
From:      Vizion <vizion@vizion.occoxmail.com>
To:        freebsd-apache@freebsd.org
Subject:   mod_index_rss - compile error
Message-ID:  <200509221511.43901.vizion@vizion.occoxmail.com>

next in thread | raw e-mail | index | archive | help
Ok

here is the consol output from an attempt to compile mod_index_rss

Can anyone suggest a fix for this?

david


dns1# cd mod_index_rss/
dns1# ls -l
total 22
drwxr-xr-x  2 root  wheel   512 May  2 08:42 Attic
-rw-r--r--  1 root  wheel   589 Sep 11 16:16 Makefile
-r--r--r--  1 root  wheel  3426 Apr  2 00:30 Makefile,v
-rw-r--r--  1 root  wheel   105 Sep 11 16:16 distinfo
-r--r--r--  1 root  wheel   988 Apr  2 00:30 distinfo,v
drwxr-xr-x  2 root  wheel   512 Sep 11 16:16 files
-rw-r--r--  1 root  wheel   245 May  2 16:27 pkg-descr
-r--r--r--  1 root  wheel  1226 Apr  2 00:30 pkg-descr,v
-rw-r--r--  1 root  wheel   122 Apr  8  2001 pkg-plist
-r--r--r--  1 root  wheel   703 Apr  2 00:30 pkg-plist,v
dns1# make config
===> No options to configure
dns1# make
===>  Vulnerability check disabled, database not found
=> mod_index_rss-1.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://download.tangent.org/.
mod_index_rss-1.0.tar.gz                      100% of 6259  B   39 kBps
===>  Extracting for mod_index_rss-1.0
=> Checksum OK for mod_index_rss-1.0.tar.gz.
===>  Patching for mod_index_rss-1.0
===>  Applying FreeBSD patches for mod_index_rss-1.0
===>   Ignoring
patchfile /usr/ports/www/mod_index_rss/files/patch-mod_index_rss.c,v
===>   mod_index_rss-1.0 depends on file: /usr/local/sbin/apxs - found
===>  Configuring for mod_index_rss-1.0
===>  Building for mod_index_rss-1.0
/usr/local/share/apache2/build/libtool --silent --mode=compile cc -prefer-pic
-O -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE
-I/usr/local/include/apache2  -I/usr/local/include/apache2
-I/usr/local/include/apache2 -I/usr/local/include  -c -o mod_index_rss.lo
mod_index_rss.c && touch mod_index_rss.slo
mod_index_rss.c:21: error: syntax error before "index_rss_module"
mod_index_rss.c:25: error: syntax error before "array_header"
mod_index_rss.c:35: error: syntax error before '*' token
mod_index_rss.c: In function `mconfig_for_directory':
mod_index_rss.c:37: error: `p' undeclared (first use in this function)
mod_index_rss.c:37: error: (Each undeclared identifier is reported only once
mod_index_rss.c:37: error: for each function it appears in.)
mod_index_rss.c:37: warning: initialization makes pointer from integer
 without a cast
mod_index_rss.c:40: error: structure has no member named `enabled'
mod_index_rss.c:41: error: structure has no member named `disabled'
mod_index_rss.c: In function `print_channel':
mod_index_rss.c:50: error: structure has no member named `st_mtime'
mod_index_rss.c:50: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c: At top level:
mod_index_rss.c:71: error: syntax error before '*' token
mod_index_rss.c: In function `string_find':
mod_index_rss.c:76: error: `array' undeclared (first use in this function)
mod_index_rss.c:79: error: `key' undeclared (first use in this function)
mod_index_rss.c:86: error: `FNM_CASE_BLIND' undeclared (first use in this
function)
mod_index_rss.c: In function `index_rss_handler':
mod_index_rss.c:111: error: storage size of 'sbuf' isn't known
mod_index_rss.c:117: error: `array_header' undeclared (first use in this
function)
mod_index_rss.c:117: error: `containers_array' undeclared (first use in this
function)
mod_index_rss.c:120: error: `index_rss_module' undeclared (first use in this
function)
mod_index_rss.c:124: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c:127: warning: passing arg 4 of `ap_log_rerror' makes integer
from pointer without a cast
mod_index_rss.c:127: warning: passing arg 5 of `ap_log_rerror' from
incompatible pointer type
mod_index_rss.c:145: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c:149: error: structure has no member named `enabled'
mod_index_rss.c:149: error: structure has no member named `disabled'
mod_index_rss.c:152: error: structure has no member named `enabled'
mod_index_rss.c:155: error: structure has no member named `enabled'
mod_index_rss.c:158: error: structure has no member named `disabled'
mod_index_rss.c:164: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c:166: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c:192: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c:197: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c: In function `add_enabled':
mod_index_rss.c:215: error: structure has no member named `enabled'
mod_index_rss.c:216: error: structure has no member named `enabled'
mod_index_rss.c:218: error: structure has no member named `enabled'
mod_index_rss.c:218: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c: In function `add_disabled':
mod_index_rss.c:228: error: structure has no member named `disabled'
mod_index_rss.c:229: error: structure has no member named `disabled'
mod_index_rss.c:231: error: structure has no member named `disabled'
mod_index_rss.c:231: warning: assignment makes pointer from integer without a
cast
mod_index_rss.c: At top level:
mod_index_rss.c:237: error: syntax error before "index_rss_handlers"
mod_index_rss.c:238: warning: braces around scalar initializer
mod_index_rss.c:238: warning: (near initialization for
`index_rss_handlers[0]')
mod_index_rss.c:238: warning: initialization makes integer from pointer
without a cast
mod_index_rss.c:238: warning: excess elements in scalar initializer
mod_index_rss.c:238: warning: (near initialization for
`index_rss_handlers[0]')
mod_index_rss.c:239: warning: braces around scalar initializer
mod_index_rss.c:239: warning: (near initialization for
`index_rss_handlers[1]')
mod_index_rss.c:239: warning: initialization makes integer from pointer
without a cast
mod_index_rss.c:239: warning: excess elements in scalar initializer
mod_index_rss.c:239: warning: (near initialization for
`index_rss_handlers[1]')
mod_index_rss.c:240: warning: data definition has no type or storage class
mod_index_rss.c:243: warning: initialization from incompatible pointer type
mod_index_rss.c:244: error: syntax error before "index_rss_conf"
mod_index_rss.c:244: error: initializer element is not constant
mod_index_rss.c:244: error: (near initialization for
`index_rss_module_cmds[0].cmd_data')
mod_index_rss.c:245: error: initializer element is not constant
mod_index_rss.c:245: error: (near initialization for
`index_rss_module_cmds[0]')
mod_index_rss.c:246: warning: initialization from incompatible pointer type
mod_index_rss.c:246: error: initializer element is not constant
mod_index_rss.c:246: error: (near initialization for
`index_rss_module_cmds[1].func')
mod_index_rss.c:247: error: initializer element is not constant
mod_index_rss.c:247: error: (near initialization for
`index_rss_module_cmds[1]')
mod_index_rss.c:248: warning: initialization from incompatible pointer type
mod_index_rss.c:248: error: initializer element is not constant
mod_index_rss.c:248: error: (near initialization for
`index_rss_module_cmds[2].func')
mod_index_rss.c:249: error: initializer element is not constant
mod_index_rss.c:249: error: (near initialization for
`index_rss_module_cmds[2]')
mod_index_rss.c:250: error: initializer element is not constant
mod_index_rss.c:250: error: (near initialization for
`index_rss_module_cmds[3]')
mod_index_rss.c:254: error: syntax error before "index_rss_module"
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/ports/www/mod_index_rss.

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509221511.43901.vizion>