Mailing List Archive

compile problems on freeBSD 2.2.7
Hi. I get several compile problems when trying to compile gpg 0.3.4 on
my freeBSD 2.2.7 -stable box

the first error I get is:

Making all in po
make: don't know how to make cat-id-tbl.c. Stop
*** Error code 1

Stop.
*** Error code 1

Stop.


ok, so 'touch po/cat-id-tbl.c' seems to fix that. What is this cause of
this error and should I do something else?

so after I do that its make again and it compiles for a bit then gives
me:

Making all in g10
--snip--
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -I../intl -g
-Wall -c status.c
status.c:141: #error Must add a cleanup function
*** Error code 1

Stop.


if I get rid of line 141 in status.c it gives me some more errors, and
then if I define something else I have gotten it to compile before. I
was just wondering if all this doctoring of the code when I really don't
know what im doing is effecting anything. Whats the correct way to fix
these errors? On the one that I got to compile after I severly doctored
it, It never uses secure memory. Is this related to the compile
errors? I installed it suid root. Thanks for your help

Kirk
Re: compile problems on freeBSD 2.2.7 [ In reply to ]
Kirk Fort <k4t@beachaccess.com> writes:

> ok, so 'touch po/cat-id-tbl.c' seems to fix that. What is this cause of
> this error and should I do something else?

I have to update gettext anyway and I hope this will fix it.

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -I../intl -g
> -Wall -c status.c
> status.c:141: #error Must add a cleanup function

We need a atexit() to do a IPC_RMID - It is easy.


Werner