Re: [9fans] native library: linking err

2011-03-15 Thread Steve Simon
graphviz package in my contrib is (I believe) documented here: http://www.graphviz.org/ Would that be the right choice when I care mostly drawing areas filled with color and pattern, with some basic text functions? sounds like a job for pic(1) - A friend of troff. Troff has a

Re: [9fans] native library: linking err

2011-03-15 Thread Peter A. Cejchan
sounds like a job for pic(1) - A friend of troff. Troff has a postscript backend, pic if fine, but I think it can't do areas delimited by bezier curves, and filled w/color+hash, does it? BTW, ps2pdf (it is a part of gs, isn't it?) emitted a (huge) bitmap wrapped in pdf, last time I used it

Re: [9fans] native library: linking err

2011-03-15 Thread Peter A. Cejchan
st...@quintile.net wrote: graphviz package in my contrib is (I believe) documented here: graphviz is OK, i just wanted to steal some ps-generating functions from psgen.c (in dotneato/common) but i was not sure abou the meaning of some params... do you think that psgen.c would be a candidate

Re: [9fans] native library: linking err

2011-03-14 Thread Peter A. Cejchan
the error message is like this: 8l box.8 pslib.8 ... ??none?? incompatible type signetures c2d44e4 (pslib.8) and affc2df4 (pslist.8) for dlst_freenode what does it mean? ++pac

Re: [9fans] native library: linking err

2011-03-14 Thread Charles Forsyth
it means that dlst_freenode is declared as one type in the scope of pslib.c and another different type in the scope of pslist.c, which is wrong.---BeginMessage--- the error message is like this: 8l box.8 pslib.8 ... ??none?? incompatible type signetures c2d44e4 (pslib.8) and affc2df4 (pslist.8)

Re: [9fans] native library: linking err

2011-03-14 Thread Peter A. Cejchan
sorry, type is void *fn()

Re: [9fans] native library: linking err

2011-03-14 Thread Lucio De Re
On Mon, Mar 14, 2011 at 11:42:13AM +0100, Peter A. Cejchan wrote: sorry, type is void *fn() or void *fn(void) ? You may, if I'm guessing right, have to tighten up. It's more complicated than I can get my mind around... Lucio.

Re: [9fans] native library: linking err

2011-03-14 Thread Peter A. Cejchan
void *dlist_newnode(DLIST *l, int size); the code is on 'contrib/pac', see earlier in this thread, thanks, ++pac

Re: [9fans] native library: linking err

2011-03-14 Thread Charles Forsyth
PSDoc is fully declared in ps_util.c but not ps_list.c because only ps_util.c includes ps_intern.h which provides the full declaration. in ps_list.h, DLIST refers to PSDoc in the declarations of DLIST.malloc and DLIST.free, so the type of DLIST in ps_list.c (ps_list.8) is not the same as the type

[9fans] native library: linking err

2011-03-11 Thread Peter A. Cejchan
hi, friends!! i've (almost) ported the pslib library, natively, compiles fine, but the 8l complaints when linking it to a simple prog. the stuff is on /n/sources/contrib/pac/sys/src/libpslib-0.4.1.tbz read the file 'BUGS' please, help, thanks, have a great weekend, peter (aka ++pac)