Hiworld Problem
Bjoern Doebel
doebel at os.inf.tu-dresden.de
Wed Jun 6 11:35:52 CEST 2007
-----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 at 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZn/4P5ijxgQLUNkRArhWAKCPTkZAMz52FE6KFR9xg+uUsDk3dACdEuPn
kc05IKdAm+JUXvQWKzzI99Y=
=n+i4
-----END PGP SIGNATURE-----
More information about the l4-hackers
mailing list