[cups-devel] [UNKN] STR #4699: `--enable-unit-tests` causes build error on OS X
Pipitas
noreply at cups.org
Wed Aug 26 15:01:18 PDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
These configure params let the current Git sources
(dd3fdd2c595564be3b3900316267188b988f6aa9) build:
./configure --with-ipp-port=8631 \
--with-log-level=info \
--prefix=/usr/local2 \
--enable-webif \
--disable-avahi \
--disable-dbus \
--with-archflags="-arch i386 -arch x86_64"
Adding `--enable-unit-tests` to above configure makes the build process
fail with the following message:
[....]
_cupsArrayNewStrings(" \t\nfoo bar\tboo\nfar", ' '): PASS
_cupsArrayAddStrings(array, "foo2,bar2", ','): PASS
ALL TESTS PASSED!
Linking testcache...
ld: warning: ignoring file testcache.o, file was built for unsupported
file format ( 0xCF 0xFA 0xED 0xFE 0x07 0x00 0x00 0x01 0x03 0x00
0x00 0x00 0x01 0x00 0x00 0x00 ) which is not the architecture
being linked (i386): testcache.o
Undefined symbols for architecture i386:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [testcache] Error 1
make: *** [all] Error 1
Link: https://www.cups.org/str.php?L4699
Version: 2.1rc1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org
iQIcBAEBCgAGBQJV3jcuAAoJENujp6sI12IjX7gP/A6La+j0RNkafAvSXanlDAZG
G+g1RTOTDplszdxCztI21qThv0UUCoCcBy9bRW1oSTQP0Wj5es+JGy+d0n4w4dfp
XlNBfeoCETZ78H+AKlD89ISt6Gck8xePJF3gRrMbaKsqLT1NVBp6k6CWuN9AISbX
mz7eoBkpRl+Vq/CNypC+uFsySs+q+jJRJQgBN70Rz1iQ6XtP7H7Z4BmyOsdbj5JO
FSjtK7IMXHKEAVeF9OtdB3xczqexxKmW6d5w1N1xaeEQWSyD93yfY1whchiDDUc2
h/9KjCXdlKzMu1d6sRaWm/rSdGtxvRkNayNhg4R6+pa7wMv8SVotDYdzItz4FP9H
7fBS1TH0BkoS+tWt9amqDm9Fs7BwGdxy709o4GBQyHHukWrwQV4Oz1pEzIEFubOO
j1+HgeqxRtJ7Mm/I6BkrTOrGMbLUX9DhudRexM6gvn7ieAOKmiBrN8t87NCwRqdh
MGg4Ysaoy+UJyMx20HLTmVkT7lSljeyJPh/ErP4yn/bWd/olhaoENjIY1lqccGDx
dIDFrNQ9iX42jtuDQJj+7Pcf62QbdpovTa7WhZozuKa7cFDMCv+D0C/vX6UnTt3Q
mtUbLSM+ae9NwXHTUcEaH9p7nXzkOJFJ4G7KNkHmX4TTC7cFxBmEZix0mm2++LP5
h4ErBFug9V8rTQMUkHkL
=TqiF
-----END PGP SIGNATURE-----
More information about the cups-devel
mailing list