Message-Id: <4.3.2.7.0.20000802130606.00aa5270@mail.subdimension.com> X-Sender: matt DOT l AT mail DOT subdimension DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 02 Aug 2000 13:29:56 -0700 To: djgpp AT delorie DOT com From: Matt Lewandowsky Subject: Uh oh. Another newbie. (Sorta...) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=----=---=------==----==---=-====-=-=--=--=-=-"; protocol="application/pgp-signature"; micalg=pgp-sha1 Reply-To: djgpp AT delorie DOT com --=-=----=---=------==----==---=-====-=-=--=--=-=- Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed OK. I've played with DJGPP in the past, so I'm not *quite* a newbie. However, it was with 1.x so my memory is somewhat failing me ATM... For some reason I want to compile "real" applications from the Unix world for use when I'm stuck in DOS. (AKA, non-GNU...) I know that they are going to be non-trivial, however I'm extremely stuck... I can't get any configure scripts to recognise PDCurses (although I installed 2.2, built 2.4, and then installed the prebuilt 2.4), nor can I figure out how to get configure to recognise wattcp-32. For example, this is the output from trying to compile pdksh under 9x. I can't figure out quite why it's failing, but under "pure" DOS (my usual environ), it won't even get through ./configure. (BTW, for the configure option specified, mmap() and flock() are required. I have no clue if they are implemented in DJGPP...) I am sorry for the huge output, but I was hoping for *any* help on this, which means full output... I used this as a first build as ksh should be a fairly easy build (and I despise bash for my default environment...). --BEGIN OUTPUT-- sh-2.03$ gcc -v Reading specs from d:/djgpp/lib/gcc-lib/djgpp/2.952/specs gcc version 2.95.2 19991024 (release) sh-2.03$ pwd d:/src/pdksh-5.2.14 sh-2.03$ autoconf configure.in:257: warning: AC_TRY_RUN called without default to allow cross comp iling configure.in:258: warning: AC_TRY_RUN called without default to allow cross comp iling sh-2.03$ ./configure --enable-history=complex creating cache ./config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking if this is a problematic os... checking for minix/config.h... no no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for opendir in -lndir... no checking for sane unistd.h... yes checking terminal interface... termios checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for paths.h... no checking for sys/param.h... yes checking for sys/resource.h... yes checking for values.h... yes checking for ulimit.h... no checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for off_t in sys/types.h... yes checking for mode_t in sys/types.h... yes checking for pid_t in sys/types.h... yes checking for uid_t in sys/types.h... yes checking return type of signal handlers... void checking size of int... 4 checking size of long... 4 checking for clock_t in any of , and ... yes checking for sigset_t in and ... yes checking for rlim_t in and ... no checking what to set rlim_t to... long checking for working memmove... yes checking for memset... yes checking for confstr... no checking for dup2... yes checking for flock... no checking for getcwd... yes checking for getwd... yes checking for killpg... no checking for nice... yes checking for setrlimit... yes checking for strerror... yes checking for strcasecmp... yes checking for strstr... yes checking for sysconf... yes checking for tcsetpgrp... yes checking for ulimit... no checking for waitpid... yes checking for wait3... no checking for sigsetjmp... yes checking for valloc... no checking for getpagesize... yes checking for working mmap... no checking for lstat... no checking for sys_errlist declaration in errno.h... yes checking for sys_siglist declaration in signal.h or unistd.h... yes checking for sys_siglist in library... yes checking time() declaration in time.h... yes checking if times() is present/working... yes checking whether stat file-mode macros are broken... no checking for st_rdev in struct stat... yes checking for working const... yes checking if compiler understands void... yes checking if compiler understands volatile... yes checking if compiler understands prototypes... yes checking if C compiler groks __attribute__(( .. ))... yes checking whether #! works in shell scripts... yes checking for a BSD compatible install... d:/djgpp/bin/ginstall -c checking if dup2() works (ie, resets the close-on-exec flag)... no checking flavour of signal routines... posix checking flavour of pgrp routines... none checking if opendir() fails to open non-directories... yes checking if you have /dev/fd/n... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h sh-2.03$ make CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status creating config.h config.h is unchanged date > stamp-h gcc -c -DHAVE_CONFIG_H -I. -I. -g -O alloc.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O c_ksh.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O c_sh.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O c_test.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O c_ulimit.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O edit.c ./emacs-gen.sh ./emacs.c > tmpemacs.out mv tmpemacs.out emacs.out gcc -c -DHAVE_CONFIG_H -I. -I. -g -O emacs.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O eval.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O exec.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O expr.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O history.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O io.c gcc -c -DHAVE_CONFIG_H -I. -I. -g -O jobs.c jobs.c: In function `j_init': jobs.c:237: `SIGCLD' undeclared (first use in this function) jobs.c:237: (Each undeclared identifier is reported only once jobs.c:237: for each function it appears in.) jobs.c: In function `j_startjob': jobs.c:1154: `SIGCLD' undeclared (first use in this function) make.exe: *** [jobs.o] Error 1 sh-2.03$ -- END OF OUTPUT-- --=-=----=---=------==----==---=-====-=-=--=--=-=- Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: PGPfreeware 6.5.3 for non-commercial use iQA/AwUBOYiExOoMko8dOmunEQIPEgCfdJTG2eFulIvJ7tuF3NHJr1xg/lYAniQt A9l2Kcw7eu7lHEMst+HVU09e =NORj -----END PGP MESSAGE----- --=-=----=---=------==----==---=-====-=-=--=--=-=---