unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs make errors on HP/UX
@ 2005-03-09 23:13 Lozano, Marcus
  0 siblings, 0 replies; 3+ messages in thread
From: Lozano, Marcus @ 2005-03-09 23:13 UTC (permalink / raw)
  Cc: Lozano, Marcus

Hello,

My name is Marcus Lozano. I am fairly new to HP/UX and I am trying to build
emacs on a machine running HP/UX 11.00

I get the following errors below after entering the make command.

Any thoughts of how to resolve this error?

I appreciate any help you can give.

Marcus Lozano
Maxim Integrated Products
San Antonio, Texas

...Line removed for clarity
        cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
-I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
-I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g keyboard.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
        cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
-I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
-I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g macros.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
        cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
-I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
-I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g keymap.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
        cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
-I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
-I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g sysdep.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: "sysdep.c", line 2807: error 1000: Unexpected symbol:
"signal_handler_t".
(Bundled) cc: "sysdep.c", line 2807: error 1705: Function prototypes are an
ANSI feature.
(Bundled) cc: "sysdep.c", line 2830: error 1705: Function prototypes are an
ANSI feature.
(Bundled) cc: "sysdep.c", line 2845: error 1000: Unexpected symbol:
"new_mask".
(Bundled) cc: "sysdep.c", line 2847: error 1000: Unexpected symbol:
"old_mask".
(Bundled) cc: "sysdep.c", line 2848: error 1588: "new_mask" undefined.
(Bundled) cc: "sysdep.c", line 2848: error 1588: "old_mask" undefined.
(Bundled) cc: "sysdep.c", line 2853: error 1000: Unexpected symbol:
"new_mask".
(Bundled) cc: "sysdep.c", line 2855: error 1000: Unexpected symbol:
"old_mask".
(Bundled) cc: "sysdep.c", line 2856: error 1588: "new_mask" undefined.
(Bundled) cc: "sysdep.c", line 2856: error 1588: "old_mask" undefined.
(Bundled) cc: "sysdep.c", line 2861: error 1000: Unexpected symbol:
"new_mask".
(Bundled) cc: "sysdep.c", line 2863: error 1000: Unexpected symbol:
"old_mask".
(Bundled) cc: "sysdep.c", line 2864: error 1588: "new_mask" undefined.
(Bundled) cc: "sysdep.c", line 2864: error 1588: "old_mask" undefined.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs make errors on HP/UX
       [not found] <mailman.3201.1110412450.32256.bug-gnu-emacs@gnu.org>
@ 2005-03-10  3:58 ` Ulrich Hobelmann
  2005-03-10 13:24 ` Martin Jost
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Hobelmann @ 2005-03-10  3:58 UTC (permalink / raw)


Lozano, Marcus wrote:
> Hello,
> 
> My name is Marcus Lozano. I am fairly new to HP/UX and I am trying to build
> emacs on a machine running HP/UX 11.00

Is that a super-old version of HP/UX?

>         cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
> -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
> -I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g sysdep.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
> product; ignored.
> (Bundled) cc: "sysdep.c", line 2807: error 1000: Unexpected symbol:
> "signal_handler_t".

This might mean that the system is missing some header file that would 
define signal_handler_t.  A grep on my Mac's /usr/include doesn't find 
such a definition either, though.  No idea where it's supposed to come from.

> (Bundled) cc: "sysdep.c", line 2807: error 1705: Function prototypes are an
> ANSI feature.

This sounds like the emacs code uses function prototypes (you bet) and 
the compiler is pre-ANSI...  Maybe you need a newer compiler.

The rest are probably errors resulting from the above.

Have you looked at the cc manpage ("man 1 cc", I guess) if it says 
anything about ANSI?  Otherwise you might want to get gcc.

HTH

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Emacs make errors on HP/UX
       [not found] <mailman.3201.1110412450.32256.bug-gnu-emacs@gnu.org>
  2005-03-10  3:58 ` Emacs make errors on HP/UX Ulrich Hobelmann
@ 2005-03-10 13:24 ` Martin Jost
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Jost @ 2005-03-10 13:24 UTC (permalink / raw)



"Lozano, Marcus" <Marcus_Lozano@MAXIMHQ.com> schrieb im Newsbeitrag news:mailman.3201.1110412450.32256.bug-gnu-emacs@gnu.org...
> [...] I am trying to build
> emacs on a machine running HP/UX 11.00
> I get the following errors below after entering the make command.
> Any thoughts of how to resolve this error?

>         cc -c  -Demacs -DHAVE_CONFIG_H   -I. -I/local0/emacs-21.3/src
> -I/usr/include/X11R6 -I/usr/include/X11R5 -I/usr/include/Motif1.2
> -I/usr/contrib/X11R6/include -I/usr/contrib/X11R5/include -g keyboard.c
> (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
> product; ignored.

This means you are using the (bundeled) C compiler.
This is only meant to recompile the kernel.
Not only does it know nothing about -g (debugging) it also isn't a ANIS-C compiler.

You will be completely out of luck building anything reasonable with this compiler.
Your options are:
- Buy the ANSI-C-Compiler from HP
  (It may already be there, installed under /opt/ansic)
- Get a gcc compiled for HP 11.00
  (Unfortunately newer gccs need a ANSI-c compiler to compile, so you are also out of luck compiling from source)

HTH

Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-10 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3201.1110412450.32256.bug-gnu-emacs@gnu.org>
2005-03-10  3:58 ` Emacs make errors on HP/UX Ulrich Hobelmann
2005-03-10 13:24 ` Martin Jost
2005-03-09 23:13 Lozano, Marcus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).