[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Failed OS Calls During Application Compile??

I have Sheeva PLUG running Debian Squeeze.
While compiling JNOS program several error messages are returned regarding errors in modules calling get, set, make and swap context functions not being implemented.
The JNOS developer directed me to ARM Architecture threads.
Do you have any idea what libraries should be providing these called routines? Do I need to get a newer library?
Here are the actual lines returned....
gcc -c -DUNIX -g3   -DDEBUG -DWINMOR -Wall -I/usr/include/ncurses -DLCURSES=\"-lncurses\" curses.c -o curses.o
gcc -c -DUNIX -g3   -DDEBUG -DWINMOR -Wall -I/usr/include/ncurses rawcons.c -o rawcons.o
gcc -c -DUNIX -g3   -DDEBUG -DWINMOR -Wall -I/usr/include/ncurses sessmgr.c -o sessmgr.o
gcc -c -DUNIX -g3   -DDEBUG -DWINMOR -Wall -I/usr/include/ncurses ttydriv.c -o ttydriv.o
rm -f j2curses.a
ar rcs j2curses.a curses.o rawcons.o sessmgr.o ttydriv.o
gcc -c -DUNIX -g3   -DDEBUG -DWINMOR -Wall version.c
gcc -DUNIX -g3   -DDEBUG -DWINMOR -Wall -o jnos main.o config.o version.o session.o jheard.o \
        clients.a servers.a hfdd.a net.a internet.a net.a netrom.a unix.a ax25.a \
        aprs.a dump.a ppp.a bootp.a inp3.a j2curses.a -lncurses
net.a(ksubr.o): In function `pproc':
/home/gpetrov/jnos2/ksubr.c:31: warning: warning: getcontext is not implemented and will always fail
net.a(kernel.o): In function `pwait':
/home/gpetrov/jnos2/kernel.c:346: warning: warning: setcontext is not implemented and will always fail
net.a(ksubr.o): In function `psetup':
/home/gpetrov/jnos2/ksubr.c:166: warning: warning: makecontext is not implemented and will always fail
net.a(kernel.o): In function `pwait':
/home/gpetrov/jnos2/kernel.c:348: warning: warning: swapcontext is not implemented and will always fail
Here is some output from dmesg:
debian:/home/gpetrov/jnos2# dmesg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-trunk-kirkwood (Debian 2.6.32-5) (ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 Mon Jan 11 10:57:12 UTC 2010
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c03d0904, node_mem_map c0dbc000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130048 pages, LIFO batch:31
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 rootdelay=10
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 256MB 256MB = 512MB total
[    0.000000] Memory: 509312KB available (3504K code, 578K data, 120K init, 0K highmem)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] Console: colour dummy device 80x30
[    0.000125] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[    0.240088] Security Framework initialized
[    0.240107] SELinux:  Disabled at boot.
[    0.240134] Mount-cache hash table entries: 512


Reply to: