|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Michael DiDonato <did### [at] scrippsedu> writes:
> Rohan Hart wrote:
>
> Alternatively...
>
> #define _BSD_SIGNALS or _BSD_COMPAT before including <signal.h>
> and you get the slightly different and non-SYSV-compatible BSD proto:
> int (*signal(int sig, int (*func)(int, ...)))(int, ...);
>
> Rohan
>
> Tried -D_XOPEN_SOURCE and then got the following error:
...
> unix.cpp:500: `gettimeofday' undeclared (first use this function)
gettimeofday seems to be BSDish and not part of the XOpen
world... however both _XOPEN_SOURCE and _BSD_COMPAT can be set
together which finds gettimeofday and has the interesting property of
creating a void returning signal with BSD semantics.
Whether that'll work any better...
Rohan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Rohan Hart wrote:
> Michael DiDonato <did### [at] scrippsedu> writes:
>
> > Rohan Hart wrote:
> >
> > Alternatively...
> >
> > #define _BSD_SIGNALS or _BSD_COMPAT before including <signal.h>
> > and you get the slightly different and non-SYSV-compatible BSD proto:
> > int (*signal(int sig, int (*func)(int, ...)))(int, ...);
> >
> > Rohan
> >
> > Tried -D_XOPEN_SOURCE and then got the following error:
> ...
> > unix.cpp:500: `gettimeofday' undeclared (first use this function)
>
> gettimeofday seems to be BSDish and not part of the XOpen
> world... however both _XOPEN_SOURCE and _BSD_COMPAT can be set
> together which finds gettimeofday and has the interesting property of
> creating a void returning signal with BSD semantics.
>
> Whether that'll work any better...
>
> Rohan
OK that seemed to let me complete the compiling stage but now it bombs on
linking with this error:
ld32: ERROR 33 : Unresolved text symbol "basename" -- 1st referenced by
unix.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33 : Unresolved text symbol "dirname" -- 1st referenced by
unix.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gmake[1]: *** [povray] Error 1
gmake[1]: Leaving directory `/home/didonato/temp/povray-3.50a/src'
gmake: *** [all-recursive] Error 1
I am starting to give up on this.
Mike
--
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037
Tel: (858) 784-9261
FAX: (858) 784-2277
http://www.scripps.edu/~didonato
*********************************
Post a reply to this message
Attachments:
Download 'us-ascii' (3 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm going to work in reimplementing basename/dirname for Unices (mostly
BSD-derived, it seems) that lack them.
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <pan### [at] povrayorg>,
Mark Gordon <mtg### [at] povrayorg> wrote:
> I'm going to work in reimplementing basename/dirname for Unices (mostly
> BSD-derived, it seems) that lack them.
Did you see the code I posted?
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 08 Aug 2002 14:47:33 -0400, Christopher James Huff wrote:
> In article <pan### [at] povrayorg>,
> Mark Gordon <mtg### [at] povrayorg> wrote:
>
>> I'm going to work in reimplementing basename/dirname for Unices (mostly
>> BSD-derived, it seems) that lack them.
>
> Did you see the code I posted?
Thanks, now I do. That should make things easier. Permission to include
your code?
-Mark Gordon
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mark Gordon wrote:
> On Thu, 08 Aug 2002 14:47:33 -0400, Christopher James Huff wrote:
>
> > In article <pan### [at] povrayorg>,
> > Mark Gordon <mtg### [at] povrayorg> wrote:
> >
> >> I'm going to work in reimplementing basename/dirname for Unices (mostly
> >> BSD-derived, it seems) that lack them.
> >
> > Did you see the code I posted?
>
> Thanks, now I do. That should make things easier. Permission to include
> your code?
>
> -Mark Gordon
Will a new source distribution be made available later?
Mike
--
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037
Tel: (858) 784-9261
FAX: (858) 784-2277
http://www.scripps.edu/~didonato
*********************************
Post a reply to this message
Attachments:
Download 'us-ascii' (2 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 08 Aug 2002 13:02:35 -0700, Michael DiDonato wrote:
>
> Will a new source distribution be made available later?
Only if you're really nice and stop posting in HTML.
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ron Parker wrote:
> On Thu, 08 Aug 2002 13:02:35 -0700, Michael DiDonato wrote:
> >
> > Will a new source distribution be made available later?
>
> Only if you're really nice and stop posting in HTML.
>
> --
> #macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
> -z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
> P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
> reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}
Sorry!
Mike
--
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037
Tel: (858) 784-9261
FAX: (858) 784-2277
http://www.scripps.edu/~didonato
*********************************
Post a reply to this message
Attachments:
Download 'us-ascii' (1 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <pan### [at] povrayorg>,
Mark Gordon <mtg### [at] povrayorg> wrote:
> > Did you see the code I posted?
>
> Thanks, now I do. That should make things easier. Permission to include
> your code?
Of course. ;-)
Just make sure it works right first...
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 08 Aug 2002 13:56:02 -0700, Michael DiDonato wrote:
> Sorry!
You might want to lose the vCard, too. Some people get touchy about that. :)
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbf 1}hollow interior{media{emission 3-T}}}#end
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |