Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] FreeBSD4.10 Hylafax4.2.3 Modem?
Hi All,
Ive been bashing my head around for the past week trying to figure out
which open-source Fax Server/Module to use for our company given the
huge volumes of Faxes to be sent and should be programmable or have an
API. So finally we decided on Hylafax, and got myself the ball(tar
hylafax-4.2.3.tar.gz) and tried to install it on a FreeBSD4.10. However,
after following the steps 1)./configure, 2)make, 3)sudo make install,
i'm unable to locate the "faxsetup" script and thus can not proceed. I
am attaching the log output to standard output(configure.txt) as well as
config.log after running configure script. Kindly advise as to what is
wrong.
I have a external serial fax modem that supports 1.0, 2 and 2.0 called
as D-Link DFM-562E++ V.92
(http://www.dlink.co.in/dlink/Products/Modem/dfm562e++.htm). Is it
possible to use this?
Otherwise please advise which latest Fax Modem should we buy,
considering the huge volumes (10000 faxes a day) to be dispatched.
Kindly recommend a newer Modem that works in FreeBSD4.10 and is well
supported by Hylafax4.2.3.
I've gone through the websites of Multitech and Zyxel and do not seem to
find the modems that are recommended in http://www.hylafax.org/modems.
sincerely looking forward to some positive response.
thanks,
Arvind
Fri Dec 16 19:03:11 IST 2005
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.10
RELEASE: 4.10-YAHOO-20040606
+ 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/bin/gcc -g -c dummy.c
+ cat dummy.c
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ /usr/bin/gcc -E dummy.c
+ grep ANSICPP
A= ANSICPP ;
+ cat dummy.c
#ifdef __ANSI_CPP__
yes
#else
no
#endif
+ /usr/bin/gcc -E dummy.c
+ grep no
no
+ cat dummy.c
main(int argc, char* argv) { exit(0); }
+ /usr/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
+ g++ -E xgnu.c
+ egrep yes
yes;
+ g++ -o dummy dummy.C
+ /usr/bin/g++ -c -g dummy.C
+ cat dummy.C
#define ansiIDENT(a) a
#define ansiCAT(a,b) a##b
A=ansiCAT(ANSI,CPP);
+ /usr/bin/g++ -E dummy.C
+ grep ANSICPP
A= ANSICPP ;
+ /usr/bin/g++ -E dummy.C
+ grep no
no
+ cat dummy.C
/* this comment should be stripped */
something else just in case
and another line also
+ /usr/bin/g++ -E dummy.C
+ grep comment
+ cat dummy.C
int main()
{
bool success = false;
return 0;
}
+ /usr/bin/g++ dummy.C
+ 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/bin/g++ -o dummy dummy.C
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c++
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c++
+ cat t.c
int t() { iopen(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -limage
/usr/libexec/elf/ld: cannot find -limage
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { mallopt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lmalloc
/usr/libexec/elf/ld: cannot find -lmalloc
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { pam_authenticate(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lpam
+ cat t.c++
#include "security/pam_appl.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/security/pam_appl.h" 1
# 1 "/usr/include/security/_pam_types.h" 1
# 1 "/usr/include/locale.h" 1
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
# 106 "/usr/include/sys/cdefs.h"
# 198 "/usr/include/sys/cdefs.h"
# 215 "/usr/include/sys/cdefs.h"
# 295 "/usr/include/sys/cdefs.h"
# 324 "/usr/include/sys/cdefs.h"
# 74 "/usr/include/locale.h" 2
extern "C" {
struct lconv *localeconv (void) ;
char *setlocale (int, const char *) ;
}
# 24 "/usr/include/security/_pam_types.h" 2
typedef struct pam_handle pam_handle_t;
extern int pam_set_item(pam_handle_t *pamh, int item_type, const void *item);
extern int pam_get_item(const pam_handle_t *pamh, int item_type,
const void **item);
extern const char *pam_strerror(pam_handle_t *pamh, int errnum);
extern int pam_putenv(pam_handle_t *pamh, const char *name_value);
extern const char *pam_getenv(pam_handle_t *pamh, const char *name);
extern char **pam_getenvlist(pam_handle_t *pamh);
extern int pam_fail_delay(pam_handle_t *pamh, unsigned int musec_delay);
struct pam_log_state {
char *ident;
int option;
int facility;
};
# 1 "/usr/include/syslog.h" 1
# 90 "/usr/include/syslog.h"
# 155 "/usr/include/syslog.h"
# 1 "/usr/include/machine/ansi.h" 1
typedef int __attribute__((__mode__(__DI__))) __int64_t;
typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
typedef union {
char __mbstate8[128];
__int64_t _mbstateL;
} __mbstate_t;
# 191 "/usr/include/syslog.h" 2
extern "C" {
void closelog (void) ;
void openlog (const char *, int, int) ;
int setlogmask (int) ;
void syslog (int, const char *, ...) __attribute__((__format__ (__printf__, 2 , 3 ))) ;
void vsyslog (int, const char *, char * ) __attribute__((__format__ (__printf__, 2 , 0 ))) ;
}
# 208 "/usr/include/security/_pam_types.h" 2
# 1 "/usr/include/stdarg.h" 1
typedef char *va_list;
# 216 "/usr/include/security/_pam_types.h" 2
extern void pam_vsystem_log(const pam_handle_t *pamh,
const struct pam_log_state *log_state,
int priority, const char *format, va_list args);
extern void pam_system_log(const pam_handle_t *pamh,
const struct pam_log_state *log_state,
int priority, const char *format, ... );
struct pam_message {
int msg_style;
const char *msg;
};
struct pam_response {
char *resp;
int resp_retcode;
};
struct pam_conv {
int (*conv)(int num_msg, const struct pam_message **msg,
struct pam_response **resp, void *appdata_ptr);
void *appdata_ptr;
};
# 1 "/usr/include/security/pam_appl.h" 1
# 100 "/usr/include/security/pam_appl.h"
# 315 "/usr/include/security/_pam_types.h" 2
# 1 "/usr/include/security/pam_modules.h" 1
# 1 "/usr/include/linker_set.h" 1
# 84 "/usr/include/linker_set.h"
struct linker_set {
int ls_length;
void *ls_items[1];
};
# 44 "/usr/include/security/pam_modules.h" 2
# 1 "/usr/include/security/_pam_types.h" 1
# 356 "/usr/include/security/_pam_types.h"
# 47 "/usr/include/security/pam_modules.h" 2
extern int pam_set_data(pam_handle_t *pamh, const char *module_data_name,
void *data,
void (*cleanup)(pam_handle_t *pamh, void *data,
int error_status));
extern int pam_get_data(const pam_handle_t *pamh,
const char *module_data_name, const void **data);
extern int pam_get_user(pam_handle_t *pamh, const char **user
, const char *prompt);
struct pam_module {
const char *name;
int (*pam_sm_authenticate)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
int (*pam_sm_setcred)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
int (*pam_sm_acct_mgmt)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
int (*pam_sm_open_session)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
int (*pam_sm_close_session)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
int (*pam_sm_chauthtok)(pam_handle_t *pamh, int flags,
int argc, const char **argv);
};
# 129 "/usr/include/security/pam_modules.h"
# 151 "/usr/include/security/pam_modules.h"
# 172 "/usr/include/security/pam_modules.h"
# 1 "/usr/include/security/_pam_compat.h" 1
# 108 "/usr/include/security/_pam_compat.h"
# 208 "/usr/include/security/pam_modules.h" 2
# 316 "/usr/include/security/_pam_types.h" 2
# 35 "/usr/include/security/pam_appl.h" 2
extern int pam_start(const char *service_name, const char *user,
const struct pam_conv *pam_conversation,
pam_handle_t **pamh);
extern int pam_end(pam_handle_t *pamh, int pam_status);
extern int pam_authenticate(pam_handle_t *pamh, int flags);
extern int pam_setcred(pam_handle_t *pamh, int flags);
extern int pam_acct_mgmt(pam_handle_t *pamh, int flags);
extern int pam_open_session(pam_handle_t *pamh, int flags);
extern int pam_close_session(pam_handle_t *pamh, int flags);
extern int pam_chauthtok(pam_handle_t *pamh, int flags);
# 1 "t.c++" 2
+ cat t.c
int t() { jbg_enc_init(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -ljbig
/usr/libexec/elf/ld: cannot find -ljbig
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { crypt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
/tmp/ccjZ7KR6.o: In function `t':
/homes/arvindt/MINT/hylafax/hylafax-4.2.3/t.c:1: undefined reference to `crypt'
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { crypt(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lcrypt
+ cat t.c
int t() { strftime((void*)0, 0, (void*)0, (void*)0); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { socket(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { logwtmp(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lutil
+ cat t.c
int t() { ftruncate(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { flock(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { openlog(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { pututxline(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
/tmp/cclIjvDy.o: In function `t':
/homes/arvindt/MINT/hylafax/hylafax-4.2.3/t.c:1: undefined reference to `pututxline'
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { pututxline(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lgen
/usr/libexec/elf/ld: cannot find -lgen
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
int t() { memmove(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { strdup(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { strtoul(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { strerror(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { memmove(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { random(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lc
+ cat t.c
int t() { floor(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lm
+ cat t.c++
#include "termios.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/termios.h" 1
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
# 106 "/usr/include/sys/cdefs.h"
# 198 "/usr/include/sys/cdefs.h"
# 215 "/usr/include/sys/cdefs.h"
# 295 "/usr/include/sys/cdefs.h"
# 324 "/usr/include/sys/cdefs.h"
# 247 "/usr/include/termios.h" 2
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
# 1 "/usr/include/sys/ioccom.h" 1
extern "C" {
int ioctl (int, unsigned long, ...) ;
}
# 45 "/usr/include/sys/ttycom.h" 2
struct winsize {
unsigned short ws_row;
unsigned short ws_col;
unsigned short ws_xpixel;
unsigned short ws_ypixel;
};
# 276 "/usr/include/termios.h" 2
# 1 "/usr/include/sys/ttydefaults.h" 1
# 285 "/usr/include/termios.h" 2
# 1 "t.c++" 2
+ cat t.c++
#include "sys/bsdtypes.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: sys/bsdtypes.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ 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 "stdint.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: stdint.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c++
#include "sys/types.h"
+ make -f confMakefile t
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
typedef __intptr_t intptr_t;
typedef __uintptr_t uintptr_t;
+ cat t.c++
#include "osfcn.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: osfcn.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c++
#include "sys/select.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/sys/select.h" 1
# 1 "/usr/include/sys/event.h" 1
# 51 "/usr/include/sys/event.h"
struct kevent {
uintptr_t ident;
short filter;
u_short flags;
u_int fflags;
intptr_t data;
void *udata;
};
# 1 "/usr/include/sys/queue.h" 1
# 1 "/usr/include/machine/ansi.h" 1
typedef int __attribute__((__mode__(__DI__))) __int64_t;
typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t;
typedef __signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
typedef union {
char __mbstate8[128];
__int64_t _mbstateL;
} __mbstate_t;
# 40 "/usr/include/sys/queue.h" 2
# 169 "/usr/include/sys/queue.h"
# 247 "/usr/include/sys/queue.h"
# 373 "/usr/include/sys/queue.h"
# 390 "/usr/include/sys/queue.h"
# 464 "/usr/include/sys/queue.h"
# 474 "/usr/include/sys/queue.h"
# 484 "/usr/include/sys/queue.h"
# 494 "/usr/include/sys/queue.h"
# 513 "/usr/include/sys/queue.h"
# 557 "/usr/include/sys/queue.h"
# 112 "/usr/include/sys/event.h" 2
struct knote;
struct klist { struct knote *slh_first; } ;
# 173 "/usr/include/sys/event.h"
# 1 "/usr/include/sys/cdefs.h" 1
# 106 "/usr/include/sys/cdefs.h"
# 198 "/usr/include/sys/cdefs.h"
# 215 "/usr/include/sys/cdefs.h"
# 295 "/usr/include/sys/cdefs.h"
# 324 "/usr/include/sys/cdefs.h"
# 175 "/usr/include/sys/event.h" 2
struct timespec;
extern "C" {
int kqueue (void) ;
int kevent (int kq, const struct kevent *changelist, int nchanges,
struct kevent *eventlist, int nevents,
const struct timespec *timeout) ;
}
# 40 "/usr/include/sys/select.h" 2
struct selinfo {
pid_t si_pid;
struct klist si_note;
short si_flags;
};
# 1 "t.c++" 2
+ cat t.c++
#include "new"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/g++/new" 1
#pragma interface "new"
# 1 "/usr/include/stddef.h" 1
# 1 "/usr/include/machine/ansi.h" 1
typedef int __attribute__((__mode__(__DI__))) __int64_t;
typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t;
typedef __signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
typedef union {
char __mbstate8[128];
__int64_t _mbstateL;
} __mbstate_t;
# 41 "/usr/include/stddef.h" 2
typedef int ptrdiff_t;
typedef int rune_t;
typedef unsigned int size_t;
# 8 "/usr/include/g++/new" 2
# 1 "/usr/include/g++/exception" 1
#pragma interface "exception"
extern "C++" {
namespace std {
class exception {
public:
exception () { }
virtual ~exception () { }
virtual const char* what () const;
};
class bad_exception : public exception {
public:
bad_exception () { }
virtual ~bad_exception () { }
};
typedef void (*terminate_handler) ();
typedef void (*unexpected_handler) ();
terminate_handler set_terminate (terminate_handler);
void terminate () __attribute__ ((__noreturn__));
unexpected_handler set_unexpected (unexpected_handler);
void unexpected () __attribute__ ((__noreturn__));
bool uncaught_exception ();
}
}
# 9 "/usr/include/g++/new" 2
extern "C++" {
namespace std {
class bad_alloc : public exception {
public:
virtual const char* what() const throw() { return "bad_alloc"; }
};
struct nothrow_t {};
extern const nothrow_t nothrow;
typedef void (*new_handler)();
new_handler set_new_handler (new_handler);
}
void *operator new (size_t) throw (std::bad_alloc);
void *operator new[] (size_t) throw (std::bad_alloc);
void operator delete (void *) throw();
void operator delete[] (void *) throw();
void *operator new (size_t, const std::nothrow_t&) throw();
void *operator new[] (size_t, const std::nothrow_t&) throw();
void operator delete (void *, const std::nothrow_t&) throw();
void operator delete[] (void *, const std::nothrow_t&) throw();
inline void *operator new(size_t, void *place) throw() { return place; }
inline void *operator new[](size_t, void *place) throw() { return place; }
}
# 1 "t.c++" 2
+ cat t.c++
#include "sys/types.h"
#include "sys/socket.h"
+ make -f confMakefile t
typedef __uint32_t socklen_t;
socklen_t msg_namelen;
socklen_t msg_controllen;
socklen_t cmsg_len;
int accept (int, struct sockaddr *, socklen_t *) ;
int bind (int, const struct sockaddr *, socklen_t) ;
int connect (int, const struct sockaddr *, socklen_t) ;
int getpeername (int, struct sockaddr *, socklen_t *) ;
int getsockname (int, struct sockaddr *, socklen_t *) ;
int getsockopt (int, int, int, void *, socklen_t *) ;
ssize_t recvfrom (int, void *, size_t, int, struct sockaddr *, socklen_t *) ;
size_t, int, const struct sockaddr *, socklen_t) ;
int setsockopt (int, int, int, const void *, socklen_t) ;
+ 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -pedantic-errors -O -c t.c++
+ 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -pedantic-errors -O -c t.c++
+ cat t.c
extern int getpagesize(); main(){getpagesize();exit(0);}
+ make -f confMakefile t
/usr/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/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 "sys/mman.h"
+ make -f confMakefile t
int munmap (void *, size_t) ;
+ cat t.c++
#include "string.h"
+ make -f confMakefile t
void bzero (void *, size_t) ;
+ cat t.c++
#include "stdlib.h"
#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"
#include "unistd.h"
+ make -f confMakefile t
char *getpass (const char *) ;
+ 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/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/bin/gcc t.c -lcrypt -lutil -lm
/tmp/cc5aLmir.o: In function `main':
/tmp/cc5aLmir.o(.text+0x7): undefined reference to `ulimit'
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
extern int getdtablesize(); main(){getdtablesize();exit(0);}
+ make -f confMakefile t
/usr/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"
#include "sys/socket.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"
#include "sys/socket.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) ;
pid_t rfork_thread (int, void *, int (*) (void *) , void *) ;
+ 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/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 "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 "stdlib.h"
#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"
+ make -f confMakefile t
int snprintf (char *, size_t, const char *, ...) __attribute__((__format__ (__printf__, 3 , 4 ))) ;
int vsnprintf (char *, size_t, const char *, char * )
+ cat t.c++
#include "stdio.h"
+ make -f confMakefile t
int vsnprintf (char *, size_t, const char *, 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/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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: net/errno.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: sys/mkdev.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c++
#include "locale.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/locale.h" 1
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
# 106 "/usr/include/sys/cdefs.h"
# 198 "/usr/include/sys/cdefs.h"
# 215 "/usr/include/sys/cdefs.h"
# 295 "/usr/include/sys/cdefs.h"
# 324 "/usr/include/sys/cdefs.h"
# 74 "/usr/include/locale.h" 2
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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
# 1 "t.c++"
# 1 "/usr/include/paths.h" 1
# 1 "/usr/include/sys/cdefs.h" 1
# 106 "/usr/include/sys/cdefs.h"
# 198 "/usr/include/sys/cdefs.h"
# 215 "/usr/include/sys/cdefs.h"
# 295 "/usr/include/sys/cdefs.h"
# 324 "/usr/include/sys/cdefs.h"
# 40 "/usr/include/paths.h" 2
extern "C" {
const char *getbootfile(void);
}
# 1 "t.c++" 2
+ cat t.c++
#include "sys/modem.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: sys/modem.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c++
#include "sys/termiox.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: sys/termiox.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c
extern int flock(); main(){flock();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ cat t.c
int t() { logout(); return 0; }
int main(){ t(); return 0; }
+ make -f confMakefile t
/usr/bin/gcc -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O t.c -lutil
+ cat t.c++
#include "utmp.h"
+ make -f confMakefile t
+ 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: utmpx.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ 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/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O 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 /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ 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 "unistd.h"
#include "sched.h"
#ifdef _POSIX_PRIORITY_SCHEDULING
FOUND
#endif
+ make -f confMakefile t
FOUND
+ cat t.c
#include <sys/ioctl.h>
main()
{
ioctl(0, TXADDCD, "rts");
ioctl(0, TXDELCD, "rts");
}
+ make -f confMakefile t
/usr/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 /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ cat t.c++
#include "crypt.h"
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -E t.c++
t.c++:1: crypt.h: No such file or directory
# 1 "t.c++"
*** Error code 1
Stop in /home/arvindt/MINT/hylafax/hylafax-4.2.3.
+ 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
#include <stdio.h>
#include "tiffio.h"
main()
{
printf( "header_ver=%d lib_ver=%s", TIFFLIB_VERSION, TIFFGetVersion() );
exit(0);
}
+ make -f confMakefile t
/usr/bin/gcc -I/usr/local/include t.c -L/usr/local/lib -ltiff -lcrypt -lutil -lm
+ make -f confMakefile t
/usr/bin/g++ -D__ANSI_CPP__ -I. -I. -I././regex -I. -I././util -I/usr/local/include -g -O -lpam t.c++
+ cat t.c
extern int flock(); main(){flock();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int ftruncate(); main(){ftruncate();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int getopt(); main(){getopt();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int mkstemp(); main(){mkstemp();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int random(); main(){random();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int srandom(); main(){srandom();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int setegid(); main(){setegid();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int seteuid(); main(){seteuid();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int setvbuf(); main(){setvbuf();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int snprintf(); main(){snprintf();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int strcasecmp(); main(){strcasecmp();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int strtod(); main(){strtod();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int strtoul(); main(){strtoul();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int vsnprintf(); main(){vsnprintf();exit(0);}
+ make -f confMakefile t
/usr/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
extern int writev(); main(){writev();exit(0);}
+ make -f confMakefile t
/usr/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/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/bin/gcc t.c -lcrypt -lutil -lm
+ cat t.c
#include "zlib.h"
main()
{
if (strcmp(ZLIB_VERSION, "0.95") < 0) { /* include file version */
printf("old include files: version %u\n", ZLIB_VERSION);
exit(-1);
}
if (strncmp(zlib_version, ZLIB_VERSION, 4) != 0) {
printf("library/header file incompatibility: %s %s\n",
zlib_version, ZLIB_VERSION);
exit(-1);
} else {
exit(0);
}
}
+ make -f confMakefile t
/usr/bin/gcc t.c -lz -lcrypt -lutil -lm
+ ./a.out
+ /usr/bin/nawk -v BAR=bar
function foo(x) {
print "GOT" x
}
BEGIN { foo(BAR) }
+ grep GOTbar
GOTbar
+ mkfifo conffifo
+ /usr/bin/mkfifo conffifo
+ /bin/mv -f t.c t.o
+ rm -f t.c
+ /bin/ln -s foo t.c
+ /usr/bin/uuencode -m port.h foo
begin-base64 444 foo
LyoKICogV2FybmluZywgdGhpcyBmaWxlIHdhcyBhdXRvbWF0aWNhbGx5IGNyZWF0ZWQgYnkgdGhl
IEh5bGFGQVggY29uZmlndXJlIHNjcmlwdAogKiBWRVJTSU9OOgkgNC4yLjMKICogREFURToJIEZy
aSBEZWMgMTYgMTk6MDM6MTEgSVNUIDIwMDUKICogVEFSR0VUOgkgaTM4Ni11bmtub3duLWZyZWVi
c2Q0LjEwCiAqIFJFTEVBU0U6CSA0LjEwLVlBSE9PLTIwMDQwNjA2CiAqIENDT01QSUxFUjoJIC91
c3IvYmluL2djYy0yLjk1LjQKICogQ1hYQ09NUElMRVI6CSAvdXNyL2Jpbi9nKystMi45NS40CiAq
LwojaWZuZGVmIF9QT1JUXwojZGVmaW5lIF9QT1JUXyAxCiNpZmRlZiBfX2NwbHVzcGx1cwpleHRl
cm4gIkMiIHsKI2VuZGlmCiNkZWZpbmUgQ09ORklHX09QRU5GSUZPIE9fUkRXUgojZGVmaW5lIENP
TkZJR19USU9DTUJJU0JZUkVGIHllcwojZGVmaW5lIE9OREVMQVlfTk9TVERJTkRVUAojZGVmaW5l
IENPTkZJR19NQVhHSUQgNjAwMDIKI2luY2x1ZGUgPHN5cy90eXBlcy5oPgojZGVmaW5lIEhBU19T
RUxFQ1RfSCAxCiNkZWZpbmUgZnhTSUdBQ1RJT05IQU5ETEVSIChzaWdfdCkKI2RlZmluZSBmeFNJ
R0hBTkRMRVIgKHNpZ190KQojZGVmaW5lIEhBU19NTUFQIDEKI2RlZmluZSBIQVNfU1lTQ09ORiAx
CiNkZWZpbmUgSEFTX0dFVERUQUJMRVNJWkUgMQojZGVmaW5lIEhBU19GQ0hPV04gMQojZGVmaW5l
IEhBU19GQ0hNT0QgMQojZGVmaW5lIEhBU19UTV9aT05FIDEKZXh0ZXJuIHZvaWQgc2V0dXRlbnQo
dm9pZCk7CmV4dGVybiB2b2lkIGVuZHV0ZW50KHZvaWQpOwpzdHJ1Y3QgdXRtcDsKZXh0ZXJuIHN0
cnVjdCB1dG1wKiBnZXR1dGVudCh2b2lkKTsKc3RydWN0IHV0bXA7CmV4dGVybiBzdHJ1Y3QgdXRt
cCogcHV0dXRsaW5lKGNvbnN0IHN0cnVjdCB1dG1wKik7CiNkZWZpbmUgSEFTX0xPQ0FMRSAxCiNp
bmNsdWRlIDxwYXRocy5oPgojZGVmaW5lIEhBU19MT0dXVE1QIDEKaW50IGxvZ3d0bXAoY29uc3Qg
Y2hhciosIGNvbnN0IGNoYXIqLCBjb25zdCBjaGFyKik7CiNkZWZpbmUgSEFTX0xPR09VVCAxCmlu
dCBsb2dvdXQoY29uc3QgY2hhciopOwojZGVmaW5lIEhBU19QT1NJWFNDSEVEIDEKI2RlZmluZSBS
VF9QUklPUklUWSAxCiNkZWZpbmUgdGlmZl9ydW5sZW5fdCB1aW50MzIKI2RlZmluZSBTVFJVQ1Rf
UEFNX01FU1NBR0UgY29uc3Qgc3RydWN0IHBhbV9tZXNzYWdlCiNpZmRlZiBfX2NwbHVzcGx1cwp9
CiNlbmRpZgojZW5kaWYK
====
+ cat t.c
#include "paths.h"
#ifdef _PATH_GETTY
FOUND
#endif
+ make -f confMakefile t
+ /usr/local/bin/gs -h
+ grep tiffg3
psrgb pswrite epswrite sgirgb sunhmono tiffcrle tiffg3 tiffg32d tiffg4
+ /usr/local/bin/gs -h
+ grep tiffg3
psrgb pswrite epswrite sgirgb sunhmono tiffcrle tiffg3 tiffg32d tiffg4
Configuring HylaFAX (tm) (aka FlexFAX) 4.2.3.
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.
Hmm, looks like a i386-unknown-freebsd4.10 system.
Using /usr/bin/gcc for a C compiler (set CC to override).
Looks like /usr/bin/gcc supports the -g option.
Using " -g" for C compiler options.
Looks like /usr/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /usr/bin/gcc supports the -M option for generating make dependencies.
Using /usr/bin/g++ for a C++ compiler (set CXX to override).
Looks like /usr/bin/g++ supports the -g option.
Using " -g" for C++ compiler options.
Looks like /usr/bin/g++ has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /usr/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Using /usr/local/bin/bash to process command scripts.
Checking for PAM (Pluggable Authentication Module) support
... found. Enabling PAM support
Checking for JBIG library support
... not found. Disabling JBIG support
Looks like -lcrypt is needed for crypt.
Looks like -lutil is needed for wtmp file logging.
Looks like -lm is the library for math functions.
Creating port.h with necessary definitions.
... open FIFO files read+write to avoid select bug
... using call-by-reference for TIOCMBIS ioctl
... assuming stty bitches when stdout is set to stdin
... constrain client IDs to be <= 60002
... configure use of <sys/select.h>
... use (sig_t) for sigaction handler type
... use (sig_t) for signal handler type
... configure use of mmap for memory-mapped files
... configure use of sysconf
... configure use of getdtablesize
... configure use of fchown
... configure use of fchmod
... configure use of struct tm timezone information
... add function prototype for setutent
... add function prototype for endutent
... add function prototype for getutent
... add function prototype for pututline
... configure use of <locale.h> (internationalization support)
... configure use of <paths.h>
... configure use of logwtmp (BSD-style wtmp logging)
... add function prototype for logwtmp
... configure use of logout (BSD-style utmp support)
... add function prototype for logout
... configure use of <utmp.h> (normal utmp interface)
... configure use of POSIX realtime process control interface
... checking TIFF library version
Found tiffio.h version 20050704
Found libtiff version 3.7
... add declaration for tiff_runlen_t
... checking PAM library version
Done creating port.h.
Checking system libraries for functionality to emulate.
Done checking system libraries.
Checking ZLIB support.
Using ZLIB include files from
Using pre-built ZLIB library -lz
Done checking ZLIB support.
Checking TIFF support.
Using TIFF binary files from /usr/local/bin
Done checking TIFF support.
Checking for Dynamic Shared Object (DSO) support.
There is no support for building HylaFAX as DSOs on your system.
Selecting programs used during installation and operation.
Looks like /usr/bin/nawk should be used in command scripts.
Looks like /usr/sbin/sendmail should be used to deliver mail.
Looks like /usr/bin/mkfifo creates FIFO special files.
Looks like /bin/mv supports the -f option to force a move.
Looks like /bin/ln supports the -s option to create a symbolic link.
Looks like /usr/bin/uuencode supports base64 encoding.
Done selecting programs.
Selecting default HylaFAX configuration parameters.
Using uid uucp and gid dialer for controlling access to fax stuff.
Using uid bin and gid bin for installing programs.
Using LSB2MSB bit order for your i386 cpu.
Looks like you need BSD getty support.
Looks like /usr/libexec/getty is the program to exec for a data call.
WARNING, no vgetty program found to handle a voice call, using /bin/vgetty.
WARNING, no egetty program found, using /bin/egetty.
Looks like you use ascii-style UUCP lock files.
Looks like UUCP lock files go in /var/spool/lock.
Looks like the gs imager package should be used.
Looks like /usr/local/bin/gs is the PostScript RIP to use.
Setting the Fontmap path to
Looks like font metric information goes in /usr/local/lib/afm.
Looks like manual pages go in /usr/local/man.
Looks like manual pages should be installed with bsd-source-cat.
Press Return to Continue
HylaFAX configuration parameters (part 1 of 2) are:
[ 1] Directory for applications: /usr/local/bin
[ 2] Directory for lib data files: /usr/local/lib/fax
[ 3] Directory for lib executables: /usr/local/sbin
[ 4] Directory for system apps: /usr/local/sbin
[ 5] Directory for manual pages: /usr/local/man
[ 6] Directory for HTML documentation: /var/httpd/htdocs/hylafax
[ 7] Directory for spooling: /var/spool/hylafax
[ 8] Directory for uucp lock files: /var/spool/lock
[ 9] Uucp lock file scheme: ascii
[10] PostScript imager package: gs
[11] PostScript imager program: /usr/local/bin/gs
[12] Manual page installation scheme: bsd-source-cat
[13] Default page size: North American Letter
[14] Default vertical res (lpi): 98
Are these ok [yes]?
HylaFAX configuration parameters (part 2 of 2) are:
[15] Location of getty program: /usr/libexec/getty
[16] Location of voice getty program: /bin/vgetty
[17] Location of sendmail program: /usr/sbin/sendmail
[18] Location of TIFF tools: /usr/local/bin
[19] Location of SysV init scripts:
[20] Location of SysV start scripts: /usr/local/etc/rc.d/
[21] Location of SysV stop scripts: /usr/local/etc/rc.d/
[22] Name of SysV start script:
[23] Name of SysV stop script:
[24] Init script starts faxq: yes
[25] Init script starts hfaxd yes
[26] Start old protocol: no
[27] Start paging protocol: no
Are these ok [yes]?
Creating defs from ./defs.in
Creating config.h from ./config.h.in
Creating rules from ./rules.in
Creating Makefile from ./Makefile.in
Creating config/Makefile from ./config/Makefile.in
Creating etc/Makefile from ./etc/Makefile.in
Creating faxalter/Makefile from ./faxalter/Makefile.in
Creating faxcover/Makefile from ./faxcover/Makefile.in
Creating faxcover/edit-faxcover.sh from ./faxcover/edit-faxcover.sh.in
Creating faxd/Makefile from ./faxd/Makefile.in
Creating faxmail/Makefile from ./faxmail/Makefile.in
Creating faxrm/Makefile from ./faxrm/Makefile.in
Creating faxstat/Makefile from ./faxstat/Makefile.in
Creating hfaxd/Makefile from ./hfaxd/Makefile.in
Creating man/Makefile from ./man/Makefile.in
Creating sendfax/Makefile from ./sendfax/Makefile.in
Creating sendpage/Makefile from ./sendpage/Makefile.in
Creating util/Makefile from ./util/Makefile.in
Creating port/install.sh from ./port/install.sh.in
Creating etc/faxsetup.sh from ./etc/faxsetup.sh.in
Creating etc/faxaddmodem.sh from ./etc/faxaddmodem.sh.in
Creating etc/probemodem.sh from ./etc/probemodem.sh.in
Creating etc/hylafax from ./etc/hylafax.in
Creating util/xferfaxstats.sh from ./util/xferfaxstats.sh.in
Creating util/recvstats.sh from ./util/recvstats.sh.in
Creating util/faxcron.sh from ./util/faxcron.sh.in
Creating util/pagesizes from ./util/pagesizes.in
Creating util/archive.sh from ./util/archive.sh.in
Creating util/faxrcvd.sh from ./util/faxrcvd.sh.in
Creating util/mkcover.sh from ./util/mkcover.sh.in
Creating util/notify.sh from ./util/notify.sh.in
Creating util/notify-4.1.sh from ./util/notify-4.1.sh.in
Creating util/pcl2fax.sh from ./util/pcl2fax.sh.in
Creating util/pollrcvd.sh from ./util/pollrcvd.sh.in
Creating util/ps2fax.dps.sh from ./util/ps2fax.dps.sh.in
Creating util/ps2fax.gs.sh from ./util/ps2fax.gs.sh.in
Creating util/pdf2fax.gs.sh from ./util/pdf2fax.gs.sh.in
Creating util/ps2fax.imp.sh from ./util/ps2fax.imp.sh.in
Creating util/tiff2fax.sh from ./util/tiff2fax.sh.in
Creating util/wedged.sh from ./util/wedged.sh.in
Creating util/tiff2pdf.sh from ./util/tiff2pdf.sh.in
Creating pkg/Makefile from ./pkg/Makefile.in
Creating pkg/cpkginfo from ./pkg/cpkginfo.in
Creating pkg/cproto.stub from ./pkg/cproto.stub.in
Creating pkg/crequest from ./pkg/crequest.in
Creating pkg/make_proto.sh from ./pkg/make_proto.sh.in
Creating pkg/postinstall from ./pkg/postinstall.in
Creating pkg/postremove from ./pkg/postremove.in
Creating pkg/spkginfo from ./pkg/spkginfo.in
Creating pkg/sproto.stub from ./pkg/sproto.stub.in
Creating pkg/srequest from ./pkg/srequest.in
Creating port/mkdepend from ./port/mkdepend.in
Creating regex/Makefile from ./regex/Makefile.in
Setting up make dependency files.
Done.