[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
expr complaint on FreeBSD for MinGW cross
From: |
Bob Friesenhahn |
Subject: |
expr complaint on FreeBSD for MinGW cross |
Date: |
Wed, 16 Apr 2008 14:26:49 -0500 (CDT) |
With latest CVS HEAD and performing a cross-build to MinGW using
FreeBSD as the build host, I am seeing an 'illegal option' error
message from FreeBSD's expr. The only option that FreeBSD's expr
supports is -e so I must assume that some part of the expression is
causing a problem.
This is what a compile step looks like:
/bin/bash ./libtool --tag=CC --mode=compile i686-pc-mingw32-gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I/home/bfriesen/src/graphics/GraphicsMagick-head
-I./magick -D_DLL -g -O2 -Wall -MT coders/coders_cineon_la-cineon.lo -MD -MP
-MF coders/.deps/coders_cineon_la-cineon.Tpo -c -o
coders/coders_cineon_la-cineon.lo `test -f 'coders/cineon.c' || echo
'/home/bfriesen/src/graphics/GraphicsMagick-head/'`coders/cineon.c
libtool: compile: i686-pc-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
-I/home/bfriesen/src/graphics/GraphicsMagick-head -I./magick -D_DLL -g -O2
-Wall -MT coders/coders_cineon_la-cineon.lo -MD -MP -MF
coders/.deps/coders_cineon_la-cineon.Tpo -c
/home/bfriesen/src/graphics/GraphicsMagick-head/coders/cineon.c -DDLL_EXPORT
-DPIC -o coders/.libs/coders_cineon_la-cineon.o
libtool: compile: i686-pc-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
-I/home/bfriesen/src/graphics/GraphicsMagick-head -I./magick -D_DLL -g -O2 -Wall -MT
coders/coders_cineon_la-cineon.lo -MD -MP -MF coders/.deps/coders_cineon_la-cineon.Tpo -c
/home/bfriesen/src/graphics/GraphicsMagick-head/coders/cineon.c -o
coders/coders_cineon_la-cineon.o >/dev/null 2>&1
mv -f coders/.deps/coders_cineon_la-cineon.Tpo
coders/.deps/coders_cineon_la-cineon.Plo
/bin/bash ./libtool --tag=CC --mode=link i686-pc-mingw32-gcc -std=gnu99 -g -O2 -Wall -no-undefined -export-symbols-regex ".*" -module -avoid-version -o coders/cineon.la -rpath /usr/local/mingw32/lib/GraphicsMagick-1.2/modules-Q8/coders coders/coders_cineon_la-cineon.lo magick/libGraphicsMagick.la
expr: illegal option -- l
usage: expr [-e] expression
libtool: link: /usr/local/bin/i686-pc-mingw32-nm -B
coders/.libs/coders_cineon_la-cineon.o | sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1
_\2 \2/p' | /usr/local/bin/gsed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/' |
/usr/local/bin/gsed -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq >
coders/.libs/cineon.exp
libtool: link: /usr/bin/grep -E -e ".*" "coders/.libs/cineon.exp" >
"coders/.libs/cineon.expT"
libtool: link: mv -f "coders/.libs/cineon.expT" "coders/.libs/cineon.exp"
libtool: link: if test "x`/usr/local/bin/gsed 1q coders/.libs/cineon.exp`" = xEXPORTS;
then cp coders/.libs/cineon.exp coders/.libs/cineon.dll.def; else echo EXPORTS >
coders/.libs/cineon.dll.def; cat coders/.libs/cineon.exp >> coders/.libs/cineon.dll.def; fi
libtool: link: i686-pc-mingw32-gcc -std=gnu99 -shared
coders/.libs/cineon.dll.def coders/.libs/coders_cineon_la-cineon.o
magick/.libs/libGraphicsMagick.dll.a -lgdi32 -o coders/.libs/cineon.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
coders/.libs/cineon.dll.a
Info: resolving _LoadImageText by linking to __imp__LoadImageText (auto-import)
Info: resolving _SaveImageText by linking to __imp__SaveImageText (auto-import)
Creating library file: coders/.libs/cineon.dll.a
libtool: link: i686-pc-mingw32-ar cru coders/.libs/cineon.a
coders/coders_cineon_la-cineon.o
libtool: link: i686-pc-mingw32-ranlib coders/.libs/cineon.a
libtool: link: ( cd "coders/.libs" && rm -f "cineon.la" && ln -s "../cineon.la"
"cineon.la" )
A similar message appears during link steps.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
- expr complaint on FreeBSD for MinGW cross,
Bob Friesenhahn <=