[Rxtx] compile error with libtool 2.2.6

Farkas Levente lfarkas at lfarkas.org
Thu Feb 5 09:51:23 MST 2009


hi,
anyone try to compile rxtx with libtool-2.2.6? unfortunately it's not
compile:-( you can find the build.log here:
http://sunsite.mff.cuni.cz/rawhide20090126-gcc44/fails-even-with-43/rxtx-2.1-0.2.7r2.fc11.src.rpm/build.log
the relevant part is bellow. any help would be useful...
---------------------------------------
/usr/lib/jvm/java/bin/javah -classpath
.:/builddir/build/BUILD/rxtx-2.1-7r2:/builddir/build/BUILD/rxtx-2.1-7r2/src:
-d i386-redhat-linux-gnu -jni `(for i in CommDriver CommPort
CommPortEnumerator CommPortIdentifier CommPortOwnershipListener
Configure I2C I2CPort I2CPortEvent I2CPortEventListener LPRPort
NoSuchPortException ParallelPort ParallelPortEvent
ParallelPortEventListener PortInUseException RS485 RS485Port
RS485PortEvent RS485PortEventListener RXTXCommDriver RXTXPort
RXTXVersion Raw RawPort RawPortEvent RawPortEventListener SerialPort
SerialPortEvent SerialPortEventListener UnSupportedLoggerException
UnsupportedCommOperationException Zystem;do \
		if grep > /dev/null native.*\(
/builddir/build/BUILD/rxtx-2.1-7r2/./src/$i.java; then \
			echo gnu.io.$i; \
		fi; \
	done)`
/usr/lib/jvm/java/bin/jar cf RXTXcomm.jar gnu/*
(								\
								\
	cd i386-redhat-linux-gnu; 							\
	/bin/sh /builddir/build/BUILD/rxtx-2.1-7r2/libtool --mode=compile gcc
-I/builddir/build/BUILD/rxtx-2.1-7r2 -Ii386-redhat-linux-gnu -I.
-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/./linux/  -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_POSIX_SOURCE -D_BSD_SOURCE
-D__need_timespec  -c
/builddir/build/BUILD/rxtx-2.1-7r2/./src/SerialImp.c -o			\
		/builddir/build/BUILD/rxtx-2.1-7r2/i386-redhat-linux-gnu/SerialImp.lo;		\
	if [ "Serial" = "Serial" ]; then 					\
		/bin/sh /builddir/build/BUILD/rxtx-2.1-7r2/libtool --mode=compile gcc
-I/builddir/build/BUILD/rxtx-2.1-7r2 -Ii386-redhat-linux-gnu -I.
-I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/./linux/  -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_POSIX_SOURCE -D_BSD_SOURCE
-D__need_timespec  -c
/builddir/build/BUILD/rxtx-2.1-7r2/./src/fuserImp.c -o		\
			/builddir/build/BUILD/rxtx-2.1-7r2/i386-redhat-linux-gnu/fuserImp.lo;	\
		/bin/sh /builddir/build/BUILD/rxtx-2.1-7r2/libtool --mode=link gcc -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_POSIX_SOURCE -D_BSD_SOURCE
-D__need_timespec -lpthread -release 2.1-7 -o librxtxSerial.la -rpath
/usr/lib/jvm/java/jre/lib/i386
/builddir/build/BUILD/rxtx-2.1-7r2/i386-redhat-linux-gnu/SerialImp.lo  	\
			/builddir/build/BUILD/rxtx-2.1-7r2/i386-redhat-linux-gnu/fuserImp.lo; 	\
	else								\
		/bin/sh /builddir/build/BUILD/rxtx-2.1-7r2/libtool --mode=link gcc -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_POSIX_SOURCE -D_BSD_SOURCE
-D__need_timespec -lpthread -release 2.1-7 -o librxtxSerial.la -rpath
/usr/lib/jvm/java/jre/lib/i386
/builddir/build/BUILD/rxtx-2.1-7r2/i386-redhat-linux-gnu/SerialImp.lo; 	\
	fi;								\
	)
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 460: CDPATH: command
not found
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 1138: func_opt_split:
command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 460: CDPATH: command
not found
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 1138: func_opt_split:
command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 460: CDPATH: command
not found
/builddir/build/BUILD/rxtx-2.1-7r2/libtool: line 1138: func_opt_split:
command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
---------------------------------------

-- 
  Levente                               "Si vis pacem para bellum!"



More information about the Rxtx mailing list