Martin Gasbichler writes:
> *PLEASE* try to install it and tell me whether it worked!
cygwin is a little better now. however, it can't link because
getnetbyaddr and getnetbyname aren't in -lsocket. To work around this
before I had put this at the end of scsh/cygwin32 /stdio_dep.c:
/* Cygwin doesn't yet implement these system calls */
struct netent *getnetbyaddr (long x, int y) {return NULL;}
struct netent *getnetbyname (const char *x) {return NULL;}
int fchown(int x, uid_t y, gid_t z) {return 0;}
int mkfifo(char *__path, mode_t __mode) {return 0;}
that file is gone now. perhaps it should move to libansi.c now? hmm,
that wasn't enough, new error. I'll keep looking when i get home.
-bri
Zeus@BCARLSTROM1A d:/Software/scsh/scsh-0.6.0
$ make
rm -f /tmp/s48_external_$$.c && \
build/build-external-modules /tmp/s48_external_$$.c
\
s48_init_additional_inits s48_init_socket s48_init_external_lookup
s48_init_syslog s48_init_posix_regexp s48_init_userinfo s48_init_sighandlers
s48_init_syscalls s48_init_network s48_init_flock s48_init_dirstuff
s48_init_time s48_init_tty s48_init_cig s48_init_cig &&
\
gcc -g -O2 -o scshvm c/main.o scsh/process_args.o c/init.o c/scheme48vm.o
c/scheme48heap.o c/extension.o c/external.o cig/libcig.o cig/libcig1.o
scsh/cstuff.o scsh/dirstuff1.o scsh/fdports1.o scsh/flock1.o
scsh/machine/time_dep1.o scsh/signals1.o scsh/machine/libansi.o scsh/network1.o
scsh/putenv.o scsh/rx/regexp1.o scsh/sleep1.o scsh/syscalls1.o scsh/syslog1.o
scsh/time1.o scsh/tty1.o scsh/userinfo1.o scsh/sighandlers1.o scsh/proc2.o
c/unix/misc.o c/unix/io.o
c/unix/fd-io.o c/unix/event.o \
/tmp/s48_external_$$.c \
-lcrypt -lm \
c/unix/socket.o c/unix/dynamo.o && \
rm -f /tmp/s48_external_$$.c
Warning: resolving __tzname by linking to __imp___tzname (auto-import)
scsh/network1.o: In function
/cygdrive/d/Software/SCSH/scsh-0.6.0/scsh/network1.c:644: undefined
reference to
`getnetbyaddr'
scsh/network1.o: In function
/cygdrive/d/Software/SCSH/scsh-0.6.0/scsh/network1.c:651: undefined
reference to
`getnetbyname'
fu000001.o(.idata$3+0xc): undefined reference to emplib_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to nm___tzname'
collect2: ld returned 1 exit status
make: *** [scshvm] Error 1
Zeus@BCARLSTROM1A d:/Software/scsh/scsh-0.6.0
$
|