After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 103416 - Error running make in gnome-terminal-2.1.4
Error running make in gnome-terminal-2.1.4
Status: RESOLVED DUPLICATE of bug 103065
Product: gnome-terminal
Classification: Core
Component: general
2.1.x
Other Linux
: Normal normal
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-13 21:03 UTC by Hajo Beckefeld
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Hajo Beckefeld 2003-01-13 21:03:31 UTC
Hi,

I've had an error building gnome-terminal-2.1.4. make in
"gnome-terminal-2.1.4" says:
encoding.c:356: parse error before `*'
encoding.c:374: `encoding' undeclared (first use in this function)

I just switched lines 355 and 356 in "gnome-terminal-2.1.4/src/encoding.c"
to  run make successfully! I think it's the right usage of a
"TerminalEncoding".

Best Regards

Hajo Beckefeld

Here's the very simple diff:
--- gnome-terminal-2.1.4/src/encoding.c Fri Jan 10 06:08:03 2003
+++ gnome-terminal-2.1.4-patched/src/encoding.c Mon Jan 13 21:48:55 2003
@@ -352,9 +352,9 @@
   for (tmp = strings; tmp != NULL; tmp = tmp->next)
     {
       const TerminalEncoding *e;
-      charset = tmp->data;
       TerminalEncoding *encoding;
-
+      charset = tmp->data;
+
       if (strcmp (charset, "current") == 0)
         g_get_charset (&charset);
Comment 1 Alex Duggan 2003-01-14 01:56:07 UTC
*** This bug has been marked as a duplicate of 103065 ***