-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I followed the tutoral--<<Building Infrastructure for DROPS (BID)
Tutorial>>(http://os.inf.tu-dresden.de/l4env/doc/html/bid-tut/node3.html) to wirte my fisrt "hiworld" server. I've used the template, ˜/src/l4/pkg/hiworld> ../../mk/tmpl/inst The "hiworld" source file is as follows: #include <stdio.h> int main(int argc, char** argv){ printf("HiWorld"); return 0; }
An error occured when I compiled the server. I think it might be a
link error. /usr/bin/ld: cannot find -lgeneric_ts ==> Linking hiworld
Did you checkout and build the L4 Environment (as requested in chapter 2 of the tutorial)? If so, generic_ts should be built and your application gets linked with it.
[..]
I wonder how to write the makefile myself without using the template. When I compile the "Hiworld" server, what other files(source files,head files) should I need to include.
I'd recommend that you keep to the tutorial. The BID relieves you from a lot of work.
Bjoern - -- Dipl.-Inf. Björn Döbel doebel@os.inf.tu-dresden.de Technische Universität Dresden Tel: +49 351 463 38799 Dept. of Computer Science, OS Chair Fax: +49 351 463 38284 D-01062 Dresden, Germany