[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Host-based RTEMS on Solaris
- Date: Mon, 28 Oct 2002 18:44:53 -0800
- From: tito at csl-mail.stanford.edu (Tito Costa)
- Subject: Host-based RTEMS on Solaris
I'm trying to build the host-based version of RTEMS on Solaris, i.e. I
didn't specify any --target or --enablebsp options at configure.
RTEMS assumes to have linux headers available like sys/cdefs.h,
features.h, gnu/stubs.h even if they are not POSIX standard; I copied
them from a linux machine.
Also <rtems>/cpukit/include/rtems/userenv.h and other header files
contain directives like #ifdef (__linux__) that have to be fixed to make
them work on Solaris.
In the file libmisc/shell/shell.c the lines stdin=fopen(...),
stdout=fopen(...), stderr=fopen(...) throw "invalid lvalue in
assignment" errors; by now i just commented them out.
Having fixed this, I got stuck in the "make all install" while ld was
trying to link hello.exe
Undefined symbol First referenced in file
ld: fatal: Symbol referencing errors. No output written to
collect2: ld returned 1 exit status
can anyone comment on this?