[cups.bugs] [HIGH] STR #1539: "ltime" has no linkage

Will l G wlgivens at southkc.net
Thu Apr 6 05:09:38 PDT 2006


[STR New]

Kernel-2.6.16.1
Compaq C 6.5.9
Binutils-2.16.x
Make-3.80

CC="ccache ccc" CXX="ccache cxx" \
 ./configure \
 --prefix=/usr \
 --build=alphapca56-alpha-linux-gnu \
 --host=alphapca56-alpha-linux-gnu \
 --sysconfdir=/etc \
 --localstatedir=/var \
 --with-logdir=/var/log \
 --with-drivers=ALL \
 --enable-cups \
 --with-x \
 --x-includes=/usr/X11R6/include \
 --x-libraries=/usr/X11R6/lib \
 --with-gimp-print

[root at jericho espgs-8.15.1]# ccache ccc  -DHAVE_MKSTEMP -DHAVE_HYPOT -O
-DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -mtune=pca56
-mcpu=pca56 -ansi_alias  -mieee -unroll 2 -w -pipe -D_BSD_SOURCE
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1
-DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1
-DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1
-DTIME_WITH_SYS_TIME=1 -DSIZEOF_UNSIGNED_LONG_INT=8 -DHAVE_LIBM=1
-DHAVE_LIBDL=1 -DHAVE_JPEGLIB_H=1 -DDONT_HAVE_JMEMSYS_H=1 -DHAVE_ZLIB_H=1
-DHAVE_PNG_H=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXT=1
-DHAVE_MKSTEMP=1 -DHAVE_HYPOT=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1
-DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1
-DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_BZERO=1
-DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1
-DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1
-DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1
-DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1
-DHAVE_STRSPN=1 -DHAVE_STRSTR=1  -I./src -I./obj -I./obj -I./src  -o
../obj/zdevcal.o -c ./src/zdevcal.c
cc: Error: ./src/zdevcal.c, line 45: In this declaration, "ltime" has no
linkage and is of an incomplete type. (incompnolink)
    struct tm ltime;
--------------^
cc: Error: ./src/zdevcal.c, line 47: In the initializer for
items[0].offset, "tm_year" is not a member of "((struct tm ...)0)".
(needmember)
        {"Year", gs_param_type_int, offset_of(struct tm, tm_year)},
------------------------------------^
cc: Error: ./src/zdevcal.c, line 48: In the initializer for
items[1].offset, "tm_mon" is not a member of "((struct tm ...)0)".
(needmember)
        {"Month", gs_param_type_int, offset_of(struct tm, tm_mon)},
-------------------------------------^
cc: Error: ./src/zdevcal.c, line 49: In the initializer for
items[2].offset, "tm_mday" is not a member of "((struct tm ...)0)".
(needmember)
        {"Day", gs_param_type_int, offset_of(struct tm, tm_mday)},
-----------------------------------^
cc: Error: ./src/zdevcal.c, line 50: In the initializer for
items[3].offset, "tm_wday" is not a member of "((struct tm ...)0)".
(needmember)
        {"Weekday", gs_param_type_int, offset_of(struct tm, tm_wday)},
---------------------------------------^
cc: Error: ./src/zdevcal.c, line 51: In the initializer for
items[4].offset, "tm_hour" is not a member of "((struct tm ...)0)".
(needmember)
        {"Hour", gs_param_type_int, offset_of(struct tm, tm_hour)},
------------------------------------^
cc: Error: ./src/zdevcal.c, line 52: In the initializer for
items[5].offset, "tm_min" is not a member of "((struct tm ...)0)".
(needmember)
        {"Minute", gs_param_type_int, offset_of(struct tm, tm_min)},
--------------------------------------^
cc: Error: ./src/zdevcal.c, line 53: In the initializer for
items[6].offset, "tm_sec" is not a member of "((struct tm ...)0)".
(needmember)
        {"Second", gs_param_type_int, offset_of(struct tm, tm_sec)},
--------------------------------------^
cc: Error: ./src/zdevcal.c, line 63: In this statement, "*pltime" has
incomplete type, and so cannot be used as an rvalue. (incompvalue)
        ltime = *pltime;
----------------^
[root at jericho espgs-8.15.1]#

Link: http://www.cups.org/str.php?L1539
Version: 8.15-current





More information about the cups-devel mailing list