Re: Problems compiling 0.1.3
- From: tpgww@xxxxxxxxxxx
- To: emelfm2@xxxxxxxxxxxxx
- Date: Mon, 21 Nov 2005 20:33:42 +1100
On Mon, 21 Nov 2005 07:56:02 +0000
Geoff <capsthorne@xxxxxxxxxxx> wrote:
> Hi Tom,
>
> I am having problems compiling 0.1.3.
>
> I am using the same options as succeed for 20051028 -
> USE_INOTIFY=1 USE_LATEST=1.
>
> I updated gtk+ to 2.8.7 from
> 2.8.6 since compiling 20051028, but I think that is the
> only relevant change to my system, and I checked that
> 20051028 does still compile.
>
> Compilation of 0.1.3 aborts with :
>
> generating 'objs/src/e2_task_backend.deps'
> src/e2_task_backend.c:387:1: directives may not be used
> inside a macro argument src/e2_task_backend.c:386:59:
> unterminated argument list invoking macro
> "TEMP_FAILURE_RETRY" make: ***
> [objs/src/e2_task_backend.deps] Error 1
Thanks, Geoff.
I expect it's a compiler-issue, unrelated to gtk (no problem here, with gcc
4.0.2)
I suggest the following:
Lines 386 ff in e2_task_backend.c are now:
gint dest_desc = TEMP_FAILURE_RETRY (open (
#ifdef LATE_DELETE
temp,
#else
dest,
#endif
O_WRONLY | O_CREAT | O_EXCL , dest_mode));
Change them to:
gint dest_desc =
#ifdef LATE_DELETE
TEMP_FAILURE_RETRY (open (temp, O_WRONLY | O_CREAT | O_EXCL ,
dest_mode));
#else
TEMP_FAILURE_RETRY (open (dest, O_WRONLY | O_CREAT | O_EXCL ,
dest_mode));
#endif
Regards
Tom
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: Problems compiling 0.1.3
- From: Geoff
- References:
- Problems compiling 0.1.3
- From: Geoff
Other related posts:
- » Problems compiling 0.1.3
- » Re: Problems compiling 0.1.3
- » Re: Problems compiling 0.1.3
- » Re: Problems compiling 0.1.3
- » Re: Problems compiling 0.1.3
- Re: Problems compiling 0.1.3
- From: Geoff
- Problems compiling 0.1.3
- From: Geoff