#7 Configuration failure on LynxOS 4.0

open
nobody
5
2009-11-10
2009-11-10
zaufi
No

I'm trying to build STLport 5.2.1 on LynxOS 4.0 (x86 and ppc). Typing `make` right after ./confgiure leads to the following errors:
bash-2.02# make
../Makefiles/gmake/top.mak:85: ../Makefiles/gmake/lynxos/sys.mak: No such file or directory
../Makefiles/gmake/top.mak:87: ../Makefiles/gmake/lynxos/targetsys.mak: No such file or directory
make: *** No rule to make target `../Makefiles/gmake/lynxos/targetsys.mak'. Stop.

I copied sys.mak and targetsys.mak from ...gmake/linux to ...gmake/lynxos and made appropriate fixes in program pathes... but nothing happened... make file wont build anything claiming that make was unable to find some rules...

bash-2.02# pwd
/src/gnu/STLport-5.2.1
bash-2.02# ./configure
bash-2.02# make
/usr/bin/make -C build/lib all;
make[1]: *** No rule to make target `obj/gcc/so/libstlport.so.5.2.1', needed by `release-shared'. Stop.
make: *** [all] Error 2

Ok lets try w/o shared libs:

bash-2.02# ./configure --enable-static --disable-shared
bash-2.02# cat build/Makefiles/gmake/config.mak
_STATIC_BUILD := 1
_NO_SHARED_BUILD := 1
bash-2.02# make
/usr/bin/make -C build/lib all;
make[1]: *** No rule to make target `obj/gcc/so/dll_main.o', needed by `obj/gcc/so/libstlport.a'. Stop.
make: *** [all] Error 2

I wanna to write some configs for Lynx, but found no guide how to do that ;( and lost about 3 hours trying to realize how build system works in STLport (why it wont define appropriate rules for me) -- unfortunately I'm short of time and can't waste more playing with it... I require support from developers. If smbd can help me, I promise to contribute it back (u there is any interest)
:)
any ideas r welcome
//wbr, alex

Discussion

  • LynxOS not supported. We have not this OS. If you want to contribute, see git repo. As about 'guide', here present code for detect/support Linux, Solaris, HP-UX, FreeBSD---the best doc, IMO.