tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36911] Make fails while building jsvc on mac os x, multiple errors
Date Thu, 30 Oct 2008 23:03:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=36911


Christopher Hunt <huntc@internode.on.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |huntc@internode.on.net
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from Christopher Hunt <huntc@internode.on.net>  2008-10-30 16:03:49 PST
---
This issue is not resolved.

While the workaround has been identified there has been no application of it to
the distribution.

Additionally there are now a number of other warnings that I feel should be
recognised. Here is the log from my build on Mac OS X. Firstly here is the
configure output:

*** Current host ***
checking build system type... i386-apple-darwin9.5.0
checking host system type... i386-apple-darwin9.5.0
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
*** Host support ***
checking C flags dependant on host system type... ok
*** Java compilation tools ***
checking for javac... /Library/Java/Home/bin/javac
checking wether the Java compiler (/Library/Java/Home/bin/javac) works... yes
checking for jar... /Library/Java/Home/bin/jar
gcc flags added
*** Writing output files ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedefs
config.status: creating native/Makefile
*** All done ***
Now you can issue "make"

...and here is the output of make (given the identified bool modification of
jsvc.h):

make -C native all
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c arguments.c -o arguments.o
arguments.c: In function ‘arguments’:
arguments.c:251: warning: unused variable ‘temp’
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c debug.c -o debug.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c dso-dlfcn.c -o dso-dlfcn.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c dso-dyld.c -o dso-dyld.o
dso-dyld.c: In function ‘multiple’:
dso-dyld.c:34: warning: ‘NSNameOfSymbol’ is deprecated (declared at
/usr/include/mach-o/dyld.h:187)
dso-dyld.c:34: warning: ‘NSNameOfModule’ is deprecated (declared at
/usr/include/mach-o/dyld.h:158)
dso-dyld.c:34: warning: ‘NSNameOfModule’ is deprecated (declared at
/usr/include/mach-o/dyld.h:158)
dso-dyld.c:35: warning: ‘NSNameOfModule’ is deprecated (declared at
/usr/include/mach-o/dyld.h:158)
dso-dyld.c: In function ‘dso_init’:
dso-dyld.c:61: warning: ‘NSInstallLinkEditErrorHandlers’ is deprecated
(declared at /usr/include/mach-o/dyld.h:226)
dso-dyld.c: In function ‘dso_link’:
dso-dyld.c:69: warning: ‘NSAddLibrary’ is deprecated (declared at
/usr/include/mach-o/dyld.h:228)
dso-dyld.c: In function ‘dso_symbol’:
dso-dyld.c:109: warning: operation on ‘x’ may be undefined
dso-dyld.c:113: warning: ‘NSLookupAndBindSymbol’ is deprecated (declared at
/usr/include/mach-o/dyld.h:179)
dso-dyld.c:118: warning: ‘NSModuleForSymbol’ is deprecated (declared at
/usr/include/mach-o/dyld.h:189)
dso-dyld.c:119: warning: ‘NSAddressOfSymbol’ is deprecated (declared at
/usr/include/mach-o/dyld.h:188)
dso-dyld.c:121: warning: ‘NSNameOfSymbol’ is deprecated (declared at
/usr/include/mach-o/dyld.h:187)
dso-dyld.c:121: warning: ‘NSNameOfModule’ is deprecated (declared at
/usr/include/mach-o/dyld.h:158)
dso-dyld.c: At top level:
dso-dyld.c:127: warning: function declaration isn’t a prototype
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c help.c -o help.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c home.c -o home.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c java.c -o java.o
java.c:49: warning: function declaration isn’t a prototype
java.c: In function ‘java_init’:
java.c:122: warning: implicit declaration of function ‘dso_error’
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c location.c -o location.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c replace.c -o replace.o
gcc -g -O2 -DOS_DARWIN -DDSO_DYLD -DCPU=\"i386\"
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Headers -Wall
-Wstrict-prototypes -c signals.c -o signals.o
ar cr libservice.a arguments.o debug.o dso-dlfcn.o dso-dyld.o help.o home.o
java.o location.o replace.o signals.o
ranlib: file: libservice.a(dso-dlfcn.o) has no symbols
ranlib: file: libservice.a(signals.o) has no symbols
ranlib libservice.a
ranlib: file: libservice.a(dso-dlfcn.o) has no symbols
ranlib: file: libservice.a(signals.o) has no symbols
gcc  jsvc-unix.o libservice.a -o ../jsvc

Kind regards,
Christopher


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message