Project

General

Profile

Actions

Bug #2101

closed

lighttpd-1.4.24 fails to compile with mod_geoip.c

Added by ShaunO about 15 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Category:
-
Target version:
ASK QUESTIONS IN Forums:

Description

Works in previous versions;

libtool: compile:  gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR=\"/usr/loc                                                                          al/lib\" -DSBIN_DIR=\"/usr/local/sbin\" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS                                                                          __ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Ws                                                                          hadow -pedantic -std=gnu99 -MT mod_geoip.lo -MD -MP -MF .deps/mod_geoip.Tpo -c m                                                                          od_geoip.c  -fPIC -DPIC -o .libs/mod_geoip.o
mod_geoip.c:1: error: expected identifier or â(â before â<â token
mod_geoip.c:4:34: error: too many decimal points in number
mod_geoip.c:13:84: warning: character constant too long for its type
mod_geoip.c:13:94: warning: multi-character character constant
mod_geoip.c:14: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          {â token
mod_geoip.c:15: error: expected identifier or â(â before â<â token
mod_geoip.c:61:28: error: too many decimal points in number
mod_geoip.c:65:35: error: invalid digit "9" in octal constant
mod_geoip.c:70: error: expected identifier or â(â before â<â token
mod_geoip.c:75: error: stray â#â in program
mod_geoip.c:75: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          .â token
mod_geoip.c:75: error: expected identifier or â(â before â<â token
mod_geoip.c:79: error: stray â#â in program
mod_geoip.c:79: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          .â token
mod_geoip.c:79: error: expected identifier or â(â before â<â token
mod_geoip.c:87: error: stray â#â in program
mod_geoip.c:87: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          .â token
mod_geoip.c:87: error: expected identifier or â(â before â<â token
mod_geoip.c:91: error: stray â#â in program
mod_geoip.c:91: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          .â token
mod_geoip.c:91: error: expected identifier or â(â before â<â token
mod_geoip.c:95: error: stray â#â in program
mod_geoip.c:95: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â                                                                          .â token
mod_geoip.c:95: error: expected identifier or â(â before â<â token
mod_geoip.c:103: error: stray â#â in program
mod_geoip.c:103: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:103: error: expected identifier or â(â before â<â token
mod_geoip.c:107: error: stray â#â in program
mod_geoip.c:107: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:107: error: expected identifier or â(â before â<â token
mod_geoip.c:111: error: stray â#â in program
mod_geoip.c:111: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:111: error: expected identifier or â(â before â<â token
mod_geoip.c:119: error: stray â#â in program
mod_geoip.c:119: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:119: error: expected identifier or â(â before â<â token
mod_geoip.c:127: error: stray â#â in program
mod_geoip.c:131: error: stray â#â in program
mod_geoip.c:131: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:131: error: expected identifier or â(â before â<â token
mod_geoip.c:135: error: stray â#â in program
mod_geoip.c:339: warning: data definition has no type or storage class
mod_geoip.c:339: warning: type defaults to âintâ in declaration of âplugin_confi                                                                          gâ
mod_geoip.c:340: error: expected identifier or â(â before â<â token
mod_geoip.c:371: warning: data definition has no type or storage class
mod_geoip.c:371: warning: type defaults to âintâ in declaration of âplugin_dataâ
mod_geoip.c:372: error: expected identifier or â(â before â<â token
mod_geoip.c:408: error: expected identifier or â(â before â<â token
mod_geoip.c:532: error: expected identifier or â(â before â<â token
mod_geoip.c:788: error: expected identifier or â(â before â<â token
mod_geoip.c:795: error: stray â#â in program
mod_geoip.c:799: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before                                                                           â.â token
mod_geoip.c:799: warning: data definition has no type or storage class
mod_geoip.c:799: warning: type defaults to âintâ in declaration of âxâ
mod_geoip.c:800: error: expected identifier or â(â before â<â token
mod_geoip.c:928: error: expected identifier or â(â before â<â token
mod_geoip.c:931: error: stray â#â in program
mod_geoip.c:1672: error: expected identifier or â(â before â<â token
mod_geoip.c:1736: error: expected identifier or â(â before â<â token
mod_geoip.c:1755: error: expected identifier or â(â before numeric constant
make[3]: *** [mod_geoip.lo] Error 1
make[3]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24'
make: *** [all] Error 2
root@server01 [~/downloads/newlighttpd/lighttpd-1.4.24]# make
make  all-recursive
make[1]: Entering directory `/root/downloads/newlighttpd/lighttpd-1.4.24'
Making all in src
make[2]: Entering directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
which: no svnversion in (/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin)
which: no git in (/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin)
make  all-am
make[3]: Entering directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/local/lib\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I. -I..   -D_REENTRANT -D__EXTENSIONS__  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_geoip.lo -MD -MP -MF ".deps/mod_geoip.Tpo" -c -o mod_geoip.lo mod_geoip.c; \
        then mv -f ".deps/mod_geoip.Tpo" ".deps/mod_geoip.Plo"; else rm -f ".deps/mod_geoip.Tpo"; exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR=\"/usr/local/lib\" -DSBIN_DIR=\"/usr/local/sbin\" -I. -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_geoip.lo -MD -MP -MF .deps/mod_geoip.Tpo -c mod_geoip.c  -fPIC -DPIC -o .libs/mod_geoip.o
mod_geoip.c:1: error: expected identifier or â(â before â<â token
mod_geoip.c:4:34: error: too many decimal points in number
mod_geoip.c:13:84: warning: character constant too long for its type
mod_geoip.c:13:94: warning: multi-character character constant
mod_geoip.c:14: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token
mod_geoip.c:15: error: expected identifier or â(â before â<â token
mod_geoip.c:61:28: error: too many decimal points in number
mod_geoip.c:65:35: error: invalid digit "9" in octal constant
mod_geoip.c:70: error: expected identifier or â(â before â<â token
mod_geoip.c:75: error: stray â#â in program
mod_geoip.c:75: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:75: error: expected identifier or â(â before â<â token
mod_geoip.c:79: error: stray â#â in program
mod_geoip.c:79: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:79: error: expected identifier or â(â before â<â token
mod_geoip.c:87: error: stray â#â in program
mod_geoip.c:87: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:87: error: expected identifier or â(â before â<â token
mod_geoip.c:91: error: stray â#â in program
mod_geoip.c:91: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:91: error: expected identifier or â(â before â<â token
mod_geoip.c:95: error: stray â#â in program
mod_geoip.c:95: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:95: error: expected identifier or â(â before â<â token
mod_geoip.c:103: error: stray â#â in program
mod_geoip.c:103: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:103: error: expected identifier or â(â before â<â token
mod_geoip.c:107: error: stray â#â in program
mod_geoip.c:107: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:107: error: expected identifier or â(â before â<â token
mod_geoip.c:111: error: stray â#â in program
mod_geoip.c:111: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:111: error: expected identifier or â(â before â<â token
mod_geoip.c:119: error: stray â#â in program
mod_geoip.c:119: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:119: error: expected identifier or â(â before â<â token
mod_geoip.c:127: error: stray â#â in program
mod_geoip.c:131: error: stray â#â in program
mod_geoip.c:131: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:131: error: expected identifier or â(â before â<â token
mod_geoip.c:135: error: stray â#â in program
mod_geoip.c:339: warning: data definition has no type or storage class
mod_geoip.c:339: warning: type defaults to âintâ in declaration of âplugin_configâ
mod_geoip.c:340: error: expected identifier or â(â before â<â token
mod_geoip.c:371: warning: data definition has no type or storage class
mod_geoip.c:371: warning: type defaults to âintâ in declaration of âplugin_dataâ
mod_geoip.c:372: error: expected identifier or â(â before â<â token
mod_geoip.c:408: error: expected identifier or â(â before â<â token
mod_geoip.c:532: error: expected identifier or â(â before â<â token
mod_geoip.c:788: error: expected identifier or â(â before â<â token
mod_geoip.c:795: error: stray â#â in program
mod_geoip.c:799: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â.â token
mod_geoip.c:799: warning: data definition has no type or storage class
mod_geoip.c:799: warning: type defaults to âintâ in declaration of âxâ
mod_geoip.c:800: error: expected identifier or â(â before â<â token
mod_geoip.c:928: error: expected identifier or â(â before â<â token
mod_geoip.c:931: error: stray â#â in program
mod_geoip.c:1672: error: expected identifier or â(â before â<â token
mod_geoip.c:1736: error: expected identifier or â(â before â<â token
mod_geoip.c:1755: error: expected identifier or â(â before numeric constant
make[3]: *** [mod_geoip.lo] Error 1
make[3]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/newlighttpd/lighttpd-1.4.24'
make: *** [all] Error 2
Actions #1

Updated by stbuehler almost 15 years ago

  • Category set to 3rd party
  • Target version deleted (1.4.x)
Actions #2

Updated by stbuehler over 14 years ago

  • Status changed from New to Invalid

Errors not really readable, no reference to a mod_geoip - i don't think we can help here.

Actions #3

Updated by gstrauss about 8 years ago

  • Category deleted (3rd party)
  • Target version set to 1.4.42
Actions #4

Updated by gstrauss about 8 years ago

  • Status changed from Invalid to Fixed
Actions

Also available in: Atom