openvds-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openvds-devel] Does FreeVSD have it's own API?


From: Damion Parry
Subject: Re: [Openvds-devel] Does FreeVSD have it's own API?
Date: Thu, 16 May 2002 10:51:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Ooh, I think I've spotted it, the ${VSD_LIB} variable needs to be on the end of the target line, gcc doesn't know which symbols needs to be loaded in at the time it is specified. Order of args is important:

mail_accntd: main.o signals.o conn_han.o vsd_virtuald.o
${CC} ${ADV} -o mail_accntd main.o signals.o conn_han.o vsd_virtuald.o ${VSD_LIB}

Damion.

Lev V. Vanyan wrote:
-----BEGIN PGP SIGNED MESSAGE-----

Чт 16 Май 2002 11:48, Вы написали:
Yes, i've misspelled and wrote vsd_virtald.c instead of vsd_virtuald.o, but the fact is that compiled objects still contain unresolved symbols. I'll try to use vsd_getvdent instead of getvdent. vsd_test.c is a small "Hello, world!" intended to test vsd_virtual.c, it would be absent in Makefile ot the further releases :)))

vsd_test.c: :))
/*********************************************************************
* Written by Lev V. Vanyan <address@hidden>
* Mirotel LTD, Kyiv, Ukraine
* This is free software, so you can distribute under the terms and
* conditions of GNU Public License ("GPL"). I take NO RESPONCEBILITY
* for any kind of damage this software could give. So you are on your
* own.
*
* Send your bug reports to address@hidden
*
* Based on virtuald.c from freevsd's source tree
* Should be compiled within VSD source tree
*
**********************************************************************/
#include "main.h" int main (int argc, char** argv) { if(argc<3) {
                printf("%s <domain_name> <name>\n",argv[0]);
                goto main_end;
        }
touch_mailbox(argv[1],argv[2]); main_end:
        return 0;
}


- -- Lev V. Vanyan System Administrator
Mirotel ISP                      nic-hdl: VL1580-RIPE, LV2560-NIC
mailto: address@hidden
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQB1AwUBPONuK89Sz223N4s1AQHPVgL/VVoc7A7bPObUKuRlSfv2CyuYnCmrmiut
w7XoU3njOp/VXICU10D7+N2v39CBw9Z4hXyN1JHfRP6jB43/HH3W/AT4u4Ocf6bn
h2ncT1WCZ0xFK9nOXC6PrvT5manpNwnZ
=b/Fo
-----END PGP SIGNATURE-----

_______________________________________________
Openvds-devel mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/openvds-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]