Next!
(word wrapped and tabbed for readability...)
I didn't look at iomgr.c:596 yet but 140 is another 'pointer = int'
problem. Any suggestions on how to fix it?
Jason
P. S. Looks like the next problem is going to be finding the proper code
for process.ss.
----> Entering mlwp
make[2]: Entering directory `/home/tmp/coda-5.0.0/lib-src/mlwp'
cc -DLWPDEBUG -g -MD -I. -I/home/tmp/coda-5.0.0/include -Wall
-DOLDLWP -c iomgr.c
iomgr.c: In function `NewRequest':
iomgr.c:140: warning: cast to pointer from integer of different size
iomgr.c: In function `IOMGR_Select':
iomgr.c:596: warning: cast from pointer to integer of different size
cc -DLWPDEBUG -g -MD -I. -I/home/tmp/coda-5.0.0/include -Wall
-DOLDLWP -c timer.c
cc -DLWPDEBUG -g -MD -I. -I/home/tmp/coda-5.0.0/include -Wall
-DOLDLWP -c fasttime.c
cc -DLWPDEBUG -g -MD -I. -I/home/tmp/coda-5.0.0/include -Wall
-DOLDLWP -c preempt.c
gcc -E -x c-header -P -D__ASSEMBLY__ -DLWPDEBUG -g -MD -I.
-I/home/tmp/coda-5.0.0/include -DOLDLWP process.s > process.ss
as -o process.o process.ss
rm -f process.ss
ar rv liboldlwp.a lwp.o lock.o iomgr.o timer.o fasttime.o preempt.o process.o
a - lwp.o
a - lock.o
a - iomgr.o
a - timer.o
a - fasttime.o
a - preempt.o
a - process.o
ranlib liboldlwp.a
cc -DLWPDEBUG -g -MD -I. -I/home/tmp/coda-5.0.0/include -Wall
-DOLDLWP -c test.c
cc -DOLDLWP test.o liboldlwp.a
/home/tmp/coda-5.0.0/lib-src/base/libbase.a -o test
liboldlwp.a(lwp.o): In function `LWP_QWait':
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:501: undefined reference to
`savecontext'
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:501: undefined reference to
`savecontext'
liboldlwp.a(lwp.o): In function `LWP_CreateProcess':
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:543: undefined reference to
`savecontext'
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:543: undefined reference to
`savecontext'
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:566: undefined reference to
`savecontext'
liboldlwp.a(lwp.o):/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:566: more
undefined references to `savecontext' follow
liboldlwp.a(lwp.o): In function `Dispatcher':
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:970: undefined reference to `returnto'
/home/tmp/coda-5.0.0/lib-src/mlwp/lwp.c:970: undefined reference to `returnto'
collect2: ld returned 1 exit status
make[2]: *** [test] Error 1
make[2]: Leaving directory `/home/tmp/coda-5.0.0/lib-src/mlwp'
----> Error in mlwp
make[1]: *** [Coda] Error 1
make[1]: Leaving directory `/home/tmp/coda-5.0.0/lib-src'
----> Error in lib-src
make: *** [Coda] Error 1