Menu

#3 Build troubles on Ubuntu Server 10.04

open
nobody
5
2010-11-28
2010-11-28
mdlueck
No

Greetings David,

I am running into build problems on Ubuntu Server 10.04.

First, there was no apxs command. I located one named apxs2. Since my server uses the pre-fork version of Apache, I installed:
Command 'apxs2' from package 'apache2-prefork-dev' (main)
then updated the makefile.linux to specify apxs2 correctly.

It gets past that part of the build process. Now it is processing / bombing as follows:

:~/mod_rexx-2.2.0-i386$ ./make_mod_rexx.rex oorexx
/usr/bin/apxs2 -c mod_rexx.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i486-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -c -o mod_rexx.lo mod_rexx.c && touch mod_rexx.slo
In file included from mod_rexx.c:25:
mod_rexx.h:146: error: expected ‘)’ before ‘name’
mod_rexx.h:148: error: expected declaration specifiers or ‘...’ before ‘LONG’
mod_rexx.h:149: error: expected declaration specifiers or ‘...’ before ‘LONG’
mod_rexx.h:150: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Call_Rexx’
mod_rexx.h:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CreateTempFile’
mod_rexx.c:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CreateTempFile’
mod_rexx.c:100: error: expected ‘)’ before ‘varname’
mod_rexx.c: In function ‘GetReqRecPtr’:
mod_rexx.c:142: error: ‘CHAR’ undeclared (first use in this function)
mod_rexx.c:142: error: (Each undeclared identifier is reported only once
mod_rexx.c:142: error: for each function it appears in.)
mod_rexx.c:142: error: expected ‘;’ before ‘os_tid_str’
mod_rexx.c:147: error: ‘os_tid_str’ undeclared (first use in this function)
mod_rexx.c: At top level:
mod_rexx.c:173: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘APIENTRY’
mod_rexx.c:223: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘APIENTRY’
mod_rexx.c:275: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘APIENTRY’
mod_rexx.c:379: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Call_Rexx’
mod_rexx.c:470: error: expected declaration specifiers or ‘...’ before ‘LONG’
mod_rexx.c: In function ‘get_rexx_err_str’:
mod_rexx.c:474: error: ‘rxrc’ undeclared (first use in this function)
mod_rexx.c: At top level:
mod_rexx.c:647: error: expected declaration specifiers or ‘...’ before ‘LONG’
mod_rexx.c: In function ‘rexxstart_error_processor’:
mod_rexx.c:652: error: ‘rxrc’ undeclared (first use in this function)
mod_rexx.c:652: error: too many arguments to function ‘get_rexx_err_str’
mod_rexx.c:686: warning: format not a string literal and no format arguments
mod_rexx.c:687: warning: format not a string literal and no format arguments
apxs:Error: Command failed with rc=65536
.
make: *** [mod_rexx.o] Error 1
cp: cannot stat `mod_rexx.so': No such file or directory
rm *.o *.lo *.la *.slo
rm: cannot remove `*.o': No such file or directory
rm: cannot remove `*.lo': No such file or directory
rm: cannot remove `*.la': No such file or directory
rm: cannot remove `*.slo': No such file or directory
make: *** [cleanall] Error 1

Suggestions please. Thank you!

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.