HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Hylafax Build Failure



Here is my nightmare:

The failure message: FreeBSD 4.0 tiff-3.5.4 and tiff-3.5.5

###

----------------------------------------------------------
With:
TIFFINC=/usr/local/include
LIBTIFF=-L/usr/local/lib -ltiff
The above program checks the version of the TIFF library to ensure it
is suitable for use with HylaFAX.  HylaFAX v4.0pl2 requires a recent
TIFF software distribution; one distributed March 7, 1996 or later.  If
you do not have up to date TIFF software on your system then you can
retrieve it from the location where you obtained this software.
Otherwise, if you have the right software, verify that you have the
TIFFINC and LIBTIFF configuration parameters set correctly for your
system (see above) and that any environment variables are setup that
are needed to locate a libtiff DSO at runtime (e.g. LD_LIBRARY_PATH).
Also be sure that any relative pathnames are made relative to the top
of the build area.
Unrecoverable error!  Once you've corrected the problem rerun this script.
###################



And here is the config.log
Fri Jul 28 15:09:02 EAT 2000

This file contains information that was captured from running the configure
script.  Lines that begin with a "+" are command lines echoed by the
shell.  Other lines are the output of commands; usually the contents of
test case files or the output from compilers.  If configure does the
wrong thing, use the information captured here to aid in debugging.

+ . ./config.site
TARGET: i386-unknown-freebsd4.0
RELEASE: 4.0-RELEASE
+ cat dummy.c
main(int argc, char* argv) { exit(0); }
+ cat xgnu.c
#ifdef __GNUC__
yes;
#endif
+ gcc -E xgnu.c
+ egrep yes
yes;
+ gcc -o dummy dummy.c
+ /usr/local/bin/gcc -g -c dummy.c
+ cat dummy.c
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ /usr/local/bin/gcc -E dummy.c
+ grep ANSICPP
A=  ANSICPP  ;
+ cat dummy.c
#ifdef __ANSI_CPP__
yes
#else
no
#endif
+ /usr/local/bin/gcc -E dummy.c
+ grep no
no
+ cat dummy.c
main(int argc, char* argv) { exit(0); }
+ /usr/local/bin/gcc -c -M dummy.c
+ grep ^dummy.o[ 	]*:[ 	]*dummy.c
dummy.o: dummy.c
+ cat dummy.C
class foo {
public:
    struct bar {
	int a;
	bar();
    };
    foo();
};
foo::bar::bar() { a = 0; }
foo::foo() { bar x; }
int main() { foo t; return 0; }
+ cat xgnu.c
#ifdef __GNUC__
yes;
#endif
+ gcc -E xgnu.c
+ egrep yes
yes;
+ test 281 -ge 261
+ gcc -o dummy dummy.C
+ /usr/local/bin/gcc -c -g dummy.C
+ cat dummy.C
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ /usr/local/bin/gcc -E dummy.C
+ grep ANSICPP
A=  ANSICPP  ;
+ /usr/local/bin/gcc -E dummy.C
+ grep no
no
+ cat dummy.C
/* this comment should be stripped */
something else just in case
and another line also
+ /usr/local/bin/gcc -E dummy.C
+ grep comment
+ cat confMakefile
include xmakeinc
all:
+ make -f confMakefile
+ cat confMakefile
sinclude xMakedepend
all:
+ make -f confMakefile
"confMakefile", line 1: Need an operator
make: fatal errors encountered -- cannot continue
+ cat dummy.C
#include "new.h"
struct foo {
    int x;
    foo();
    ~foo();
};
foo::foo() {}
foo::~foo() {}
int main()
{
    foo* ptr = 0;
    foo* a = new(ptr) foo;
    a->x = 0;
    delete a;
    return 0;
}
+ /usr/local/bin/gcc -o dummy dummy.C
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ t.c++
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ t.c++
+ cat t.c
int t() { iopen(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -limage
/usr/libexec/elf/ld: cannot open -limage: No such file or directory
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
int t() { mallopt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lmalloc
/usr/libexec/elf/ld: cannot open -lmalloc: No such file or directory
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
int t() { crypt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
/tmp/ccxr14561.o: In function `t':
/usr/home/wash/Software/hylafax-v4.0pl2/t.c:1: undefined reference to `crypt'
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
int t() { crypt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lcrypt
+ cat t.c
int t() { strftime(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { socket(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { logwtmp(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lutil
+ cat t.c
int t() { ftruncate(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { flock(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { openlog(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { pututxline(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
/tmp/ccMX15681.o: In function `t':
/usr/home/wash/Software/hylafax-v4.0pl2/t.c:1: undefined reference to `pututxline'
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
int t() { pututxline(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lgen
/usr/libexec/elf/ld: cannot open -lgen: No such file or directory
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
int t() { memmove(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { strdup(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { strtoul(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { strerror(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { memmove(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { random(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lc
+ cat t.c
int t() { floor(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lm
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
# 1 "t.c++"
# 1 "/usr/include/termios.h" 1 3
 






































 



















 
















 









 


















 









 



























 

































typedef unsigned int	tcflag_t;
typedef unsigned char	cc_t;
typedef unsigned int	speed_t;

struct termios {
	tcflag_t	c_iflag;	 
	tcflag_t	c_oflag;	 
	tcflag_t	c_cflag;	 
	tcflag_t	c_lflag;	 
	cc_t		c_cc[20 ];	 
	speed_t		c_ispeed;	 
	speed_t		c_ospeed;	 
};

 









 








































# 1 "/usr/include/sys/cdefs.h" 1 3
 

















































 





























# 106 "/usr/include/sys/cdefs.h" 3


 






















 















 



















# 175 "/usr/include/sys/cdefs.h" 3

# 192 "/usr/include/sys/cdefs.h" 3






















# 243 "/usr/include/termios.h" 2 3


extern "C" { 
speed_t	cfgetispeed  (const struct termios *)  ;
speed_t	cfgetospeed  (const struct termios *)  ;
int	cfsetispeed  (struct termios *, speed_t)  ;
int	cfsetospeed  (struct termios *, speed_t)  ;
int	tcgetattr  (int, struct termios *)  ;
int	tcsetattr  (int, int, const struct termios *)  ;
int	tcdrain  (int)  ;
int	tcflow  (int, int)  ;
int	tcflush  (int, int)  ;
int	tcsendbreak  (int, int)  ;


void	cfmakeraw  (struct termios *)  ;
int	cfsetspeed  (struct termios *, speed_t)  ;

} 





 




# 1 "/usr/include/sys/ttycom.h" 1 3
 











































# 1 "/usr/include/sys/ioccom.h" 1 3
 






































 





















 






extern "C" { 
int	ioctl  (int, unsigned long, ...)  ;
} 




# 45 "/usr/include/sys/ttycom.h" 2 3


 




 



struct winsize {
	unsigned short	ws_row;		 
	unsigned short	ws_col;		 
	unsigned short	ws_xpixel;	 
	unsigned short	ws_ypixel;	 
};














						 


						 

						 






						 






						 












































# 272 "/usr/include/termios.h" 2 3



 





# 1 "/usr/include/sys/ttydefaults.h" 1 3
 








































 





 








 





















 




 


 










# 281 "/usr/include/termios.h" 2 3


# 1 "t.c++" 2

+ cat t.c++
#include "sys/bsdtypes.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/bsdtypes.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "sys/types.h"
+ make -f confMakefile t
typedef	u_int32_t	uid_t;		 
+ cat t.c++
#include "sys/types.h"
+ make -f confMakefile t
typedef	u_int32_t	gid_t;		 
+ cat t.c++
#include "sys/types.h"
#include "stdlib.h"
+ make -f confMakefile t
typedef	u_int16_t	mode_t;		 
+ cat t.c++
#include "sys/types.h"
#include "stdlib.h"
+ make -f confMakefile t
typedef	__int64_t 	off_t;		 
int	 ftruncate  (int, off_t)  ;
off_t	 lseek  (int, off_t, int)  ;
void *	 mmap  (void *, size_t, int, int, int, off_t)  ;
int	 truncate  (const char *, off_t)  ;
+ cat t.c++
#include "sys/types.h"
#include "stdlib.h"
+ make -f confMakefile t
typedef	int 	pid_t;		 
+ cat t.c++
#include "sys/types.h"
#include "stdlib.h"
+ make -f confMakefile t
typedef	unsigned int	vm_size_t;
typedef	unsigned int 	size_t;
typedef	int 	ssize_t;
void *	 mmap  (void *, size_t, int, int, int, off_t)  ;
void	*bsearch  (const void *, const void *, size_t,
	    size_t, int (*)(const void *, const void *))  ;
void	*calloc  (size_t, size_t)  ;
void	*malloc  (size_t)  ;
void	 qsort  (void *, size_t, size_t,
void	*realloc  (void *, size_t)  ;
int	 mblen  (const char *, size_t)  ;
size_t	 mbstowcs  (wchar_t *, const char *, size_t)  ;
int	 mbtowc  (wchar_t *, const char *, size_t)  ;
size_t	 wcstombs  (char *, const wchar_t *, size_t)  ;
void	*alloca  (size_t)  ;		 
int	 heapsort  (void *, size_t, size_t,
int	 mergesort  (void *, size_t, size_t,
void    *reallocf  (void *, size_t)  ;
+ cat t.c++
#include "sys/types.h"
#include "stdlib.h"
+ make -f confMakefile t
typedef	u_int32_t	dev_t;		 
+ cat t.c++
#include "osfcn.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: osfcn.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "sys/select.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
# 1 "t.c++"
# 1 "/usr/include/sys/select.h" 1 3
 






































 



struct selinfo {
	pid_t	si_pid;		 
	short	si_flags;	 
};










# 1 "t.c++" 2

+ cat t.c++
#include <sys/types.h>
#include <signal.h>
void sigHUP(int) {}
void f() { (void) signal(SIGHUP, (sig_t) (sigHUP)); }
int main() { f(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -pedantic-errors -O -x c++ -c t.c++
+ cat t.c++
#include <sys/types.h>
#include <signal.h>
void sigHUP(int) {}
void f() {
    struct sigvec sv;
    sv.sv_handler = (sig_t) (sigHUP);
    (void) sigvec(SIGHUP, &sv, (struct sigvec*) 0);
}
int main() { f(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -pedantic-errors -O -x c++ -c t.c++
+ cat t.c++
#include <sys/types.h>
#include <signal.h>
void sigHUP(int) {}
void f() {
    struct sigaction sa;
    sa.sa_handler = (sig_t) (sigHUP);
    (void) sigaction(SIGHUP, &sa, (struct sigaction*) 0);
}
int main() { f(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -pedantic-errors -O -x c++ -c t.c++
+ cat t.c
extern int getpagesize(); main(){getpagesize();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat m.c
/* part of this was lifted from GNU autoconf */
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>
extern char* malloc();
static void
boom(const char* msg)
{
    printf("%s.\n", msg);
    exit(1);
}

int
main()
{
    const char* filename = "conftestmmap";
    char* buf;
    char* addr;
    int i, fd, cc;

    cc = getpagesize();
    buf = malloc(cc);
    for (i = 0; i < cc; ++i)
	buf[i] = rand();
    fd = open(filename, O_WRONLY|O_CREAT, 0666);
    if (fd < 0)
	boom("Cannot open test file");
    if (write(fd, buf, cc) != cc)
	boom("Write to test file failed");
    close(fd);
    fd = open(filename, O_RDONLY);
    if (fd < 0)
	boom("Cannot reopen test file");
    addr = (char*) mmap(0, cc, PROT_READ, MAP_SHARED, fd, 0);
    if (addr == (char*) -1)
	boom("Cannot mmap test file");
    for (i = 0; i < cc; ++i)
	if (buf[i] != addr[i])
	    boom("Compare of mmap-file contents failed");
    exit(0);
}
+ make -f confMakefile m
/usr/local/bin/gcc m.c  -lcrypt -lutil -lm
+ ./a.out
+ cat t.c++
#include "sys/mman.h"
+ make -f confMakefile t
void *	mmap  (void *, size_t, int, int, int, off_t)  ;
+ cat t.c++
#include "stdio.h"
#include "unistd.h"
+ make -f confMakefile t
int	 mkstemp  (char *)  ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
char	*strerror  (int)  ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
int	 strncasecmp  (const char *, const char *, size_t)  ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
int	 strcasecmp  (const char *, const char *)  ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
char	*strdup  (const char *)  ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
void	*memset  (void *, int, size_t)  ;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
+ cat t.c++
#include "math.h"
#include "stdlib.h"
+ make -f confMakefile t
	 arc4random  (void)  ;
void	 arc4random_addrandom  (unsigned char *dat, int datlen)  ;
long	 random  (void)  ;
void	 srandom  (unsigned long)  ;
+ cat t.c++
#include "math.h"
#include "stdlib.h"
+ make -f confMakefile t
void	 srandom  (unsigned long)  ;
+ cat t.c++
#include "math.h"
+ make -f confMakefile t
extern double floor  (double)  ;
+ cat t.c++
#include "sys/wait.h"
+ make -f confMakefile t
pid_t	waitpid  (pid_t, int *, int)  ;
+ cat t.c
extern int sysconf(); main(){sysconf();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
long	 sysconf  (int)  ;
+ cat t.c
extern int ulimit(); main(){ulimit();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
/tmp/cclT21631.o: In function `main':
/tmp/cclT21631.o(.text+0x4): undefined reference to `ulimit'
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
extern int getdtablesize(); main(){getdtablesize();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 getdtablesize  (void)  ;
+ cat t.c
#include "limits.h"
#ifdef _POSIX_OPEN_MAX
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c
#include "sys/types.h"
#ifdef howmany
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c++
#include "signal.h"
+ make -f confMakefile t
int	sigvec  (int, struct sigvec *, struct sigvec *)  ;
+ cat t.c++
#include "signal.h"
+ make -f confMakefile t
int	sigaction  (int, const struct sigaction *, struct sigaction *)  ;
+ cat t.c++
#include "signal.h"
+ make -f confMakefile t
int	kill  (int , int)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 close  (int)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
uid_t	 getuid  (void)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
uid_t	 geteuid  (void)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 seteuid  (uid_t)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 setegid  (gid_t)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 ftruncate  (int, off_t)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 getdtablesize  (void)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 chroot  (const char *)  ;
+ cat t.c++
#include "unistd.h"
#include "sys/select.h"
#include "sys/time.h"
#include "sys/types.h"
+ make -f confMakefile t
int	 select  (int, fd_set *, fd_set *, fd_set *, struct timeval *)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 unlink  (const char *)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
ssize_t	 read  (int, void *, size_t)  ;
ssize_t	 pread  (int, void *, size_t, off_t)  ;
+ cat t.c++
#include "unistd.h"
#include "sys/ioctl.h"
+ make -f confMakefile t
int	ioctl  (int, unsigned long, ...)  ;
+ cat t.c
extern int fchown(); main(){fchown();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 fchown  (int, uid_t, gid_t)  ;
+ cat t.c++
#include "unistd.h"
+ make -f confMakefile t
int	 gethostname  (char *, int)  ;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
void	*malloc  (size_t)  ;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
void	*realloc  (void *, size_t)  ;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
void	 free  (void *)  ;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
	 strtoul  (const char *, char **, int)  ;
+ cat t.c++
#include "stdio.h"
+ make -f confMakefile t
+ cat t.c++
#include "stdlib.h"
#include "unistd.h"
+ make -f confMakefile t
int	 getopt  (int, char * const [], const char *)  ;
+ cat t.c++
#include "stdlib.h"
#include "unistd.h"
+ make -f confMakefile t
int	 isatty  (int)  ;
+ cat t.c++
#include "stdlib.h"
#include "unistd.h"
+ make -f confMakefile t
extern char *optarg;			 
extern char *suboptarg;			 
+ cat t.c++
#include "stdlib.h"
#include "unistd.h"
+ make -f confMakefile t
extern int optind, opterr, optopt;
+ cat t.c++
#include "stdlib.h"
#include "unistd.h"
+ make -f confMakefile t
extern int optind, opterr, optopt;
+ cat t.c++
#include "stdlib.h"
+ make -f confMakefile t
int	 system  (const char *)  ;
+ cat t.c++
#include "stdio.h"
#include "unistd.h"
+ make -f confMakefile t
char	*mktemp  (char *)  ;
+ cat t.c++
#include "stdio.h"
+ make -f confMakefile t
FILE	*popen  (const char *, const char *)  ;
+ cat t.c++
#include "stdio.h"
+ make -f confMakefile t
int	 pclose  (FILE *)  ;
+ cat t.c++
#include "stdio.h"
+ make -f confMakefile t
FILE	*fdopen  (int, const char *)  ;
+ cat t.c
#include "stdio.h"
#ifdef fileno
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c++
#include "dirent.h"
+ make -f confMakefile t
DIR *opendir  (const char *)  ;
+ cat t.c++
#include "syslog.h"
+ make -f confMakefile t
void	syslog  (int, const char *, ...)   __attribute__((__format__ (__printf__,  2 ,   3 ))) ;
void	vsyslog  (int, const char *, char * )   __attribute__((__format__ (__printf__,  2 ,   0 ))) ;
+ cat t.c++
#include "syslog.h"
+ make -f confMakefile t
void	vsyslog  (int, const char *, char * )   __attribute__((__format__ (__printf__,  2 ,   0 ))) ;
+ cat t.c++
#include "syslog.h"
+ make -f confMakefile t
void	closelog  (void)  ;
+ cat t.c++
#include "syslog.h"
+ make -f confMakefile t
void	openlog  (const char *, int, int)  ;
+ cat t.c
extern int fchmod(); main(){fchmod();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c++
#include "unistd.h"
#include "libc.h"
#include "sys/stat.h"
+ make -f confMakefile t
t.c++:2: libc.h: No such file or directory
int	fchmod  (int, mode_t)  ;
+ cat t.c++
#include "unistd.h"
#include "sys/stat.h"
+ make -f confMakefile t
int	 mknod  (const char *, mode_t, dev_t)  ;
+ cat t.c++
#include "sys/time.h"
+ make -f confMakefile t
int	gettimeofday  (struct timeval *, struct timezone *)  ;
+ cat t.c++
#include "time.h"
+ make -f confMakefile t
size_t strftime  (char *, size_t, const char *, const struct tm *)  ;
+ cat t.c++
#include "time.h"
+ make -f confMakefile t
struct tm *localtime  (const time_t *)  ;
+ cat t.c++
#include <time.h>
main()
{
    struct tm x;
    char* cp;
    long off;
    cp = x.tm_zone;
    off = x.tm_gmtoff;
    return 0;
}
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ t.c++
+ cat t.c++
#include "sys/time.h"
+ make -f confMakefile t
int	setitimer  (int, const struct itimerval *, struct itimerval *)  ;
+ cat t.c++
#include "pwd.h"
+ make -f confMakefile t
void		 setpwent  (void)  ;
+ cat t.c++
#include "pwd.h"
+ make -f confMakefile t
void		 endpwent  (void)  ;
+ cat t.c++
#include "pwd.h"
+ make -f confMakefile t
struct passwd	*getpwnam  (const char *)  ;
+ cat t.c++
#include "ctype.h"
+ make -f confMakefile t
int	toupper  (int)  ;
int 	___toupper  (int )  ;
__toupper(int  _c)
	return (_c < 0 || _c >= (1 <<8 ) ) ? ___toupper(_c) :
+ cat t.c++
#include "ctype.h"
+ make -f confMakefile t
int	tolower  (int)  ;
int 	___tolower  (int )  ;
__tolower(int  _c)
	return (_c < 0 || _c >= (1 <<8 ) ) ? ___tolower(_c) :
+ cat t.c++
#include "net/errno.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: net/errno.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	getpeername  (int, struct sockaddr *, socklen_t *)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	getsockname  (int, struct sockaddr *, socklen_t *)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	socket  (int, int, int)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	connect  (int, const struct sockaddr *, socklen_t)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	bind  (int, const struct sockaddr *, socklen_t)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	listen  (int, int)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	getsockopt  (int, int, int, void *, socklen_t *)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	setsockopt  (int, int, int, const void *, socklen_t)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
int	accept  (int, struct sockaddr *, socklen_t *)  ;
+ cat t.c++
#include "sys/socket.h"
+ make -f confMakefile t
ssize_t	send  (int, const void *, size_t, int)  ;
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ cat t.c++
#include "netdb.h"
+ make -f confMakefile t
struct hostent	*gethostbyname  (const char *)  ;
+ cat t.c++
#include "netdb.h"
+ make -f confMakefile t
struct hostent	*gethostbyaddr  (const char *, int, int)  ;
+ cat t.c++
#include "netdb.h"
+ make -f confMakefile t
struct servent	*getservbyname  (const char *, const char *)  ;
+ cat t.c
#include "sys/file.h"
#ifdef LOCK_SH
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c++
#include "sys/file.h"
+ make -f confMakefile t
int	flock  (int, int)  ;
+ cat t.c++
#include "setjmp.h"
+ make -f confMakefile t
int	sigsetjmp  (sigjmp_buf, int)  ;
+ cat t.c++
#include "arpa/inet.h"
+ make -f confMakefile t
char		* __inet_ntoa   (struct in_addr)  ;
+ cat t.c++
#include "sys/mkdev.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/mkdev.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "locale.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
# 1 "t.c++"
# 1 "/usr/include/locale.h" 1 3
 





































struct lconv {
	char	*decimal_point;
	char	*thousands_sep;
	char	*grouping;
	char	*int_curr_symbol;
	char	*currency_symbol;
	char	*mon_decimal_point;
	char	*mon_thousands_sep;
	char	*mon_grouping;
	char	*positive_sign;
	char	*negative_sign;
	char	int_frac_digits;
	char	frac_digits;
	char	p_cs_precedes;
	char	p_sep_by_space;
	char	n_cs_precedes;
	char	n_sep_by_space;
	char	p_sign_posn;
	char	n_sign_posn;
};















# 1 "/usr/include/sys/cdefs.h" 1 3
 

















































 





























# 106 "/usr/include/sys/cdefs.h" 3


 






















 















 



















# 175 "/usr/include/sys/cdefs.h" 3

# 192 "/usr/include/sys/cdefs.h" 3






















# 74 "/usr/include/locale.h" 2 3


extern "C" { 
struct lconv	*localeconv  (void)  ;
char		*setlocale  (int, const char *)  ;
} 


# 1 "t.c++" 2

+ cat t.c++
#include "paths.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
# 1 "t.c++"
# 1 "/usr/include/paths.h" 1 3
 





































# 1 "/usr/include/sys/cdefs.h" 1 3
 

















































 





























# 106 "/usr/include/sys/cdefs.h" 3


 






















 















 



















# 175 "/usr/include/sys/cdefs.h" 3

# 192 "/usr/include/sys/cdefs.h" 3






















# 39 "/usr/include/paths.h" 2 3


 

 






















 








 
extern "C" { 
const char *getbootfile  (void)  ;
} 


# 1 "t.c++" 2

+ cat t.c++
#include "sys/modem.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/modem.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "sys/termiox.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: sys/termiox.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
extern int flock(); main(){flock();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
int t() { logout(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O t.c -lutil
+ cat t.c
#include "paths.h"
#ifdef _PATH_DEV
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c
#include "paths.h"
#ifdef _PATH_DEVNULL
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c
#include "paths.h"
#ifdef _PATH_TMP
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c++
#include "utmpx.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: utmpx.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
#include "paths.h"
#include "utmp.h"
#ifdef _PATH_UTMP
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c++
#include <utmp.h>
main()
{
    struct utmp x;
    x.ut_exit.e_exit = 0;
    x.ut_exit.e_termination = 0;
    return 0;
}
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ t.c++
In file included from t.c++:1:
/usr/include/utmp.h:54: syntax error before `;'
/usr/include/utmp.h:63: syntax error before `;'
t.c++: In function `int main()':
t.c++:5: `struct utmp' has no member named `ut_exit'
t.c++:6: `struct utmp' has no member named `ut_exit'
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
#include "paths.h"
#include "utmp.h"
#ifdef _PATH_WTMP
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c
#include "sys/priocntl.h"
#include "sys/rtpriocntl.h"
#ifdef RT_NOCHANGE
FOUND
#endif
+ make -f confMakefile t
t.c:1: sys/priocntl.h: No such file or directory
t.c:2: sys/rtpriocntl.h: No such file or directory
+ cat t.c
#include "sys/priocntl.h"
#include "sys/fppriocntl.h"
#ifdef FP_NOCHANGE
FOUND
#endif
+ make -f confMakefile t
t.c:1: sys/priocntl.h: No such file or directory
t.c:2: sys/fppriocntl.h: No such file or directory
+ cat t.c
#include "sys/schedctl.h"
#ifdef NDPRI
FOUND
#endif
+ make -f confMakefile t
t.c:1: sys/schedctl.h: No such file or directory
+ cat t.c
#include "sys/rtprio.h"
#ifdef RTPRIO_RTOFF
FOUND
#endif
+ make -f confMakefile t
+ cat t.c
#include <sys/ioctl.h>
main()
{
    ioctl(0, TXADDCD, "rts");
    ioctl(0, TXDELCD, "rts");
}
+ make -f confMakefile t
/usr/local/bin/gcc t.c
t.c: In function `main':
t.c:4: `TXADDCD' undeclared (first use in this function)
t.c:4: (Each undeclared identifier is reported only once
t.c:4: for each function it appears in.)
t.c:5: `TXDELCD' undeclared (first use in this function)
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "crypt.h"
+ make -f confMakefile t
/usr/local/bin/gcc        -D__ANSI_CPP__ -I. -I. -I.  -I././util -I/usr/local/include -I././regex -g -O -x c++ -E t.c++
t.c++:1: crypt.h: No such file or directory
# 1 "t.c++"

*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c++
#include "unistd.h"
#include "stdlib.h"
+ make -f confMakefile t
char	*crypt  (const char *, const char *)  ;
int	 encrypt  (char *, int)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	cfsetospeed  (struct termios *, speed_t)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	cfsetispeed  (struct termios *, speed_t)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcgetattr  (int, struct termios *)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcsetattr  (int, int, const struct termios *)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcsendbreak  (int, int)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcdrain  (int)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcflush  (int, int)  ;
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
int	tcflow  (int, int)  ;
+ cat t.c
extern int cuserid(); main(){cuserid();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
/tmp/ccHL36831.o: In function `main':
/tmp/ccHL36831.o(.text+0x4): undefined reference to `cuserid'
*** Error code 1

Stop in /usr/home/wash/Software/hylafax-v4.0pl2.
+ cat t.c
extern int flock(); main(){flock();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int ftruncate(); main(){ftruncate();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int getopt(); main(){getopt();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int mkstemp(); main(){mkstemp();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int random(); main(){random();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int srandom(); main(){srandom();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int setegid(); main(){setegid();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int seteuid(); main(){seteuid();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int setvbuf(); main(){setvbuf();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int strcasecmp(); main(){strcasecmp();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int strtod(); main(){strtod();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int strtoul(); main(){strtoul();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
extern int writev(); main(){writev();exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
#include <syslog.h>
#include "port.h"
main(){syslog(0,"foo");exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
#include <syslog.h>
#include <stdarg.h>
#include "port.h"
main(){va_list ap; vsyslog(0,"foo", ap);exit(0);}
+ make -f confMakefile t
/usr/local/bin/gcc t.c  -lcrypt -lutil -lm
+ cat t.c
#include "tiffio.h"
main()
{
    if (TIFFLIB_VERSION < 19960307) {     /* check include file version */
	printf("old include files: version %u\n", TIFFLIB_VERSION);
        exit(-1);
    }
    if (strncmp(TIFFGetVersion(), "LIBTIFF, Version 3.4", 20) != 0) {
	printf("old library: version %s\n", TIFFGetVersion());
	exit(-1);
    } else
	exit(0);
}
+ make -f confMakefile t
/usr/local/bin/gcc  -I/usr/local/include t.c -L/usr/local/lib -ltiff  -lcrypt -lutil -lm
+ ./a.out
old library: version LIBTIFF, Version 3.5.5
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.


What haven't I done guys????


Wash

--
Odhiambo Washington
Systems Administrator
Inter-Connect Ltd.
5th Flr Furaha Plaza
Nkrumah Rd
PO Box 83613 Mombasa
Tel: 254 11 222604
Fax: 254 11 222636

The act is unjustifiable that either begs for a blessing, or, having succeeded 
gives no thanksgiving. 
-Francis Quarles 


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions