Project

General

Profile

Bug #2101

lighttpd-1.4.24 fails to compile with mod_geoip.c

Added by ShaunO over 7 years ago. Updated 9 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-11-16
Due date:
% Done:

0%

Missing in 1.5.x:
No

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

Associated revisions

Revision 5dfe21ac (diff)
Added by gstrauss 9 months ago

[mod_geoip] add to default build (fixes #2705, fixes #2101, fixes #2092, fixes #2025, fixes #1962, fixes #1938)

(add to default build to reduce distributor package maintenance)

x-ref:
"broken module API since 1.4.38"
https://redmine.lighttpd.net/issues/2705
"lighttpd-1.4.24 fails to compile with mod_geoip.c"
https://redmine.lighttpd.net/issues/2101
"unsafe sprintfs mod_geoip"
https://redmine.lighttpd.net/issues/2092
"mod_geoip crashes lighttpd 1.5.x on FreeBSD 7.2 AMD64"
https://redmine.lighttpd.net/issues/2025
"mod_geoip"
https://redmine.lighttpd.net/issues/1962
"lighttpd 1.4 crashes on FreeBSD 7.0 AMD64 when mod_geoip compiled in"
https://redmine.lighttpd.net/issues/1938

History

#1 Updated by stbuehler over 7 years ago

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

#2 Updated by stbuehler about 7 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.

#3 Updated by gstrauss 9 months ago

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

#4 Updated by gstrauss 9 months ago

  • Status changed from Invalid to Fixed

Also available in: Atom