Re: make error on OS X 10.2.6 with GCC3.3
> /usr/include/ppc/param.h:98: macro "btodb" requires 2 arguments, but only > 1 given > /usr/include/ppc/param.h:100: macro "dbtob" requires 2 arguments, but > only 1 given What does that file look like, and what does it contain in lines 98-101? Mine is: [10:06] macossex:~ % ls -l /usr/include/ppc/param.h -r--r--r-- 1 root wheel 4528 Nov 22 2002 /usr/include/ppc/param.h [10:06] macossex:~ % sed -n '98,101p' /usr/include/ppc/param.h #define btodb(bytes)/* calculates (bytes / DEV_BSIZE) */ \ ((unsigned)(bytes) >> DEV_BSHIFT) #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \ ((unsigned)(db) << DEV_BSHIFT) This file () is the same size/date on both my work Mac (which has gcc 3.3 installed, from the Apple Developer Tools) and my home PowerBook (which has the default 3.1ish gcc from 10.2.6), so I don't think anything changed when gcc 3.3 was added. Try running gcc -E -I.. -I.. -I. \ -I../mmangle -I../common \ -g -O2 -traditional-cpp -DHAVE_CONFIG_H -DDARWIN -DUNIX pop_dele.c and see what you get for the pre-processor output from that param.h file. (Then, use "gcc_select" to set your gcc back to 3.1 - or even 2.95.2 - via either "gcc_select 3" or "gcc_select 2", and then run the same "gcc -E" command and compare the output to what you get with 3.3.) - Greg
Re: Make error
At 9:12 AM -0800 1/13/03, Todd wrote: checking for gethostname... no checking for gettimeofday... no checking for getusershell... no checking for mkdir... no checking for socket... no These don't look good. It's probably too much to hope for, but you could try doing a 'man' on the missing functions (from ./configure output and more importantly from 'make' errors). Some systems come with man pages that are kind enough to list the library. For example: LIBRARY Standard C Library (libc, -lc) -- Randall Gellens Opinions are personal;facts are suspect;I speak for myself only -- Randomly-selected tag: --- Don't tell any big lies today. Small ones can be just as effective.
Re: Make error
At 06:04 PM 1/10/03, you wrote:
At 7:51 PM -0500 1/10/03, Chuck Yerkes wrote:
Then try:
./configure > OUTFILE 2>&1
Attached is OUTFILE.
Also a good idea to do 'make realclean' or 'rm config.cache config.log
config.status config.h' to force configure to redo the various checks.
(I learned to hate SCO during Xenix times... Never saw
a need to touch it when BSDi could run SCO binaries).
Quoting Todd ([EMAIL PROTECTED]):
At 02:43 PM 1/10/03, you wrote:
>It looks like a library isn't being included. Did ./configure give any
>warnings or errors?
The following is the last of ./configure that I can see on the screen,
everything else goes by too quick.
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for bison... no
checking for byacc... no
checking for flex... lex
checking for yywrap in -ll... yes
checking for ar... ar
checking for ranlib... :
checking for a BSD compatible install... ./install-sh -c
checking for gperf... no
checking for cperf... no
./configure: warning:: not found
checking for gcc version 2.7.2.3... no
checking if gcc supports __attribute__ (format) ... yes
checking if ar chokes on -r... no
checking for getspnam... yes
Found getspnam(); using shadow passwords by default
Will NOT compile in debugging code
Defining SPEC_POP_AUTH
System name: SCO_SV; System version: 3.2
Set OS_DEFS = " -DPOPSCO -DUNIX"
Logging to facility: LOG_LOCAL0
Set AR_FLAG = " -r "; RANLIB_CMD = ""
checking size of unsigned long int... 0
checking for sendmail program... found at /usr/lib/sendmail
checking for mail spool directory... found at /var/spool/mail
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for prot.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for strings.h... yes
checking for sys/param.h... yes
checking for sys/file.h... yes
checking for sys/security.h... yes
checking for sys/syslog.h... yes
checking for sys/types.h... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/unistd.h... yes
checking for sys/netinet/in.h... yes
checking for sys/time.h... yes
checking for syslog.h... yes
checking for net/errno.h... no
checking for unistd.h... yes
checking for netinet/in.h... yes
checking for maillock.h... no
checking for select.h... no
checking for shadow.h... yes
checking for security/pam_appl.h... no
checking for ndbm.h... yes
checking for gdbm.h... no
checking for dbm.h... yes
checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for res_init in -lresolv... no
checking for maillock in -lmail... no
checking for krb_recvauth in -lkrb... no
checking for clock_gettime in -lposix4... no
checking for set_auth_parameters in -lsecurity... no
checking for crypt in -lcrypt... no
checking for working const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for sys_siglist declaration in signal.h or unistd.h... (cached) no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for 8-bit clean memcmp... no
checking return type of signal handlers... void
checking whether utime accepts a null argument... no
checking for vprintf... no
checking for _doprnt... no
checking for wait3 that fills in rusage... no
checking for gethostname... no
checking for gettimeofday... no
checking for getusershell... no
checking for mkdir... no
checking for socket... no
checking for strdup... no
checking for strerror... no
checking for strstr... no
checking for bcopy... no
checking for index... no
checking for flock... no
checking for set_auth_parameters... no
checking for pw_encrypt... no
checking for hstrerror... no
checking for snprintf... no
checking for vsnprintf... no
checking for srandom... no
checking for srand... no
checking for usleep... no
checking for setproctitle... no
checking for /dev/urandom ... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating common/Makefile
creating popper/Makefile
creating mmangle/Makefile
creating password/Makefile
creating config.h
Re: Make error
On Friday 10 January 2003 21:04, Randall Gellens wrote: > At 7:51 PM -0500 1/10/03, Chuck Yerkes wrote: > > Then try: > > ./configure > OUTFILE 2>&1 > > Also a good idea to do 'make realclean' or 'rm config.cache > config.log config.status config.h' to force configure to redo the > various checks. > or 'make distclean' but it may be 'realclean' for qpopper, Randall (or checking) would know for sure. Carl -- Carl Schelin (BOFH, Badlife, DNRC, Sun CSA/CNA, Cisco CNA/CNP, '02 FXSTI) finger [EMAIL PROTECTED] for phone and address
Re: Make error
At 7:51 PM -0500 1/10/03, Chuck Yerkes wrote: Then try: ./configure > OUTFILE 2>&1 Also a good idea to do 'make realclean' or 'rm config.cache config.log config.status config.h' to force configure to redo the various checks. (I learned to hate SCO during Xenix times... Never saw a need to touch it when BSDi could run SCO binaries). Quoting Todd ([EMAIL PROTECTED]): At 02:43 PM 1/10/03, you wrote: >It looks like a library isn't being included. Did ./configure give any >warnings or errors? The following is the last of ./configure that I can see on the screen, everything else goes by too quick.
Re: Make error
Then try: ./configure > OUTFILE 2>&1 (I learned to hate SCO during Xenix times... Never saw a need to touch it when BSDi could run SCO binaries). Quoting Todd ([EMAIL PROTECTED]): > At 02:43 PM 1/10/03, you wrote: > >It looks like a library isn't being included. Did ./configure give any > >warnings or errors? > > The following is the last of ./configure that I can see on the screen, > everything else goes by too quick.
Re: Make error
At 2:20 PM -0800 1/9/03, Todd wrote: I am trying to install qpopper4.0.4 on SCO unix 5.04 Can anyone help point me in the right direction to fix the following error when I run "make"? symbol in file htonl scram.o h_errno pop_init.o setupterm /lib/libprot.so ceil/lib/libprot.so std_syslog pop_log.o gethostbyname pop_init.o inet_ntoa pop_init.o gethostname pop_init.o log /lib/libprot.so ntohl hmac.o ntohs pop_init.o gethostbyaddr pop_init.o A lot of these look like networking calls, which may be in an unusual library on SCO 5.04. Can you try 'nm' on a few libraries and see if they are there? For example, try libc libnsl libsocket libnet If the function is in the library, 'nm' prints 'T'. Someone more familiar with SCO may be able to provide a much better answer. configure.in may need to be updated.
Re: Make error
At 02:43 PM 1/10/03, you wrote: It looks like a library isn't being included. Did ./configure give any warnings or errors? The following is the last of ./configure that I can see on the screen, everything else goes by too quick. checking for strdup... (cached) no checking for strerror... (cached) no checking for strstr... (cached) no checking for bcopy... (cached) no checking for index... (cached) no checking for flock... (cached) no checking for set_auth_parameters... (cached) no checking for pw_encrypt... (cached) no checking for hstrerror... (cached) no checking for snprintf... (cached) no checking for vsnprintf... (cached) no checking for srandom... (cached) no checking for srand... (cached) no checking for usleep... (cached) no checking for setproctitle... (cached) no checking for /dev/urandom ... no creating ./config.status creating Makefile creating common/Makefile creating popper/Makefile creating mmangle/Makefile creating password/Makefile creating config.h config.h is unchanged Thanks, Todd
Re: Make error
It looks like a library isn't being included. Did ./configure give any warnings or errors?
