[argyllcms] Re: "Development in progress" update
- From: Klaus Karcher <lists@xxxxxxxxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Sun, 09 Jul 2006 17:43:43 +0200
Graeme Gill schrieb:
Klaus Karcher wrote:
------------
libusb
----------
...found 152 target(s)...
...updating 8 target(s)...
In file included from usb.c:14:
usbi.h:4:17: error: usb.h: No such file or directory
...failed Cc usb.o ...
error.c:12:17: error: usb.h: No such file or directory
...failed Cc error.o ...
I'd really love to know what version/configuration of
gcc it is, that fails to search the . directory when
it comes across a #include "file", as it seems to
be contrary to the whole purpose of #include "file" !
klaus:~ klaus$ which gcc
/usr/bin/gcc
klaus:~ klaus$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5341.obj~1/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5341)
... and it compiles the last development snapshot (Jun, 24) without errors
btw.: ther were two files "usb.h" in the last snapshot:
./libusb/usb.h and
./libusbw/src/usb.h
now there is only the latter.
It does it for a direct include from usb.c, but
then fails to do so for the indirect include of usb.h
from inside usbi.h. Hard for me to discover, since
none of the compilers I'm using (which include
three versions of gcc!) seem to behave this way.
usb.c includes "usbi.h"
/libusbw/src/usb.c includes "usbi.h"
which includes "usb.h" in the same directory.
/libusb/usb.c includes "usbi.h"
which also includes "usb.h" - but it's not in the same directory.
I copied
/libusb/usb.h from the last snapshot
... no more errors :-)
I've attached the complete output of makeall.ksh:
there are only some warnings, so you can set your mind at rest and go to
sleep (must be really late in Australia now) ;-)
[...]
------------
render
----------
...found 32 target(s)...
...updating 4 target(s)...
timage.c:136: warning: incompatible implicit declaration of built-in
function 'strncpy'
...updated 4 target(s)...
This is a puzzle. strncpy is used in (for instance) profile/profile.c
with just
a #include <stdio.h>, and there is no such warning, while for
render/timage.c, there
is a warning. Why ?
sorry - I have no clue ... but maybe this compete list of files with
"incompatible implicit declarations of built-in functions" can help you
finding the answer:
descriptors.c:147: warning: incompatible... 'malloc' [5x]
../target/alphix.c:65: warning: incompatible... 'strlen' [4x]
../target/alphix.c:68: warning: incompatible... 'strcpy' [4x]
../target/alphix.c:395: warning: incompatible... 'strcat' [2x]
imdi_gen.c:133: warning: incompatible... 'exit' [5x]
ctest.c:26: warning: incompatible... 'memset'
alphix.c:65: warning: incompatible... 'strlen' [8x]
alphix.c:68: warning: incompatible... 'strcpy' [8x]
alphix.c:395: warning: incompatible... 'strcat' [4x]
timage.c:136: warning: incompatible... 'strncpy'
Try adding #include <string.h> to render/timage.c, and see if the
warning goes away.
I will try this later.
Thanks for the report.
you're welcome!
Klaus
Last login: Sun Jul 9 17:04:30 on ttyp2
Welcome to Darwin!
klaus:~ klaus$ cd /Applications/argyll/argyll_dev0.60_src_09Jul06-1/
klaus:/Applications/argyll/argyll_dev0.60_src_09Jul06-1 klaus$ ./makeall.ksh
Simple batch file to invoke Jam in all the subdirectories
------------
numlib
----------
...found 108 target(s)...
...updating 24 target(s)...
Cc numsup.o
Cc dnsq.o
Cc powell.o
Cc dhsx.o
Cc ludecomp.o
Cc svd.o
Cc zbrent.o
Cc rand.o
Cc sobol.o
Archive libnum.a
Cc dnsqtest.o
Link dnsqtest
Chmod dnsqtest
GUIAPP dnsqtest
Cc tpowell.o
Link tpowell
Chmod tpowell
GUIAPP tpowell
Cc tdhsx.o
Link tdhsx
Chmod tdhsx
GUIAPP tdhsx
Cc LUtest.o
Link LUtest
Chmod LUtest
GUIAPP LUtest
Cc svdtest.o
Link svdtest
Chmod svdtest
GUIAPP svdtest
Cc zbrenttest.o
Link zbrenttest
Chmod zbrenttest
GUIAPP zbrenttest
Cc soboltest.o
Link soboltest
Chmod soboltest
GUIAPP soboltest
...updated 24 target(s)...
------------
tiff
----------
...found 198 target(s)...
...updating 44 target(s)...
warning: using independent target ./configure
GenFileNND1 libtiff/port.h
Configuring TIFF Software v3.6.1
If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.
Reading site-wide parameters from ./config.site.
Do they really still make powerpc-apple-darwin8.7.0 systems?!
Using /usr/bin/gcc for a C compiler (use -with-CC=compilername to override).
Looks like /usr/bin/gcc supports the -g option.
... but not together with the -O option, not using it.
Using /usr/bin/make to configure the software.
Leaving MACHDEPLIBS empty, apparently you don't need -lm.
Creating libtiff/port.h with necessary definitions.
... using MSB2LSB bit order for your powerpc cpu
... using big-endian byte order for your powerpc cpu
... O_RDONLY is in <fcntl.h>
... using double for promoted floating point parameters
... enabling use of inline functions
Done creating libtiff/port.h.
Checking system libraries for functionality to emulate.
Done checking system libraries.
Checking for Dynamic Shared Object (DSO) support.
Looks like your system supports DARWIN-style DSOs.
Done checking for DSO support.
Selecting programs used during installation.
Looks like mv supports the -f option to force a move.
Looks like /bin/ln supports the -s option to create a symbolic link.
Done selecting programs.
Selecting default TIFF configuration parameters.
Looks like manual pages go in /usr/local/man.
Looks like manual pages should be installed with bsd-source-cat.
Creating Makefile from ./Makefile.in
Creating libtiff/Makefile from ./libtiff/Makefile.in
Creating man/Makefile from ./man/Makefile.in
Creating tools/Makefile from ./tools/Makefile.in
Creating port/install.sh from ./port/install.sh.in
Done.
File tiff.h
Chmod tiff.h
File tiffio.h
Chmod tiffio.h
File tiffvers.h
Chmod tiffvers.h
Cc getopt.o
Cc strcasecmp.o
Cc strtoul.o
port/strtoul.c: In function 'strtoul':
port/strtoul.c:105: warning: assignment discards qualifiers from pointer target
type
Archive libport.a
Cc tif_fax3.o
Cc tif_aux.o
Cc tif_close.o
Cc tif_codec.o
Cc mkg3states.o
Link mkg3states
Chmod mkg3states
GUIAPP mkg3states
warning: using independent target -c const tif_fax3sm.c
GenFileND1 tif_fax3sm.c
Cc tif_fax3sm.o
Cc tif_predict.o
Cc tif_compress.o
Cc tif_dir.o
Cc tif_dirinfo.o
Cc tif_dirread.o
Cc tif_dirwrite.o
Cc tif_dumpmode.o
Cc tif_error.o
Cc tif_getimage.o
Cc tif_flush.o
Cc tif_luv.o
Cc tif_lzw.o
Cc tif_next.o
Cc tif_open.o
Cc tif_packbits.o
Cc tif_print.o
Cc tif_read.o
Cc tif_swab.o
Cc tif_strip.o
Cc tif_thunder.o
Cc tif_tile.o
Cc tif_version.o
Cc tif_warning.o
Cc tif_write.o
Cc tif_unix.o
Archive libtiff.a
Cc libtiff/mkversion.o
Link mkversion
Chmod mkversion
GUIAPP mkversion
...updated 44 target(s)...
------------
libusb
----------
...found 159 target(s)...
...updating 8 target(s)...
warning: using independent target ./configure ; rm -f libusb.a
GenFileNND1 Makefile
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-apple-darwin8.7.0
checking host system type... powerpc-apple-darwin8.7.0
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fno-common
checking if g77 PIC flag -fno-common works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for what USB OS support... Darwin and/or MacOS 10
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking for memmove... yes
checking for pkg-config... no
checking if we should build the documentation... auto
checking for jade... no
checking for openjade... no
checking for Doxygen tools... checking for dot... not found
checking for doxygen... not found
configure: WARNING: Documentation build components not installed. sgml docs
will not be built
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating libusb.pc
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
Cc usb.o
Cc error.o
Cc descriptors.o
Cc darwin.o
Archive libusb.a
Cc tests/testlibusb.o
Link testlibusb
Chmod testlibusb
GUIAPP testlibusb
...updated 8 target(s)...
------------
libusbw
----------
...found 7 target(s)...
------------
plot
----------
...found 60 target(s)...
...updating 4 target(s)...
Cc plot.o
Archive libplot.a
Cc sa_plot.o
Link plot
Chmod plot
GUIAPP plot
...updated 4 target(s)...
------------
icc
----------
...found 85 target(s)...
...updating 13 target(s)...
Cc icc.o
icc.c: In function 'icmFileMem_printf':
icc.c:169: warning: pointer targets in passing argument 1 of 'vsnprintf' differ
in signedness
icc.c: In function 'icc_check_id':
icc.c:10037: warning: pointer targets in passing argument 2 of 'md5->add'
differ in signedness
icc.c:10048: warning: pointer targets in passing argument 2 of 'md5->add'
differ in signedness
Archive libicc.a
Cc icctest.o
icctest.c: In function 'md5_test':
icctest.c:224: warning: pointer targets in initialization differ in signedness
icctest.c:225: warning: pointer targets in initialization differ in signedness
icctest.c:226: warning: pointer targets in initialization differ in signedness
icctest.c:227: warning: pointer targets in initialization differ in signedness
icctest.c:228: warning: pointer targets in initialization differ in signedness
icctest.c:229: warning: pointer targets in initialization differ in signedness
icctest.c:231: warning: pointer targets in initialization differ in signedness
icctest.c:247: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
icctest.c: In function 'doit':
icctest.c:552: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icctest.c:572: warning: pointer targets in passing argument 1 of 'strcmp'
differ in signedness
icctest.c:572: warning: pointer targets in passing argument 2 of 'strcmp'
differ in signedness
icctest.c:1208: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icctest.c:1226: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icctest.c:1262: warning: pointer targets in passing argument 1 of 'strcmp'
differ in signedness
icctest.c:1262: warning: pointer targets in passing argument 2 of 'strcmp'
differ in signedness
icctest.c:1274: warning: pointer targets in passing argument 1 of 'strcmp'
differ in signedness
icctest.c:1274: warning: pointer targets in passing argument 2 of 'strcmp'
differ in signedness
icctest.c:1428: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icctest.c:1452: warning: pointer targets in passing argument 1 of 'strcmp'
differ in signedness
icctest.c:1452: warning: pointer targets in passing argument 2 of 'strcmp'
differ in signedness
Cc iccstd.o
Link icctest
Chmod icctest
GUIAPP icctest
Cc lutest.o
Link lutest
Chmod lutest
GUIAPP lutest
Cc iccdump.o
Link iccdump
Chmod iccdump
GUIAPP iccdump
Cc icclu.o
Link icclu
Chmod icclu
GUIAPP icclu
Cc iccrw.o
Link iccrw
Chmod iccrw
GUIAPP iccrw
...updated 13 target(s)...
------------
cgats
----------
...found 71 target(s)...
...updating 10 target(s)...
Cc pars.o
Cc cgats.o
cgats.c: In function 'cgats_read':
cgats.c:338: warning: pointer targets in passing argument 2 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 3 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 4 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 5 of 'pp->add_del'
differ in signedness
Archive libcgats.a
Cc sa_pars.o
pars.c: In function 'main':
pars.c:289: warning: pointer targets in passing argument 2 of 'pp->add_del'
differ in signedness
pars.c:289: warning: pointer targets in passing argument 3 of 'pp->add_del'
differ in signedness
pars.c:289: warning: pointer targets in passing argument 4 of 'pp->add_del'
differ in signedness
pars.c:289: warning: pointer targets in passing argument 5 of 'pp->add_del'
differ in signedness
Cc e_parsstd.o
Cc e_parsstd.o
Link pars
Chmod pars
GUIAPP pars
Cc sa_cgats.o
cgats.c: In function 'cgats_read':
cgats.c:338: warning: pointer targets in passing argument 2 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 3 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 4 of 'pp->add_del'
differ in signedness
cgats.c:338: warning: pointer targets in passing argument 5 of 'pp->add_del'
differ in signedness
Cc e_pars.o
Cc e_cgatsstd.o
Link cgats
Chmod cgats
GUIAPP cgats
...updated 10 target(s)...
------------
rspl
----------
don't know how to make ../xicc/libxicc.a
don't know how to make ../spectro/libinsttypes.a
don't know how to make ../gamut/libgamut.a
don't know how to make ../xicc/libxcolorants.a
...found 137 target(s)...
...updating 34 target(s)...
...can't find 4 target(s)...
...can't make 2 target(s)...
Cc rspl.o
rspl.c: In function 'set_rspl':
rspl.c:675: warning: pointer targets in passing argument 3 of 'rpsh_init'
differ in signedness
rspl.c: In function 'scan_set_rspl':
rspl.c:745: warning: pointer targets in passing argument 3 of 'rpsh_init'
differ in signedness
Cc scat.o
Cc rev.o
Cc spline.o
Cc opt.o
Archive librspl.a
Cc c1.o
Link c1
Chmod c1
GUIAPP c1
Cc c1i.o
Link c1i
Chmod c1i
GUIAPP c1i
Cc c1df.o
Link c1df
Chmod c1df
GUIAPP c1df
Cc t2d.o
Link t2d
Chmod t2d
GUIAPP t2d
Cc t2ddf.o
Link t2ddf
Chmod t2ddf
GUIAPP t2ddf
Cc t3d.o
Link t3d
Chmod t3d
GUIAPP t3d
Cc t3ddf.o
Link t3ddf
Chmod t3ddf
GUIAPP t3ddf
Cc tnd.o
Link tnd
Chmod tnd
GUIAPP tnd
Cc trnd.o
Link trnd
Chmod trnd
GUIAPP trnd
Cc revbench.o
revbench.c: In function 'main':
revbench.c:207: warning: pointer targets in passing argument 3 of 'rpsh_init'
differ in signedness
Link revbench
Chmod revbench
GUIAPP revbench
Cc smtnd.o
...skipped smtnd for lack of ../xicc/libxicc.a...
Cc smtmpp.o
...skipped smtmpp for lack of ../xicc/libxicc.a...
Cc sm1.o
Link sm1
Chmod sm1
GUIAPP sm1
Cc sm2.o
Link sm2
Chmod sm2
GUIAPP sm2
Cc sm3.o
Link sm3
Chmod sm3
GUIAPP sm3
...skipped 2 target(s)...
...updated 34 target(s)...
------------
gamut
----------
...found 96 target(s)...
...updating 15 target(s)...
Cc gamut.o
Archive libgamut.a
Cc gammap.o
Cc nearsmth.o
Archive libgammap.a
Cc viewgam.o
Link viewgam
Chmod viewgam
GUIAPP viewgam
Cc maptest.o
Link maptest
Chmod maptest
GUIAPP maptest
Cc smthtest.o
Link smthtest
Chmod smthtest
GUIAPP smthtest
Cc GenRMGam.o
Link GenRMGam
Chmod GenRMGam
GUIAPP GenRMGam
Cc GenVisGam.o
Link GenVisGam
Chmod GenVisGam
GUIAPP GenVisGam
...updated 15 target(s)...
------------
xicc
----------
don't know how to make ../spectro/libinsttypes.a
...found 189 target(s)...
...updating 49 target(s)...
...can't find 1 target(s)...
...can't make 1 target(s)...
Cc xcolorants.o
Archive libxcolorants.a
Cc xutils.o
Archive libxutils.a
Cc xicclu.o
Cc xicc.o
In file included from xicc.c:78:
xlut.c: In function 'new_icxLuLut':
xlut.c:1693: warning: pointer targets in passing argument 7 of
'p->inputTable[i]->set_rspl' differ in signedness
xlut.c:1760: warning: pointer targets in passing argument 7 of
'p->outputTable[i]->set_rspl' differ in signedness
xlut.c: In function 'set_icxLuLut':
xlut.c:3273: warning: pointer targets in passing argument 7 of
'p->inputTable[e]->set_rspl' differ in signedness
Cc xlutfix.o
Cc xspect.o
Cc xsep.o
Cc xdevlin.o
Cc xcam.o
Cc cam97s3.o
Cc cam02.o
Cc mpp.o
Archive libxicc.a
Link xicclu
Chmod xicclu
GUIAPP xicclu
Cc iccgamut.o
Link iccgamut
Chmod iccgamut
GUIAPP iccgamut
Cc tiffgamut.o
Link tiffgamut
Chmod tiffgamut
GUIAPP tiffgamut
Cc revfix.o
Link revfix
Chmod revfix
GUIAPP revfix
Cc mpplu.o
...skipped mpplu for lack of ../spectro/libinsttypes.a...
Cc cam97test.o
Link cam97test
Chmod cam97test
GUIAPP cam97test
Cc cam02test.o
Link cam02test
Chmod cam02test
GUIAPP cam02test
Cc xcolorantslu.o
Link xcolorantslu
Chmod xcolorantslu
GUIAPP xcolorantslu
Cc fbview.o
Link fbview
Chmod fbview
GUIAPP fbview
Cc fakeCMY.o
Link fakeCMY
Chmod fakeCMY
GUIAPP fakeCMY
Cc xfbview.o
Link xfbview
Chmod xfbview
GUIAPP xfbview
Cc icheck.o
Link icheck
Chmod icheck
GUIAPP icheck
Cc spectest.o
Link spectest
Chmod spectest
GUIAPP spectest
Cc transplot.o
Link transplot
Chmod transplot
GUIAPP transplot
Cc cgatsplot.o
Link cgatsplot
Chmod cgatsplot
GUIAPP cgatsplot
Cc cv.o
Link cv
Chmod cv
GUIAPP cv
Cc cvtest.o
Cc cvtest.o
Link cvtest
Chmod cvtest
GUIAPP cvtest
Link cvtest
Chmod cvtest
GUIAPP cvtest
Cc ccttest.o
Link ccttest
Chmod ccttest
GUIAPP ccttest
...skipped 1 target(s)...
...updated 49 target(s)...
------------
spectro
----------
...found 215 target(s)...
...updating 37 target(s)...
Cc printread.o
Cc ../target/alphix.o
../target/alphix.c: In function 'fromanat':
../target/alphix.c:65: warning: incompatible implicit declaration of built-in
function 'strlen'
../target/alphix.c:68: warning: incompatible implicit declaration of built-in
function 'strcpy'
../target/alphix.c: In function 'find_start':
../target/alphix.c:99: warning: incompatible implicit declaration of built-in
function 'strlen'
../target/alphix.c: In function 'patch_location':
../target/alphix.c:386: warning: incompatible implicit declaration of built-in
function 'strlen'
../target/alphix.c:394: warning: incompatible implicit declaration of built-in
function 'strcpy'
../target/alphix.c:395: warning: incompatible implicit declaration of built-in
function 'strcat'
../target/alphix.c:397: warning: incompatible implicit declaration of built-in
function 'strcpy'
../target/alphix.c:398: warning: incompatible implicit declaration of built-in
function 'strcat'
../target/alphix.c: In function 'patch_location_order':
../target/alphix.c:421: warning: incompatible implicit declaration of built-in
function 'strlen'
../target/alphix.c:423: warning: incompatible implicit declaration of built-in
function 'strcpy'
Cc inst.o
Cc insttypes.o
Cc insttypes.o
Cc dtp41.o
Cc dtp51.o
Cc dtp92.o
Cc ss.o
Cc ss_imp.o
Cc unixio.o
unixio.c: In function 'icoms_get_paths':
unixio.c:211: warning: comparison between pointer and integer
Cc pollem.o
Cc usbio.o
Archive libinst.a
Link printread
Chmod printread
GUIAPP printread
Cc spotread.o
Link spotread
Chmod spotread
GUIAPP spotread
Cc filmread.o
Link filmread
Chmod filmread
GUIAPP filmread
Cc displin.o
Link displin
Chmod displin
GUIAPP displin
Cc dispcal.o
Cc dispwin.o
dispwin.c: In function 'dispwin_get_ramdac':
dispwin.c:564: warning: pointer targets in passing argument 6 of
'CGGetDisplayTransferByTable' differ in signedness
Cc dispwin.o
dispwin.c: In function 'dispwin_get_ramdac':
dispwin.c:564: warning: pointer targets in passing argument 6 of
'CGGetDisplayTransferByTable' differ in signedness
Cc ../target/ofps.o
Cc moncurve.o
Cc moncurve.o
Cc dispsup.o
Cc dispsup.o
Link dispcal
Chmod dispcal
GUIAPP dispcal
Cc dispread.o
Link dispread
Chmod dispread
GUIAPP dispread
Cc sa_dispwin.o
dispwin.c: In function 'dispwin_get_ramdac':
dispwin.c:564: warning: pointer targets in passing argument 6 of
'CGGetDisplayTransferByTable' differ in signedness
Link dispwin
Chmod dispwin
GUIAPP dispwin
Cc fakeread.o
Archive libinsttypes.a
Link fakeread
Chmod fakeread
GUIAPP fakeread
Cc spec2cie.o
Link spec2cie
Chmod spec2cie
GUIAPP spec2cie
Cc monctest.o
Link monctest
Chmod monctest
GUIAPP monctest
...updated 37 target(s)...
------------
xicc
----------
...found 189 target(s)...
...updating 1 target(s)...
Link mpplu
Chmod mpplu
GUIAPP mpplu
...updated 1 target(s)...
------------
imdi
----------
...found 110 target(s)...
...updating 19 target(s)...
Cc imdi_make.o
Cc imdi_gen.o
imdi_gen.c: In function 'set_genspec':
imdi_gen.c:133: warning: incompatible implicit declaration of built-in function
'exit'
imdi_gen.c:139: warning: incompatible implicit declaration of built-in function
'exit'
imdi_gen.c:148: warning: incompatible implicit declaration of built-in function
'exit'
imdi_gen.c:177: warning: incompatible implicit declaration of built-in function
'exit'
imdi_gen.c:181: warning: incompatible implicit declaration of built-in function
'exit'
Cc cgen.o
cgen.c: In function 'gen_c_kernel':
cgen.c:177: warning: pointer targets in passing argument 2 of 'strcpy' differ
in signedness
Cc cgen.o
cgen.c: In function 'gen_c_kernel':
cgen.c:177: warning: pointer targets in passing argument 2 of 'strcpy' differ
in signedness
Link imdi_make
Chmod imdi_make
GUIAPP imdi_make
GenFile1 imdi_k.h
Cc imdi.o
Cc imdi_tab.o
Archive libimdi.a
Cc ctest.o
ctest.c: In function 'main':
ctest.c:26: warning: incompatible implicit declaration of built-in function
'memset'
Link ctest
Chmod ctest
GUIAPP ctest
Cc itest.o
Cc refi.o
Link itest
Chmod itest
GUIAPP itest
Cc cctiff.o
Link cctiff
Chmod cctiff
GUIAPP cctiff
Cc cctiffo.o
Link cctiffo
Chmod cctiffo
GUIAPP cctiffo
Cc greytiff.o
Link greytiff
Chmod greytiff
GUIAPP greytiff
...updated 19 target(s)...
------------
target
----------
...found 124 target(s)...
...updating 22 target(s)...
Cc targen.o
Cc ppoint.o
Cc ifarp.o
Cc simplat.o
Cc simdlat.o
Cc prand.o
Link targen
Chmod targen
GUIAPP targen
Cc filmtarg.o
Cc randix.o
Cc randix.o
Link filmtarg
Chmod filmtarg
GUIAPP filmtarg
Cc printtarg.o
printtarg.c: In function 'main':
printtarg.c:2208: warning: pointer targets in passing argument 4 of
'ocg->add_kword' differ in signedness
Link printtarg
Chmod printtarg
GUIAPP printtarg
Cc sa_ppoint.o
Link ppoint
Chmod ppoint
GUIAPP ppoint
Cc sa_ofps.o
Link ofps
Chmod ofps
GUIAPP ofps
Cc sa_ifarp.o
Link ifarp
Chmod ifarp
GUIAPP ifarp
Cc sa_simplat.o
Link simplat
Chmod simplat
GUIAPP simplat
Cc sa_simdlat.o
Link simdlat
Chmod simdlat
GUIAPP simdlat
...updated 22 target(s)...
------------
scanin
----------
...found 76 target(s)...
...updating 4 target(s)...
Cc scanrd.o
scanrd.c: In function 'read_input':
scanrd.c:488: warning: pointer targets in passing argument 3 of 's->read_line'
differ in signedness
scanrd.c:497: warning: pointer targets in passing argument 3 of 's->read_line'
differ in signedness
scanrd.c: In function 'analize':
scanrd.c:654: warning: pointer targets in initialization differ in signedness
scanrd.c:669: warning: pointer targets in passing argument 1 of 'toRGB' differ
in signedness
scanrd.c: In function 'do_value_scan':
scanrd.c:2655: warning: pointer targets in passing argument 3 of 's->read_line'
differ in signedness
scanrd.c: In function 'show_groups':
scanrd.c:2988: warning: pointer targets in initialization differ in signedness
scanrd.c: In function 'scanrd_write_diag':
scanrd.c:3821: warning: pointer targets in passing argument 3 of
's->write_line' differ in signedness
Archive libscanrd.a
Cc scanin.o
Link scanin
Chmod scanin
GUIAPP scanin
...updated 4 target(s)...
------------
profile
----------
...found 133 target(s)...
...updating 27 target(s)...
Cc profin.o
Cc profout.o
Archive libprof.a
Cc sprof.o
Link sprof
Chmod sprof
GUIAPP sprof
Cc profile.o
Link profile
Chmod profile
GUIAPP profile
Cc mpprof.o
Link mpprof
Chmod mpprof
GUIAPP mpprof
Cc mppcheck.o
Link mppcheck
Chmod mppcheck
GUIAPP mppcheck
Cc sepgen.o
Link sepgen
Chmod sepgen
GUIAPP sepgen
Cc profcheck.o
Link profcheck
Chmod profcheck
GUIAPP profcheck
Cc invprofcheck.o
Link invprofcheck
Chmod invprofcheck
GUIAPP invprofcheck
Cc verify.o
Link verify
Chmod verify
GUIAPP verify
Cc kodak2cgats.o
Link kodak2cgats
Chmod kodak2cgats
GUIAPP kodak2cgats
Cc cb2cgats.o
Link cb2cgats
Chmod cb2cgats
GUIAPP cb2cgats
Cc logo2cgats.o
Link logo2cgats
Chmod logo2cgats
GUIAPP logo2cgats
Cc splitcgats.o
Link splitcgats
Chmod splitcgats
GUIAPP splitcgats
...updated 27 target(s)...
------------
link
----------
...found 73 target(s)...
...updating 6 target(s)...
Cc icclink.o
icclink.c: In function 'main':
icclink.c:1964: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icclink.c:1964: warning: pointer targets in passing argument 2 of 'strcpy'
differ in signedness
icclink.c:1982: warning: pointer targets in passing argument 1 of 'strcpy'
differ in signedness
icclink.c:1982: warning: pointer targets in passing argument 2 of 'strcpy'
differ in signedness
Link icclink
Chmod icclink
GUIAPP icclink
Cc monoplot.o
Link monoplot
Chmod monoplot
GUIAPP monoplot
Cc pathplot.o
Link pathplot
Chmod pathplot
GUIAPP pathplot
...updated 6 target(s)...
------------
tweak
----------
...found 63 target(s)...
...updating 2 target(s)...
Cc refine.o
Link refine
Chmod refine
GUIAPP refine
...updated 2 target(s)...
------------
render
----------
...found 32 target(s)...
...updating 4 target(s)...
Cc render.o
Archive librender.a
Cc timage.o
timage.c: In function 'main':
timage.c:136: warning: incompatible implicit declaration of built-in function
'strncpy'
Link timage
Chmod timage
GUIAPP timage
...updated 4 target(s)...
klaus:/Applications/argyll/argyll_dev0.60_src_09Jul06-1 klaus$
- Follow-Ups:
- [argyllcms] Re: "Development in progress" update
- From: Graeme Gill
- References:
- [argyllcms] "Development in progress" update
- From: Graeme Gill
- [argyllcms] Re: "Development in progress" update
- From: Klaus Karcher
- [argyllcms] Re: "Development in progress" update
- From: Graeme Gill
Other related posts:
- » [argyllcms] "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
- » [argyllcms] Re: "Development in progress" update
Klaus Karcher wrote:
------------ libusb ---------- ...found 152 target(s)... ...updating 8 target(s)...
In file included from usb.c:14: usbi.h:4:17: error: usb.h: No such file or directory ...failed Cc usb.o ... error.c:12:17: error: usb.h: No such file or directory ...failed Cc error.o ...
I'd really love to know what version/configuration of gcc it is, that fails to search the . directory when it comes across a #include "file", as it seems to be contrary to the whole purpose of #include "file" !
It does it for a direct include from usb.c, but then fails to do so for the indirect include of usb.h from inside usbi.h. Hard for me to discover, since none of the compilers I'm using (which include three versions of gcc!) seem to behave this way.
usb.c includes "usbi.h" /libusbw/src/usb.c includes "usbi.h" which includes "usb.h" in the same directory.
[...]
------------
render
----------
...found 32 target(s)...
...updating 4 target(s)...
timage.c:136: warning: incompatible implicit declaration of built-in function 'strncpy'
...updated 4 target(s)...
This is a puzzle. strncpy is used in (for instance) profile/profile.c with just
a #include <stdio.h>, and there is no such warning, while for render/timage.c, there
is a warning. Why ?
Try adding #include <string.h> to render/timage.c, and see if the warning goes away.
I will try this later.
Thanks for the report.
you're welcome!
- [argyllcms] Re: "Development in progress" update
- From: Graeme Gill
- [argyllcms] "Development in progress" update
- From: Graeme Gill
- [argyllcms] Re: "Development in progress" update
- From: Klaus Karcher
- [argyllcms] Re: "Development in progress" update
- From: Graeme Gill