Manjiri Gapchup | 7 May 2008 12:52

Query regarding emacs compilation errors.

Hi,
 
I am Manjiri from Trinity Convergence Pvt. Ltd. For one of our projects we want to get BIDI Support for Arabic language.
 
We have extracted emacs-bidi-0.9.1.tar.gz  and executed on linux
 
1) ./configure
2) make
 
While compilation process we are getting following errors
 
keyboard.c: In function âkbd_buffer_store_eventâ:
keyboard.c:3371: error: invalid storage class for function âinterrupt_signalâ
keyboard.c: At top level:
keyboard.c:9925: warning: conflicting types for âinterrupt_signalâ
keyboard.c:3415: warning: previous implicit declaration of âinterrupt_signalâ was here
make[1]: *** [keyboard.o] Error 1
make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
make: *** [src] Error 2
Will you please guide us so that we can run this code?
 
Thanks and Regards
Manjiri
 
_______________________________________________
emacs-bidi mailing list
emacs-bidi <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-bidi
TAKAHASHI Naoto | 7 May 2008 14:54

Re: Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> We have extracted emacs-bidi-0.9.1.tar.gz
<http://www.m17n.org/emacs-bidi/emacs-bidi-0.9.1.tar.gz>   and executed on linux

> 1) ./configure
> 2) make

> While compilation process we are getting following errors

> keyboard.c: In function âkbd_buffer_store_eventâ:
> keyboard.c:3371: error: invalid storage class for function âinterrupt_signalâ
> keyboard.c: At top level:
> keyboard.c:9925: warning: conflicting types for âinterrupt_signalâ
> keyboard.c:3415: warning: previous implicit declaration of âinterrupt_signalâ was here
> make[1]: *** [keyboard.o] Error 1
> make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
> make: *** [src] Error 2

> Will you please guide us so that we can run this code?

Please change Line 3371 in keyboard.c from

	  static SIGTYPE interrupt_signal P_ ((int));

to
	  extern SIGTYPE interrupt_signal ();

Sorry for inconvenience.

--

-- 
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/
Manjiri Gapchup | 8 May 2008 04:46

RE: Query regarding emacs compilation errors.


 Hi,

Thanks for your support.

I have modified
Line 3371 in keyboard.c from

	  static SIGTYPE interrupt_signal P_ ((int));
        to
	  extern SIGTYPE interrupt_signal ();
And the previous error is not seen but now I am getting
Error as,

Loading vc-hooks...
Loading ediff-hook...
((44753 . 4669) (8940 . 0) (540 . 81) 61678 139650 (14 . 9) (14 . 12) (4483 . 1565))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-21.3.50.1
make[1]: *** [emacs] Segmentation fault
make[1]: *** Deleting file `emacs'
make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
make: *** [src] Error 2 

Will you please guide me in this context ?

Thanks and Regards,
Manjiri

-----Original Message-----
From: TAKAHASHI Naoto [mailto:ntakahas <at> m17n.org] 
Sent: Wednesday, May 07, 2008 6:25 PM
To: Manjiri Gapchup
Cc: emacs-bidi <at> gnu.org; Kalpesh Balar
Subject: Re: [emacs-bidi] Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> We have extracted emacs-bidi-0.9.1.tar.gz
<http://www.m17n.org/emacs-bidi/emacs-bidi-0.9.1.tar.gz>   and executed on linux

> 1) ./configure
> 2) make

> While compilation process we are getting following errors

> keyboard.c: In function âkbd_buffer_store_eventâ:
> keyboard.c:3371: error: invalid storage class for function 
> âinterrupt_signalâ
> keyboard.c: At top level:
> keyboard.c:9925: warning: conflicting types for âinterrupt_signalâ
> keyboard.c:3415: warning: previous implicit declaration of 
> âinterrupt_signalâ was here
> make[1]: *** [keyboard.o] Error 1
> make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
> make: *** [src] Error 2

> Will you please guide us so that we can run this code?

Please change Line 3371 in keyboard.c from

	  static SIGTYPE interrupt_signal P_ ((int));

to
	  extern SIGTYPE interrupt_signal ();

Sorry for inconvenience.

--
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/
TAKAHASHI Naoto | 8 May 2008 05:36

Re: Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> And the previous error is not seen but now I am getting
> Error as,

> Loading vc-hooks...
> Loading ediff-hook...
> ((44753 . 4669) (8940 . 0) (540 . 81) 61678 139650 (14 . 9) (14 . 12) (4483 . 1565))
> Finding pointers to doc strings...
> Finding pointers to doc strings...done
> Dumping under names emacs and emacs-21.3.50.1
> make[1]: *** [emacs] Segmentation fault
> make[1]: *** Deleting file `emacs'
> make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
> make: *** [src] Error 2 

I could not reproduce this error.  Will you tell me about your "linux"
system in more detail?  For example the distribution name, the version
number, CPU architecture, etc.

--

-- 
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/
Manjiri Gapchup | 8 May 2008 05:44

RE: Query regarding emacs compilation errors.

Hi,

My linux version is

Linux torana.trinity.local 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12
19:40:16 EDT 2007 i686 i686 i386 GNU/Linux 

Please let me know if any more information is required.

Thanks and Regards,
Manjiri

-----Original Message-----
From: TAKAHASHI Naoto [mailto:ntakahas <at> m17n.org] 
Sent: Thursday, May 08, 2008 9:07 AM
To: Manjiri Gapchup
Cc: emacs-bidi <at> gnu.org; Kalpesh Balar
Subject: Re: [emacs-bidi] Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> And the previous error is not seen but now I am getting Error as,

> Loading vc-hooks...
> Loading ediff-hook...
> ((44753 . 4669) (8940 . 0) (540 . 81) 61678 139650 (14 . 9) (14 . 12) 
> (4483 . 1565)) Finding pointers to doc strings...
> Finding pointers to doc strings...done Dumping under names emacs and 
> emacs-21.3.50.1
> make[1]: *** [emacs] Segmentation fault
> make[1]: *** Deleting file `emacs'
> make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
> make: *** [src] Error 2

I could not reproduce this error.  Will you tell me about your "linux"
system in more detail?  For example the distribution name, the version
number, CPU architecture, etc.

--
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/
Manjiri Gapchup | 8 May 2008 08:31

RE: Query regarding emacs compilation errors.

Will you please let us know which Linux version you are using. We will
try to install it here and test.

Thanks and Regards,
Manjiri 

-----Original Message-----
From: Manjiri Gapchup 
Sent: Thursday, May 08, 2008 9:14 AM
To: 'TAKAHASHI Naoto'
Cc: emacs-bidi <at> gnu.org; Kalpesh Balar
Subject: RE: [emacs-bidi] Query regarding emacs compilation errors.

Hi,

My linux version is

Linux torana.trinity.local 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12
19:40:16 EDT 2007 i686 i686 i386 GNU/Linux 

Please let me know if any more information is required.

Thanks and Regards,
Manjiri

-----Original Message-----
From: TAKAHASHI Naoto [mailto:ntakahas <at> m17n.org]
Sent: Thursday, May 08, 2008 9:07 AM
To: Manjiri Gapchup
Cc: emacs-bidi <at> gnu.org; Kalpesh Balar
Subject: Re: [emacs-bidi] Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> And the previous error is not seen but now I am getting Error as,

> Loading vc-hooks...
> Loading ediff-hook...
> ((44753 . 4669) (8940 . 0) (540 . 81) 61678 139650 (14 . 9) (14 . 12)
> (4483 . 1565)) Finding pointers to doc strings...
> Finding pointers to doc strings...done Dumping under names emacs and
> emacs-21.3.50.1
> make[1]: *** [emacs] Segmentation fault
> make[1]: *** Deleting file `emacs'
> make[1]: Leaving directory `/home/mgapchup/emacs-bidi/src'
> make: *** [src] Error 2

I could not reproduce this error.  Will you tell me about your "linux"
system in more detail?  For example the distribution name, the version
number, CPU architecture, etc.

--
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/
TAKAHASHI Naoto | 8 May 2008 09:40

Re: Query regarding emacs compilation errors.

"Manjiri Gapchup" writes:

> My linux version is

> Linux torana.trinity.local 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12
> 19:40:16 EDT 2007 i686 i686 i386 GNU/Linux 

It seems that you are using Fedora 5.  I have just tried to compile
emacs-bidi-0.9.1 on Fedora 7 and Fedra 8, and they both returned the
same error that you reported.  :-(

> Will you please let us know which Linux version you are using. We will
> try to install it here and test.

I am using Debian Sid (Unstable), but I have confirmed that
emacs-bidi-0.9.1 compiles fine on Debian Etch (Stable), too.  I
recommend you to try Etch first.

We will investigate the cause of the error with Fedora systems as soon
as the main author of the emacs-bidi comes back from his business
trip.

--

-- 
TAKAHASHI Naoto
ntakahas <at> m17n.org
http://www.m17n.org/ntakahas/

Gmane