Problem compiling star on Debian squeeze
Ruud Baart <[email protected]> Fri, 24 Jun 2011 09:11:59 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Organization | IT's Prompt or never ... |
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------050302050109040607030108
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
I have compiled star many times in different Debian systems. After=20
downloading the needed dev-packages and after first compiling smake I=20
usually manage to compile star without problems. On Debian Squeeze (the=20
latest version of Debian) I can't compile star. Any help would be nice.
This is the error:
In file included from avoffset.c:32:
../include/schily/schily.h:246: error: conflicting types for =91getline=92
/usr/include/stdio.h:651: note: previous declaration of =91getline=92 was=
here
When I remove the definition of getline in schily.h I get other similar=20
errors. After I have removed all other conflicting declarations, smake=20
fails to compile star because the definitions are not correct.
I attach the output of smake (perhaps the list refuses attachements).=20
This is the result without modifying any include file.
--=20
Regards,
Ruud Baart
--------------050302050109040607030108
Content-Type: text/plain;
name="smake.out"
Content-Disposition: attachment;
filename="smake.out"
Content-Transfer-Encoding: quoted-printable
=3D=3D> MAKING DIRECTORY "incs"
Trying to find cc
Found cc
Creating empty 'incs/Dcc.i686-linux', using cc as default compiler
=3D=3D> MAKING DIRECTORY "incs/i686-linux-cc/Inull"
=3D=3D> CONFIGURING RULES "incs/i686-linux-cc/rules.cnf"
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking if /bin/sh is bash... yes
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX/OS2 environment... no
checking for executable suffix... no
checking for executable calling suffix... no
checking how to run the C preprocessor... cc -E
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for ANSI C header files... yes
checking for UNIX-98 compliant inttypes.h... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if select needs nonstd include files... no
checking if sys/select.h is needed for select... no
checking if sys/socket.h is needed for select... no
checking for stdio.h... yes
checking for varargs.h... no
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for stddef.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for unistd.h... yes
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for a.out.h... yes
checking for aouthdr.h... no
checking for elf.h... yes
checking for malloc.h... yes
checking for sgtty.h... yes
checking for termios.h... yes
checking for termio.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for sys/acl.h... yes
checking for acllib.h... no
checking for acl/libacl.h... yes
checking for signal.h... yes
checking for siginfo.h... no
checking for sys/siginfo.h... no
checking for ucontext.h... yes
checking for shadow.h... yes
checking for syslog.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for sys/ioctl.h... yes
checking for sys/filio.h... no
checking for sys/param.h... yes
checking for sys/systeminfo.h... no
checking for sys/sysctl.h... yes
checking for sys/syscall.h... yes
checking for mach/machine.h... no
checking for mntent.h... yes
checking for sys/mntent.h... no
checking for sys/mnttab.h... no
checking for sys/mount.h... yes
checking for wait.h... yes
checking for sys/resource.h... yes
checking for procfs.h... no
checking for sys/procfs.h... yes
checking for sys/utsname.h... yes
checking for sys/priocntl.h... no
checking for sys/rtpriocntl.h... no
checking for sys/procset.h... no
checking for sys/mtio.h... yes
checking for sys/tape.h... no
checking for sys/mman.h... yes
checking for linux/pg.h... yes
checking for camlib.h... no
checking for sys/shm.h... yes
checking for sys/ipc.h... yes
checking for sys/dkio.h... no
checking for sys/dklabel.h... no
checking for sun/dkio.h... no
checking for sun/dklabel.h... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for types.h... no
checking for stat.h... no
checking for sys/stypes.h... no
checking for sys/filedesc.h... no
checking for poll.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for netdb.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for stropts.h... yes
checking for ieeefp.h... no
checking for fp.h... no
checking for values.h... yes
checking for float.h... yes
checking for arpa/inet.h... yes
checking for bsd/dev/scsireg.h... no
checking for sys/bsdtty.h... no
checking for linux/types.h... yes
checking for linux/gfp.h... no
checking for asm/types.h... yes
checking for OS.h... no
checking for ext2fs/ext2_fs.h... yes
checking for attr/xattr.h... yes
checking for crt_externs.h... no
checking for fnmatch.h... yes
checking for libintl.h... yes
checking for locale.h... yes
checking for langinfo.h... yes
checking for nl_types.h... yes
checking for wctype.h... yes
checking for wchar.h... yes
checking for iconv.h... yes
checking for priv.h... no
checking for exec_attr.h... no
checking for secdb.h... no
checking for direct.h... no
checking for pthread.h... yes
checking for thread.h... no
checking for header file containing major(), minor() and makedev()... sy=
s/sysmacros.h
checking bits in minor device number... 32
checking whether bits in minor device numbers are non contiguous... yes
checking for _filbuf()... no
checking for __filbuf()... no
checking for USG derived STDIO... no
checking for errno definition in errno.h... yes
checking for sys_siglist definition in signal.h... yes
checking for working const... yes
checking whether byte ordering is bigendian... no
checking whether bitorder in bitfields is htol... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for type long long... yes
checking for type __int64... no
checking for prototypes... yes
checking if compiler allows dynamic arrays... yes
checking for uid_t in sys/types.h... (cached) yes
checking for size_t... yes
checking for ssize_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for time_t... yes
checking for caddr_t... yes
checking for daddr_t... yes
checking for dev_t... yes
checking for major_t... no
checking for minor_t... no
checking for ino_t... yes
checking for nlink_t... yes
checking for blksize_t... no
checking for blkcnt_t... yes
checking for clock_t... yes
checking for socklen_t... yes
checking for greg_t... no
checking if stack_t is declared in signal.h... yes
checking if siginfo_t is declared in signal.h... yes
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking size of char... 1
checking size of short int... 2
checking size of int... 4
checking size of long int... 4
checking size of long long... 8
checking size of __int64... 0
checking size of char *... 4
checking size of unsigned char... 1
checking size of unsigned short int... 2
checking size of unsigned int... 4
checking size of unsigned long int... 4
checking size of unsigned long long... 8
checking size of unsigned __int64... 0
checking size of unsigned char *... 4
checking size of time_t... 4
checking if char is unsigned... no
checking if va_list is an array... no
checking for struct timeval in time.h or sys/time.h... yes
checking for struct timezone in time.h or sys/time.h... yes
checking if struct mtget contains mt_type... yes
checking if struct mtget contains mt_model... no
checking if struct mtget contains mt_dsreg... yes
checking if struct mtget contains mt_dsreg1... no
checking if struct mtget contains mt_dsreg2... no
checking if struct mtget contains mt_gstat... yes
checking if struct mtget contains mt_erreg... yes
checking if struct mtget contains mt_resid... yes
checking if struct mtget contains mt_fileno... yes
checking if struct mtget contains mt_blkno... yes
checking if struct mtget contains mt_flags... no
checking if struct mtget contains mt_bf... no
checking if struct rusage is declared in sys/resource.h... yes
checking if struct siginfo contains si_utime... no
checking if struct sockaddr_storage is declared in socket.h... yes
checking if an illegal declaration for union semun in sys/sem.h exists...=
no
checking if union wait is declared in wait.h or sys/wait.h... yes
checking if struct stat contains st_spare1... no
checking if struct stat contains st_atimensec... no
checking if struct stat contains st_atim.tv_nsec... yes
checking if struct stat contains st_atim.st__tim.tv_nsec... no
checking if struct stat contains st_atimespec.tv_nsec... no
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking if struct stat contains st_fstype... no
checking if struct stat contains st_aclcnt... no
checking for st_rdev in struct stat... yes
checking if struct stat contains st_flags... no
checking if struct dirent contains d_ino... yes
checking if DIR * contains dd_fd... no
checking if struct utsname contains processor... no
checking if struct utsname contains sysname_host... no
checking if struct utsname contains release_host... no
checking if struct utsname contains version_host... no
checking if stat is declared... yes
checking if lstat is declared... yes
checking for wait3 that fills in rusage... yes
checking for mlock... yes
checking for mlockall... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for working ecvt() ... yes
checking for working fcvt() ... yes
checking for working gcvt() ... yes
checking for __dtoa... no
checking for __dtoa that needs result ptr... no
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for mmap that needs ptr to size... no
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for mmap that needs ptr to size... (cached) no
checking if mmap works to get shared memory... yes
checking for working alloca.h... yes
checking for alloca... yes
checking if quotactl is an ioctl... no
checking for file locking via fcntl... yes
checking for uname... yes
checking for vfork.h... no
checking for working vfork... yes
checking for sys_siglist... yes
checking for BSD compliant getpgrp... no
checking for BSD compliant setpgrp... no
checking for C99 compliant isinf... yes
checking for C99 compliant isnan... yes
checking for sigsetjmp... yes
checking for siglongjmp... yes
checking for access... yes
checking for eaccess... yes
checking for euidaccess... yes
checking for memchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for brk... yes
checking for sbrk... yes
checking for strerror... yes
checking for nice... yes
checking for flock... yes
checking for lockf... yes
checking for fchdir... yes
checking for statvfs... yes
checking for quotactl... yes
checking for realpath... yes
checking for resolvepath... no
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for shmat... yes
checking for semget... yes
checking for lstat... yes
checking for readlink... yes
checking for symlink... yes
checking for link... yes
checking for rename... yes
checking for mkfifo... yes
checking for mknod... yes
checking for setreuid... yes
checking for setresuid... yes
checking for seteuid... yes
checking for setuid... yes
checking for setregid... yes
checking for setresgid... yes
checking for setegid... yes
checking for setgid... yes
checking for getuid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getegid... yes
checking for getpid... yes
checking for getppid... yes
checking for getpgid... yes
checking for setpgid... yes
checking for getsid... yes
checking for setsid... yes
checking for getpgrp... yes
checking for setpgrp... yes
checking for getspnam... yes
checking for getspwnam... no
checking for sync... yes
checking for fsync... yes
checking for fork... yes
checking for wait... yes
checking for wait4... yes
checking for waitid... yes
checking for waitpid... yes
checking for getrusage... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for ulimit... yes
checking for execl... yes
checking for execle... yes
checking for execlp... yes
checking for execv... yes
checking for execve... yes
checking for execvp... yes
checking for getexecname... no
checking for gethostid... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for getpagesize... (cached) yes
checking for getdtablesize... yes
checking for gettimeofday... yes
checking for settimeofday... yes
checking for time... yes
checking for stime... yes
checking for gethrtime... no
checking for ftime... yes
checking for tzset... yes
checking for mktime... yes
checking for gmtime... yes
checking for localtime... yes
checking for timegm... yes
checking for timelocal... yes
checking for ctime... yes
checking for cftime... no
checking for ascftime... no
checking for strftime... yes
checking for poll... yes
checking for select... yes
checking for isastream... yes
checking for chown... yes
checking for fchown... yes
checking for lchown... yes
checking for chmod... yes
checking for fchmod... yes
checking for lchmod... no
checking for times... yes
checking for utime... yes
checking for utimes... yes
checking for futimes... yes
checking for lutimes... yes
checking for ecvt_r... yes
checking for fcvt_r... yes
checking for gcvt_r... no
checking for econvert... no
checking for fconvert... no
checking for gconvert... no
checking for isinf... yes
checking for isnan... yes
checking for rand... yes
checking for drand48... yes
checking for strtol... yes
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking for strtod... yes
checking for setpriority... yes
checking for DosSetPriority... no
checking for DosAllocSharedMem... no
checking for seekdir... yes
checking for fdopendir... yes
checking for openat... yes
checking for fstatat... yes
checking for fchownat... yes
checking for futimesat... yes
checking for renameat... yes
checking for unlinkat... yes
checking for attropen... no
checking for __accessat... no
checking for mkdirat... yes
checking for faccessat... yes
checking for fchmodat... yes
checking for linkat... yes
checking for mkfifoat... yes
checking for mknodat... yes
checking for readlinkat... yes
checking for symlinkat... yes
checking for popen... yes
checking for pclose... yes
checking for _popen... no
checking for _pclose... no
checking for strsignal... yes
checking for str2sig... no
checking for sig2str... no
checking for kill... yes
checking for killpg... yes
checking for signal... yes
checking for sigrelse... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for sigset... yes
checking for sleep... yes
checking for usleep... yes
checking for yield... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for putenv... yes
checking for setenv... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strncpy... yes
checking for strlcpy... no
checking for strdup... yes
checking for valloc... yes
checking for madvise... yes
checking for mktemp... yes
checking for mkstemp... yes
checking for chflags... no
checking for fchflags... no
checking for fflagstostr... no
checking for strtofflags... no
checking for fnmatch... yes
checking for truncate... yes
checking for ftruncate... yes
checking for getppriv... no
checking for setppriv... no
checking for priv_set... no
checking for setlocale... yes
checking for localeconv... yes
checking for nl_langinfo... yes
checking for clone_area... no
checking for create_area... no
checking for delete_area... no
checking if dirfd is defined or function... yes
checking if we may not define our own malloc()... no
checking for working extern long timezone ... yes
checking if link() allows hard links on symlinks... yes
checking if link() does not folow symlinks... yes
checking for unistd.h... (cached) yes
checking if access() does implement E_OK... no
checking for fseeko()... yes
checking for ftello()... yes
checking for rcmd in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for rcmd... yes
checking for socket... yes
checking for socketpair... yes
checking for getservbyname... yes
checking for inet_ntoa... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for res_init in -lc... no
checking for res_init in -lresolv... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking if system supports Large Files at all... yes
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for gettext in -lc... yes
checking for gettext... yes
checking for iconv_open in -lc... yes
checking for iconv... yes
checking for iconv_open... yes
checking for iconv_close... yes
checking for libiconv... no
checking for libiconv_open... no
checking for libiconv_close... no
checking for Posix Access Control List support
checking for acl_get_file in -lacl... yes
checking for acl_get_file in -lpacl... no
checking for acl_get_file... yes
checking for acl_set_file... yes
checking for acl_from_text... yes
checking for acl_to_text... yes
checking for acl_free... yes
checking for acl_delete_def_file... yes
checking for acl_extended_file... yes
checking for Solaris Access Control List support
checking for acltotext in -lsec... no
checking for acl... no
checking for facl... no
checking for aclfromtext... no
checking for acltotext... no
checking for HP-UX Access Control List support
checking for getacl... no
checking for fgetacl... no
checking for setacl... no
checking for fsetacl... no
checking for strtoacl... no
checking for acltostr... no
checking for cpacl... no
checking for fcpacl... no
checking for chownacl... no
checking for setaclentry... no
checking for fsetaclentry... no
checking for Linux flavor Extended Attribute support
checking for getxattr in -lattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for listxattr... yes
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for llistxattr... yes
checking for RBAC support
checking for getuserattr in -lsecdb... no
checking for getauthattr... no
checking for getuserattr... no
checking for getexecattr... no
checking for getprofattr... no
checking for gmatch() support
checking for gmatch in -lgen... no
checking for gmatch... no
checking for thr_yield... no
checking for pthread_create in -lpthread... yes
checking for pthread_create... yes
checking for pthread_kill... yes
checking for pthread_mutex_lock... yes
checking for pthread_cond_wait... yes
checking for pthread_spin_lock... yes
checking for clock_gettime in -lc... no
checking for clock_gettime in -lrt... yes
checking for clock_gettime... yes
checking for clock_settime... yes
checking for clock_getres... yes
checking for sched_getparam... yes
checking for sched_setparam... yes
checking for sched_getscheduler... yes
checking for sched_setscheduler... yes
checking for sched_yield... yes
checking for nanosleep... yes
checking for /dev/tty... yes
checking for /dev/null... yes
checking for /dev/zero... yes
checking if Linux include file linux/ext2_fs.h is broken... yes
checking if Linux include file /usr/src/linux/include/linux/ext2_fs.h is =
broken... yes
checking if Linux include file scsi/scsi.h is broken... no
checking if Linux include file /usr/src/linux/include/scsi/scsi.h is brok=
en... yes
checking if Linux include file scsi/sg.h is broken... no
checking if Linux include file /usr/src/linux/include/scsi/sg.h is broken=
... no
Warning: *** /usr/src/linux/include contains broken include files ***
Warning: *** /usr/src/linux/include is not used this reason ***
Warning: This may result in the inability to use recent Linux kernel inte=
rfaces
Warning: *** linux/ext2_fs.h is not usable at all ***
Warning: *** This makes it impossible to support Linux file flags ***
You may try to compile using 'make COPTX=3D-DTRY_EXT2_FS'
updating cache ./config.cache
creating ./config.status
creating rules.cnf
creating xconfig.h
=3D=3D> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
=3D=3D> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
=3D=3D> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
=3D=3D> MAKING DIRECTORY "OBJ/i686-linux-cc"
=3D=3D> MAKING DEPENDENCIES "align_test.d"
=3D=3D> COMPILING "align_test.o"
=3D=3D> LINKING "OBJ/i686-linux-cc/align_test"
=3D=3D> GENERATING include file "../incs/i686-linux-cc/align.h"
=3D=3D> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
=3D=3D> MAKING DEPENDENCIES "avoffset.d"
=3D=3D> COMPILING "avoffset.o"
In file included from avoffset.c:32:
../include/schily/schily.h:246: error: conflicting types for =E2=80=98get=
line=E2=80=99
/usr/include/stdio.h:651: note: previous declaration of =E2=80=98getline=E2=
=80=99 was here
/opt/schily/bin/smake: Operation not permitted. *** Code 1 from command l=
ine for target 'avoffset.o'.
/opt/schily/bin/smake: The following command caused the error:
echo " =3D=3D> COMPILING \"avoffset.o\""; gcc -O -DSCHILY_BUILD -IOBJ=
/i686-linux-cc -I../incs/i686-linux-cc -I../include -DUSE_SCANSTACK -D_=
_OPRINTF__ -c -o OBJ/i686-linux-cc/avoffset.o avoffset.c =20
/opt/schily/bin/smake: Couldn't make 'all'.
/opt/schily/bin/smake: Leaving '/opt/schily/bin/smake'[2] from directory=
'/usr/local/src/star-1.5/inc'
/opt/schily/bin/smake: Default commandline target: 'all'
/opt/schily/bin/smake: Doing exit(1)
/opt/schily/bin/smake: Operation not permitted. *** Code 1 from command l=
ine for target 'all'.
/opt/schily/bin/smake: The following command caused the error:
for MK in align_test.mk avoffset.mk ; \
do \
( \
if [ -r ./$MK ] ; then \
echo " =3D=3D> MAKING \"all\" ON SUBCOMPONENT \"SRCROOT/inc/$MK\""; "/=
opt/schily/bin/smake" -f $MK XARCH=3Di686-linux-cc all;\
else \
echo "NOTICE: Partial source (SRCROOT/inc/$MK) missing";\
fi \
); \
done
/opt/schily/bin/smake: Couldn't make 'all'.
/opt/schily/bin/smake: Leaving '/opt/schily/bin/smake'[1] from directory=
'/usr/local/src/star-1.5/inc'
/opt/schily/bin/smake: Default commandline target: 'all'
/opt/schily/bin/smake: Doing exit(1)
/opt/schily/bin/smake: Operation not permitted. *** Code 1 from command l=
ine for target 'all'.
/opt/schily/bin/smake: The following command caused the error:
list=3D""; \
if [ -d TARGETS -a -f TARGETS/__slot ]; then \
list=3D`echo TARGETS/[0-9][0-9]* | sed -e 's;TARGETS/[0-9][0-9];;g' | s=
ed -e 's;!@!;/;g'`;\
fi; \
for DIR in ${list} ; \
do \
( \
echo " =3D=3D> MAKING \"all\" ON SUBDIRECTORY \"SRCROOT/$DIR\"";\
if [ -d ./$DIR -a -r ./$DIR/Makefile ] ; then \
cd ./$DIR;"/opt/schily/bin/smake" XARCH=3Di686-linux-cc DIRNAME=3DSRC=
ROOT/$DIR all; \
else \
echo "NOTICE: Partial source (SRCROOT/$DIR) missing";\
fi \
); \
done
/opt/schily/bin/smake: Couldn't make 'all'.
...sh conf/cc-config.sh cc cc incs/Dcc.i686-linux
--------------050302050109040607030108
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users
--------------050302050109040607030108--