[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dev-serveez] Re: I need help please about serveez
From: |
Raimund 'Raimi' Jacob |
Subject: |
[dev-serveez] Re: I need help please about serveez |
Date: |
Tue, 18 Oct 2005 22:16:21 +0200 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051010) |
delt delta wrote:
hello delta!
please send these kind of questions to the mailinglist
address@hidden stefan or someone else might be reading and quicker
to respond.
I need a help please Raimund about serveez,
Look i started serveez, loaded serveez.cfg and main loop. All things
are OK, but when i try to create my own server i have the problem.
what i did : i create poks-server.c and poks-server.h serveez.cfg in
my directory /usr/etc/Application. poks-server. c and poks-server.h r
the same thing to foo-serveer juste i changed foo to poks inside. in the
serveez.cfg i have :
(serveez-load "serveez.scm")
(define-port! 'poks-port '(
;; usual settings
(proto . tcp)
(port . 55555)
(ipaddr . *)))
(define-server! 'poks-server '(
(logging . 1)
(timeout . 1800)))
(bind-server! 'poks-port 'poks-server )
looks good so far.
When i start serveez it give me this error :
error link : unable to locate libpoks.so
serveez.cfg: no such server type poks
serveez.cfg : bind server! : no such server : poks server
i forgot all about serveez, i guess :) does the .so file exist anywhere?
it should be compiled already here. if you have the file, make the
LD_LIBRARY_PATH environment variable point to the directory. there might
be a serveez-specific directory, too. stefan? i forgot everything :)
Then i try to create libpoks.so by :
gcc -fPIC -c poks-server.c (it ok here )
gcc -shared -Wl, -soname, libpoks.so.1 -o libpoks.so.1.0 poks-server.o
(here error)
I have this error : gcc: libpoks.so.1 : no file or directory
: gcc: unrecognized option '-soname,'
you try this by hand ?! or is this something that happens when you type
make?
I use linux Mandrak 8.1
Please can u help me to resolve this probleme
Raimund
--
___ ___ _____________
/ /| / /_ / ____/ ___/\ Nothing useful for
/ / / / _ / / __/ / __\/ more than a decade
/ /_/_/ \/ /_/_/ /_/
{www.|address@hidden /______/__/\._\.____/\.____/\ .org
\._____\._\/\._\.___\/\.___\/
- [dev-serveez] Re: I need help please about serveez,
Raimund 'Raimi' Jacob <=