Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Mozilla status
@ 1998-04-01  8:18 Hugo van der Kooij
  1998-04-01  8:43 ` Brian Lund
  0 siblings, 1 reply; 22+ messages in thread
From: Hugo van der Kooij @ 1998-04-01  8:18 UTC (permalink / raw)
  To: RedHat Alpha mailinglist

Well,

At present Mozilla is not to happy on my ALpha system. It fails
consistently with the following:

cd XfeWidgets/Xfe; gmake
gmake[3]: Entering directory `/usr/local/src/ns/cmd/xfe/XfeWidgets/Xfe'
gcc -o Linux2.0.33_alpha_OPT.OBJ/ComboBox.o -c -DXP_UNIX -O2 -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -D__alpha -D_ALPHA_  -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGN
ED_CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.0\" -DMOZILLA_CLIENT -DNO_SECURITY 
-DEDITOR -DMOZ_COMMUNICATOR_IIDS -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG   -I../../../../include   -I/usr/X11R6/include -I../../../../dist/Linux2.0.33_alpha_OPT.OBJ/include -I.. 
  ComboBox.c
ComboBox.c:272: `XmNlist' undeclared here (not in a function)
ComboBox.c:272: initializer element for `resources[6].resource_name' is not constant
ComboBox.c: In function `ArrowActivateCB':
ComboBox.c:1398: warning: unused variable `cp'
ComboBox.c: At top level:
ComboBox.c:128: warning: `ListLayout' declared `static' but never defined
ComboBox.c:147: warning: `ShellLayout' declared `static' but never defined
ComboBox.c:1396: warning: `ArrowActivateCB' defined but not used
gmake[3]: *** [Linux2.0.33_alpha_OPT.OBJ/ComboBox.o] Error 1
gmake[3]: Target `all' not remade because of errors.
gmake[3]: Leaving directory `/usr/local/src/ns/cmd/xfe/XfeWidgets/Xfe'
gmake[2]: *** [../../dist/Linux2.0.33_alpha_OPT.OBJ/lib/libXfeWidgets.a] Error 2
gcc -c -o Linux2.0.33_alpha_OPT.OBJ/license.o Linux2.0.33_alpha_OPT.OBJ/LICENSE.c
Generating Linux2.0.33_alpha_OPT.OBJ/Netscape-export.ad from resources...
gcc -c  -o Linux2.0.33_alpha_OPT.OBJ/resources-export.o Linux2.0.33_alpha_OPT.OBJ/RESOURCES-export.c
gmake[2]: Target `install' not remade because of errors.
rm Linux2.0.33_alpha_OPT.OBJ/RESOURCES-export.c
gmake[2]: Leaving directory `/usr/local/src/ns/cmd/xfe'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/local/src/ns/cmd'
gmake: *** [install] Error 2
gmake: Target `all' not remade because of errors.

This was noted using lesstif 0.82

Hugo.


	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


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

* Re: Mozilla status
  1998-04-01  8:18 Mozilla status Hugo van der Kooij
@ 1998-04-01  8:43 ` Brian Lund
  1998-04-01 10:05   ` Uncle George
  1998-04-01 11:19   ` Hugo van der Kooij
  0 siblings, 2 replies; 22+ messages in thread
From: Brian Lund @ 1998-04-01  8:43 UTC (permalink / raw)
  To: axp-list

On Wed, Apr 01, 1998 at 10:18:38AM +0200, Hugo van der Kooij wrote:
> Well,
> 
> At present Mozilla is not to happy on my ALpha system. It fails
> consistently with the following:
> 
> cd XfeWidgets/Xfe; gmake
> gmake[3]: Entering directory `/usr/local/src/ns/cmd/xfe/XfeWidgets/Xfe'
> gcc -o Linux2.0.33_alpha_OPT.OBJ/ComboBox.o -c -DXP_UNIX -O2 -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -D__alpha -D_ALPHA_  -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGN
> ED_CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.0\" -DMOZILLA_CLIENT -DNO_SECURITY 
> -DEDITOR -DMOZ_COMMUNICATOR_IIDS -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG   -I../../../../include   -I/usr/X11R6/include -I../../../../dist/Linux2.0.33_alpha_OPT.OBJ/include -I.. 
>   ComboBox.c
> ComboBox.c:272: `XmNlist' undeclared here (not in a function)
> ComboBox.c:272: initializer element for `resources[6].resource_name' is not constant
> ComboBox.c: In function `ArrowActivateCB':
> ComboBox.c:1398: warning: unused variable `cp'

It did the same on x86 here, make a #define XmNlist "list", in ComboBox.c

-- 

- Brian Lund
blinx@zone.dk

Resistance is not futile - www.linux.org


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

* Re: Mozilla status
  1998-04-01  8:43 ` Brian Lund
@ 1998-04-01 10:05   ` Uncle George
  1998-04-01 11:19   ` Hugo van der Kooij
  1 sibling, 0 replies; 22+ messages in thread
From: Uncle George @ 1998-04-01 10:05 UTC (permalink / raw)
  To: axp-list

mine all compiled, except for Grid.c ( i think )

still dont work, got fpe errors  ie NAN->int
see ya
gat



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

* Re: Mozilla status
  1998-04-01  8:43 ` Brian Lund
  1998-04-01 10:05   ` Uncle George
@ 1998-04-01 11:19   ` Hugo van der Kooij
  1998-04-01 18:00     ` Eric Barkie
  1 sibling, 1 reply; 22+ messages in thread
From: Hugo van der Kooij @ 1998-04-01 11:19 UTC (permalink / raw)
  To: axp-list

On Wed, 1 Apr 1998, Brian Lund wrote:

> On Wed, Apr 01, 1998 at 10:18:38AM +0200, Hugo van der Kooij wrote:
> > Well,
> > 
> > At present Mozilla is not to happy on my ALpha system. It fails
> > consistently with the following:
> > 
> > cd XfeWidgets/Xfe; gmake
> > gmake[3]: Entering directory `/usr/local/src/ns/cmd/xfe/XfeWidgets/Xfe'
> > gcc -o Linux2.0.33_alpha_OPT.OBJ/ComboBox.o -c -DXP_UNIX -O2 -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -D__alpha -D_ALPHA_  -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGN
> > ED_CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG -DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.0\" -DMOZILLA_CLIENT -DNO_SECURITY 
> > -DEDITOR -DMOZ_COMMUNICATOR_IIDS -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG   -I../../../../include   -I/usr/X11R6/include -I../../../../dist/Linux2.0.33_alpha_OPT.OBJ/include -I.. 
> >   ComboBox.c
> > ComboBox.c:272: `XmNlist' undeclared here (not in a function)
> > ComboBox.c:272: initializer element for `resources[6].resource_name' is not constant
> > ComboBox.c: In function `ArrowActivateCB':
> > ComboBox.c:1398: warning: unused variable `cp'
> 
> It did the same on x86 here, make a #define XmNlist "list", in ComboBox.c

Wel I made a patch for it:

--------start of patch------
--- ns/cmd/xfe/XfeWidgets/Xfe/orig/ComboBox.c	Tue Mar 31 04:05:45 1998
+++ ns/cmd/xfe/XfeWidgets/Xfe/ComboBox.c	Wed Apr  1 11:21:50 1998
@@ -38,6 +38,9 @@
 #include <Xfe/Button.h>
 #include <Xfe/Arrow.h>
 
+/* Added this define line! */
+#define XmNlist "list"
+
 #define MESSAGE1 "Widget is not an XfeComboBox."
 #define MESSAGE2 "XmNtitle is a read-only resource."
 #define MESSAGE3 "XmNlist is a read-only resource."
------end of patch------

But stumbled on the next error:

gcc -o Linux2.0.33_alpha_DBG.OBJ/region.o -c -DXP_UNIX -g -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -D__alpha -D_ALPHA_  -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGNED_
CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_root -DTRACING -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.0\" -DMOZILLA_CLIENT -DNO
_SECURITY -DEDITOR -DMOZ_COMMUNICATOR_IIDS -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DNEW_DECODERS -DUSE_3PANE  -I../../dist/public/addr -I../../dist/public/applet -I../../dist/pu
blic/img -I../../dist/public/edtplug -I../../dist/public/jtools -I../../dist/public/lay -I../../dist/public/layer -I../../dist/public/js -I../../dist/public/libfont -I../../dist/public/mariner -I../../dist/public/msg -I../../dist/public/plds -I../../dist/
public/nspr20 -I../../dist/public/parse -I../../dist/public/plug -I../../dist/public/hook -I../../dist/public/pref -I../../dist/public/rdf -I../../dist/public/security -I../../dist/public/softupdt -I../../dist/public/libreg -I../../dist/public/style -I../
../dist/public/util -I../../dist/public/java -I../../dist/public/ldap -I../../dist/public/xfeicons -I../../include   -I/usr/X11R6/include -I../../dist/Linux2.0.33_alpha_DBG.OBJ/include -IMicroline3.0 -IXfeWidgets -Isrc -I.   -DENABLE_MARINER region.c
region.c: In function `FE_SetRectRegion':
region.c:74: warning: cast to pointer from integer of different size
gcc -c -o Linux2.0.33_alpha_DBG.OBJ/license.o Linux2.0.33_alpha_DBG.OBJ/LICENSE.c
Generating Linux2.0.33_alpha_DBG.OBJ/Netscape-export.ad from resources...
gcc -c  -o Linux2.0.33_alpha_DBG.OBJ/resources-export.o Linux2.0.33_alpha_DBG.OBJ/RESOURCES-export.c
gmake[2]: Target `install' not remade because of errors.
rm Linux2.0.33_alpha_DBG.OBJ/RESOURCES-export.c
gmake[2]: Leaving directory `/usr/local/src/ns/cmd/xfe'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/local/src/ns/cmd'
gmake: *** [install] Error 2
gmake: Target `all' not remade because of errors.

So far my pentium is still compiling. (It does take quite a while longer
there!)

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


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

* Re: Mozilla status
  1998-04-01 11:19   ` Hugo van der Kooij
@ 1998-04-01 18:00     ` Eric Barkie
  1998-04-01 18:15       ` Jochen K"upper
                         ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Eric Barkie @ 1998-04-01 18:00 UTC (permalink / raw)
  To: axp-list

So has anyone been able to get a working version of netscape?
After fixing the include in Grid.c I was able to get a "clean" compile
but when I run it there's a floating point exception.

If anyone gets a working version it would be nice if a binary would be
made available for download.

Eric..


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

* Re: Mozilla status
  1998-04-01 18:00     ` Eric Barkie
@ 1998-04-01 18:15       ` Jochen K"upper
  1998-04-01 19:05       ` Harvey J. Stein
                         ` (2 subsequent siblings)
  3 siblings, 0 replies; 22+ messages in thread
From: Jochen K"upper @ 1998-04-01 18:15 UTC (permalink / raw)
  To: Eric Barkie; +Cc: axp-list

On Wed, 1 Apr 1998, Eric Barkie wrote:

> If anyone gets a working version it would be nice if a binary would be
> made available for download.

A diff would even be better.

Jochen



-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------




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

* Re: Mozilla status
  1998-04-01 18:00     ` Eric Barkie
  1998-04-01 18:15       ` Jochen K"upper
@ 1998-04-01 19:05       ` Harvey J. Stein
  1998-04-02  2:21         ` Eric Barkie
  1998-04-01 19:12       ` Uncle George
  1998-04-01 19:17       ` Hugo van der Kooij
  3 siblings, 1 reply; 22+ messages in thread
From: Harvey J. Stein @ 1998-04-01 19:05 UTC (permalink / raw)
  To: barkman; +Cc: axp-list, hjstein

Eric Barkie <barkman@together.net> writes:


> So has anyone been able to get a working version of netscape?
> After fixing the include in Grid.c I was able to get a "clean" compile
> but when I run it there's a floating point exception.

Did you try recompiling everything with -mieee?

-- 
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il


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

* Re: Mozilla status
  1998-04-01 18:00     ` Eric Barkie
  1998-04-01 18:15       ` Jochen K"upper
  1998-04-01 19:05       ` Harvey J. Stein
@ 1998-04-01 19:12       ` Uncle George
  1998-04-02  2:25         ` Eric Barkie
  1998-04-01 19:17       ` Hugo van der Kooij
  3 siblings, 1 reply; 22+ messages in thread
From: Uncle George @ 1998-04-01 19:12 UTC (permalink / raw)
  To: barkman; +Cc: axp-list

floating point conversion from NaN/INF -> int is giving u that problem.
u will also have to define the smallest double possible, as the conversion
doesn't seem to behave as the authors expected!
gat

BTW, wait till u get to the threads.

Eric Barkie wrote:

> So has anyone been able to get a working version of netscape?
> After fixing the include in Grid.c I was able to get a "clean" compile
> but when I run it there's a floating point exception.
>
> If anyone gets a working version it would be nice if a binary would be
> made available for download.
>
> Eric..
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com




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

* Re: Mozilla status
  1998-04-01 18:00     ` Eric Barkie
                         ` (2 preceding siblings ...)
  1998-04-01 19:12       ` Uncle George
@ 1998-04-01 19:17       ` Hugo van der Kooij
  1998-04-02  2:19         ` Eric Barkie
  3 siblings, 1 reply; 22+ messages in thread
From: Hugo van der Kooij @ 1998-04-01 19:17 UTC (permalink / raw)
  To: Eric Barkie; +Cc: axp-list

On Wed, 1 Apr 1998, Eric Barkie wrote:

> So has anyone been able to get a working version of netscape?
> After fixing the include in Grid.c I was able to get a "clean" compile
> but when I run it there's a floating point exception.

Can you share with us what you actually fixed? This is the point I was
stopped at present.

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


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

* Re: Mozilla status
  1998-04-01 19:17       ` Hugo van der Kooij
@ 1998-04-02  2:19         ` Eric Barkie
  1998-04-02  9:16           ` Hugo van der Kooij
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Barkie @ 1998-04-02  2:19 UTC (permalink / raw)
  To: axp-list

Hugo van der Kooij wrote:
> 
> On Wed, 1 Apr 1998, Eric Barkie wrote:
> 
> > So has anyone been able to get a working version of netscape?
> > After fixing the include in Grid.c I was able to get a "clean" compile
> > but when I run it there's a floating point exception.
> 
> Can you share with us what you actually fixed? This is the point I was
> stopped at present.
> 

Sure! I just added the line:

#include <Xm/DropSMgr.h>

On my system that header file contains the calls it's requesting.  Try
that and do a gmake -k and all should go well.  Except the
mozilla-export it generates (18MB) crashes.

Please let me know if you find any way to fix this!

Eric..


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

* Re: Mozilla status
  1998-04-01 19:05       ` Harvey J. Stein
@ 1998-04-02  2:21         ` Eric Barkie
  1998-04-02  8:02           ` Hugo van der Kooij
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Barkie @ 1998-04-02  2:21 UTC (permalink / raw)
  To: axp-list

Harvey J. Stein wrote:
> 
> Eric Barkie <barkman@together.net> writes:
> 
> > So has anyone been able to get a working version of netscape?
> > After fixing the include in Grid.c I was able to get a "clean" compile
> > but when I run it there's a floating point exception.
> 
> Did you try recompiling everything with -mieee?
> 

I tried this with no luck.  Did a:

make clean
gmake -k -mieee

And when I run it I still get:

netscape: arithmetic trap at .......
Floating point exception

Let me know if you have any other ideas.

Eric..


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

* Re: Mozilla status
  1998-04-01 19:12       ` Uncle George
@ 1998-04-02  2:25         ` Eric Barkie
  1998-04-02  2:30           ` Christopher Curtis
  0 siblings, 1 reply; 22+ messages in thread
From: Eric Barkie @ 1998-04-02  2:25 UTC (permalink / raw)
  To: axp-list

Uncle George wrote:
> 
> floating point conversion from NaN/INF -> int is giving u that problem.
> u will also have to define the smallest double possible, as the conversion
> doesn't seem to behave as the authors expected!
> gat
> 
> BTW, wait till u get to the threads.
> 

From the looks of things it sounds like I'll never get to threads! :)

I'm a decent C programmer but 45MB of code is a bit overwhelming.
This is crazy! I have less problems understanding the linux kernel!

Eric..


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

* Re: Mozilla status
  1998-04-02  2:25         ` Eric Barkie
@ 1998-04-02  2:30           ` Christopher Curtis
  1998-04-02 12:32             ` Uncle George
  0 siblings, 1 reply; 22+ messages in thread
From: Christopher Curtis @ 1998-04-02  2:30 UTC (permalink / raw)
  To: axp-list

On Wed, 1 Apr 1998, Eric Barkie wrote:

> From the looks of things it sounds like I'll never get to threads! :)

I had a lot of trouble porting my own thread code to the Alpha (RH4.2). 
Actually, I never did get it to compile.  There was a bug in the headers
(that a patch was written for) but there was something else that I
couldn't get past.  I would not want to tackle 45MB of code on my UDB. 

> I'm a decent C programmer but 45MB of code is a bit overwhelming.
> This is crazy! I have less problems understanding the linux kernel!

does a gdb 'where' command give you anything useful?

--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


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

* Re: Mozilla status
  1998-04-02  2:21         ` Eric Barkie
@ 1998-04-02  8:02           ` Hugo van der Kooij
  0 siblings, 0 replies; 22+ messages in thread
From: Hugo van der Kooij @ 1998-04-02  8:02 UTC (permalink / raw)
  To: Eric Barkie; +Cc: axp-list

On Wed, 1 Apr 1998, Eric Barkie wrote:

> Harvey J. Stein wrote:
> > 
> > Eric Barkie <barkman@together.net> writes:
> > 
> > > So has anyone been able to get a working version of netscape?
> > > After fixing the include in Grid.c I was able to get a "clean" compile
> > > but when I run it there's a floating point exception.
> > 
> > Did you try recompiling everything with -mieee?
> > 
> 
> I tried this with no luck.  Did a:
> 
> make clean
> gmake -k -mieee
> 
> And when I run it I still get:
> 
> netscape: arithmetic trap at .......
> Floating point exception
> 
> Let me know if you have any other ideas.

Are you using glibc 2.0.7-5 as available on the errata pages?

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


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

* Re: Mozilla status
  1998-04-02  2:19         ` Eric Barkie
@ 1998-04-02  9:16           ` Hugo van der Kooij
  0 siblings, 0 replies; 22+ messages in thread
From: Hugo van der Kooij @ 1998-04-02  9:16 UTC (permalink / raw)
  To: Eric Barkie; +Cc: axp-list

On Wed, 1 Apr 1998, Eric Barkie wrote:

> Hugo van der Kooij wrote:
> > 
> > On Wed, 1 Apr 1998, Eric Barkie wrote:
> > 
> > > So has anyone been able to get a working version of netscape?
> > > After fixing the include in Grid.c I was able to get a "clean" compile
> > > but when I run it there's a floating point exception.
> > 
> > Can you share with us what you actually fixed? This is the point I was
> > stopped at present.
> > 
> 
> Sure! I just added the line:
> 
> #include <Xm/DropSMgr.h>
> 
> On my system that header file contains the calls it's requesting.  Try
> that and do a gmake -k and all should go well.  Except the
> mozilla-export it generates (18MB) crashes.
> 
> Please let me know if you find any way to fix this!

Well I stumbled onto the next thing:

The current patch:

--------mozilla.patch--------
--- ns/cmd/xfe/XfeWidgets/Xfe/orig/ComboBox.c	Tue Mar 31 04:05:45 1998
+++ ns/cmd/xfe/XfeWidgets/Xfe/ComboBox.c	Wed Apr  1 11:21:50 1998
@@ -38,6 +38,9 @@
 #include <Xfe/Button.h>
 #include <Xfe/Arrow.h>
 
+/* Added this define line! */
+#define XmNlist "list"
+
 #define MESSAGE1 "Widget is not an XfeComboBox."
 #define MESSAGE2 "XmNtitle is a read-only resource."
 #define MESSAGE3 "XmNlist is a read-only resource."
--- ./ns/cmd/xfe/Microline3.0/XmL/orig/Grid.c	Tue Mar 31 04:05:42 1998
+++ ./ns/cmd/xfe/Microline3.0/XmL/Grid.c	Thu Apr  2 09:56:06 1998
@@ -35,6 +35,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include <Xm/DropSMgr.h>
+
 #ifdef SUNOS4
 int fprintf(FILE *, char *, ...);
 int fseek(FILE *, long, int);
--------mozilla.patch--------

And the error report:

gcc -o Linux2.0.33_alpha_DBG.OBJ/region.o -c -DXP_UNIX -g -ansi -Wall -pipe -DLINUX -Dlinux -DLINUX1_2 -D__alpha -D_ALPHA_  -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE -DSW_THREADS -DNEED_ENDIAN_H -DNEED_GETOPT_H -DNEED_IOCTL_H -DUSE_NODL_TABS -DHAVE_SIGNED_
CHAR -DNEED_SYS_TIME_H -DHAVE_SYS_BITYPES_H -DNEED_UINT_T -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE -DNO_INT64_T -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_root -DTRACING -DNSPR20 -DNETSCAPE -DOSTYPE=\"Linux2.0\" -DMOZILLA_CLIENT -DNO
_SECURITY -DEDITOR -DMOZ_COMMUNICATOR_IIDS -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DMOCHA -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DNEW_DECODERS -DUSE_3PANE  -I../../dist/public/addr -I../../dist/public/applet -I../../dist/pu
blic/img -I../../dist/public/edtplug -I../../dist/public/jtools -I../../dist/public/lay -I../../dist/public/layer -I../../dist/public/js -I../../dist/public/libfont -I../../dist/public/mariner -I../../dist/public/msg -I../../dist/public/plds -I../../dist/
public/nspr20 -I../../dist/public/parse -I../../dist/public/plug -I../../dist/public/hook -I../../dist/public/pref -I../../dist/public/rdf -I../../dist/public/security -I../../dist/public/softupdt -I../../dist/public/libreg -I../../dist/public/style -I../
../dist/public/util -I../../dist/public/java -I../../dist/public/ldap -I../../dist/public/xfeicons -I../../include   -I/usr/X11R6/include -I../../dist/Linux2.0.33_alpha_DBG.OBJ/include -IMicroline3.0 -IXfeWidgets -Isrc -I.   -DENABLE_MARINER region.c
region.c: In function `FE_SetRectRegion':
region.c:74: warning: cast to pointer from integer of different size
gcc -c -o Linux2.0.33_alpha_DBG.OBJ/license.o Linux2.0.33_alpha_DBG.OBJ/LICENSE.c
Generating Linux2.0.33_alpha_DBG.OBJ/Netscape-export.ad from resources...
gcc -c  -o Linux2.0.33_alpha_DBG.OBJ/resources-export.o Linux2.0.33_alpha_DBG.OBJ/RESOURCES-export.c
gmake[2]: Target `install' not remade because of errors.
rm Linux2.0.33_alpha_DBG.OBJ/RESOURCES-export.c
gmake[2]: Leaving directory `/usr/local/src/ns/cmd/xfe'
gmake[1]: *** [install] Error 2
gmake[1]: Leaving directory `/usr/local/src/ns/cmd'
gmake: *** [install] Error 2
gmake: Target `all' not remade because of errors.

The full log is 1.25 MB as I do a full log of the compilation.

Any additional suggestions?

Hugo.

	+------------------------+------------------------------+
	| Hugo van der Kooij     | Hugo.van.der.Kooij@caiw.nl   |
	| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
	| 3155 VJ  Maasland      | (De man met de rode hoed)    |
	+------------------------+------------------------------+
    "Computers let you make more mistakes faster than any other invention in 
      human history, with the possible exception of handguns and tequila."
		(Mitch Radcliffe)


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

* Re: Mozilla status
  1998-04-02  2:30           ` Christopher Curtis
@ 1998-04-02 12:32             ` Uncle George
  0 siblings, 0 replies; 22+ messages in thread
From: Uncle George @ 1998-04-02 12:32 UTC (permalink / raw)
  To: axp-list

u may not fully understand 45 meg, but crashes are ( sometimes ) fairly
localized.

any wa the float problems are in jsapi.c & jsnum.c. somewhare there is a
conversion of a (double)0x01 ->int. The is the conversion of MIN_VALUE.
gat

Christopher Curtis wrote:

> On Wed, 1 Apr 1998, Eric Barkie wrote:
>
> > From the looks of things it sounds like I'll never get to threads! :)
>
> I had a lot of trouble porting my own thread code to the Alpha (RH4.2).
> Actually, I never did get it to compile.  There was a bug in the headers
> (that a patch was written for) but there was something else that I
> couldn't get past.  I would not want to tackle 45MB of code on my UDB.
>
> > I'm a decent C programmer but 45MB of code is a bit overwhelming.
> > This is crazy! I have less problems understanding the linux kernel!
>
> does a gdb 'where' command give you anything useful?
>
> --
> Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
> Florida Institute of Technology  - System Administrator, Programmer
> Melbourne, Florida  USA          - http://www.lp.org/
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com






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

* mozilla status
@ 1998-04-10  3:44 Stephen Williams
  1998-04-10  5:02 ` Artimage
  1998-04-10  5:25 ` Edwin Koshimoto
  0 siblings, 2 replies; 22+ messages in thread
From: Stephen Williams @ 1998-04-10  3:44 UTC (permalink / raw)
  To: axp-list


A little while ago there were a few people trying to get the netscape source
to compile and run under Linux/alpha/glibc. Last I heard, there were troubles
with arithmetic errors. Any progress?

Just curious.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



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

* Re: mozilla status
  1998-04-10  3:44 mozilla status Stephen Williams
@ 1998-04-10  5:02 ` Artimage
  1998-04-10  5:25 ` Edwin Koshimoto
  1 sibling, 0 replies; 22+ messages in thread
From: Artimage @ 1998-04-10  5:02 UTC (permalink / raw)
  To: Stephen Williams; +Cc: axp-list

I'm stuck at the threads section with this.
The following is the first screenful of errors. Has anyone found out where
these functions are defined? 

make[5]: Entering directory
`/usr/local/src/ns/nsprpub/pr/src/threads/combined'
gcc -o Linux2.0.30_alpha_DBG.OBJ/pruthr.o -c -g -fPIC -ansi -Wall -DLINUX
-Dlinu
x -DLINUX1_2 -D_ALPHA_ -D__alpha -DLINUX2_0 -D_POSIX_SOURCE -D_BSD_SOURCE
-DHAVE
_STRERROR -DFORCE_PR_LOG -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root
-D_PR_LOCAL_THR
EADS_ONLY -I../../../../../dist/Linux2.0.30_alpha_DBG.OBJ/include/private
-I../.
./../../../dist/Linux2.0.30_alpha_DBG.OBJ/include  pruthr.c
pruthr.c: In function `_PR_InitThreads':
pruthr.c:124: warning: implicit declaration of function
`_MD_InitializeThread'
pruthr.c: In function `_PR_NotifyJoinWaiters':
pruthr.c:193: warning: implicit declaration of function `_MD_WAIT'
pruthr.c: In function `_PR_SetThreadPriority':
pruthr.c:536: warning: implicit declaration of function `_MD_SET_PRIORITY'
pruthr.c: In function `_PR_Resume':
pruthr.c:691: warning: unused variable `wLock'
-

On Thu, 9 Apr 1998, Stephen Williams wrote:

> 
> A little while ago there were a few people trying to get the netscape source
> to compile and run under Linux/alpha/glibc. Last I heard, there were troubles
> with arithmetic errors. Any progress?
> 
> Just curious.
> 
> -- 
> Steve Williams                "The woods are lovely, dark and deep.
> steve@icarus.com              But I have promises to keep,
> steve@picturel.com            and lines to code before I sleep,
> http://www.picturel.com       And lines to code before I sleep."
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* Re: mozilla status
  1998-04-10  3:44 mozilla status Stephen Williams
  1998-04-10  5:02 ` Artimage
@ 1998-04-10  5:25 ` Edwin Koshimoto
  1998-04-10 13:31   ` J. Daniel Powell
  1 sibling, 1 reply; 22+ messages in thread
From: Edwin Koshimoto @ 1998-04-10  5:25 UTC (permalink / raw)
  To: axp-list

>A little while ago there were a few people trying to get the netscape source
>to compile and run under Linux/alpha/glibc. Last I heard, there were troubles
>with arithmetic errors. Any progress?
>
>Just curious.
>
>--
>Steve Williams                "The woods are lovely, dark and deep.
>steve@icarus.com              But I have promises to keep,
>steve@picturel.com            and lines to code before I sleep,
>http://www.picturel.com       And lines to code before I sleep."
>
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

I haven't got it to compile yet. :-(  Anyone else making better
progress?

ed

__________________
#include <std_disclaimer.h>

PGP 2.6.2 key fingerprint = E3 62 CD E1 7E 0E AA 50
                            E3 F6 0C 04 1E B5 36 27

Anime Fan, Linux User and Macintosh Enthusiast
edko@qnet.com



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

* Re: mozilla status
  1998-04-10  5:25 ` Edwin Koshimoto
@ 1998-04-10 13:31   ` J. Daniel Powell
  1998-04-10 14:28     ` Christopher Curtis
  1998-04-10 14:40     ` Uncle George
  0 siblings, 2 replies; 22+ messages in thread
From: J. Daniel Powell @ 1998-04-10 13:31 UTC (permalink / raw)
  To: axp-list

Well, both versions of the source compile on mine, Motif 1.2, gcc-2.8.1,
glibc-2.0.7.  I had problems compiling with all other gcc's, I hear egcs also
works, though.  After compiling, all I get is a floating point exception, with
a core that is quite empty.  I'm no code jockey, so I don't know what to do
about it but wait for someone smarter than I to show me the way!

On Thu, Apr 09, 1998 at 10:25:35PM -0700, Edwin Koshimoto wrote:
> >A little while ago there were a few people trying to get the netscape source
> >to compile and run under Linux/alpha/glibc. Last I heard, there were troubles
> >with arithmetic errors. Any progress?
> >
> >Just curious.
> >
> >--
> >Steve Williams                "The woods are lovely, dark and deep.
> >steve@icarus.com              But I have promises to keep,
> >steve@picturel.com            and lines to code before I sleep,
> >http://www.picturel.com       And lines to code before I sleep."
> >
> >
> >--
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> I haven't got it to compile yet. :-(  Anyone else making better
> progress?
> 
> ed
> 
> __________________
> #include <std_disclaimer.h>
> 
> PGP 2.6.2 key fingerprint = E3 62 CD E1 7E 0E AA 50
>                             E3 F6 0C 04 1E B5 36 27
> 
> Anime Fan, Linux User and Macintosh Enthusiast
> edko@qnet.com
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
			J. Daniel Powell
			dan@java-linux.org


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

* Re: mozilla status
  1998-04-10 13:31   ` J. Daniel Powell
@ 1998-04-10 14:28     ` Christopher Curtis
  1998-04-10 14:40     ` Uncle George
  1 sibling, 0 replies; 22+ messages in thread
From: Christopher Curtis @ 1998-04-10 14:28 UTC (permalink / raw)
  To: axp-list

On Fri, 10 Apr 1998, J. Daniel Powell wrote:

> Well, both versions of the source compile on mine, Motif 1.2, gcc-2.8.1,
> glibc-2.0.7.  I had problems compiling with all other gcc's, I hear egcs also
> works, though.  After compiling, all I get is a floating point exception, with
> a core that is quite empty.  I'm no code jockey, so I don't know what to do
> about it but wait for someone smarter than I to show me the way!

Empty?  As in zero size?

% ulimit -c unlimited
% netscape 
Segmentation Fault (core dumped)
% gdb netscape
> where
> info threads

Recompile with the '-g' flag if possible.

Now, I'm not saying I can shed the smallest light on the problem, but this
is how we START.

regards,
--
Christopher Curtis               - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology  - System Administrator, Programmer
Melbourne, Florida  USA          - http://www.lp.org/


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

* Re: mozilla status
  1998-04-10 13:31   ` J. Daniel Powell
  1998-04-10 14:28     ` Christopher Curtis
@ 1998-04-10 14:40     ` Uncle George
  1 sibling, 0 replies; 22+ messages in thread
From: Uncle George @ 1998-04-10 14:40 UTC (permalink / raw)
  To: axp-list, J. Daniel Powell

 there was a post for this & other things ( david mosberger-tang ) posted in
comp.os.linux.alpha
1) the float err, Fix of the cc compiler ( good luck - prob easier to do an if
(isanan()) instead)
2) The stack (mapped in with mmap() ) had to also be made executable

after u get this done, u can go into garray.c and change the int32's to int64's. u
just can't push/pop 32 bit addresses without losing something in the translation
gat

J. Daniel Powell wrote:

> Well, both versions of the source compile on mine, Motif 1.2, gcc-2.8.1,
> glibc-2.0.7.  I had problems compiling with all other gcc's, I hear egcs also
> works, though.  After compiling, all I get is a floating point exception, with
> a core that is quite empty.  I'm no code jockey, so I don't know what to do
> about it but wait for someone smarter than I to show me the way!
>
> On Thu, Apr 09, 1998 at 10:25:35PM -0700, Edwin Koshimoto wrote:
> > >A little while ago there were a few people trying to get the netscape source
> > >to compile and run under Linux/alpha/glibc. Last I heard, there were troubles
> > >with arithmetic errors. Any progress?
> > >
> > >Just curious.
> >


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

end of thread, other threads:[~1998-04-10 14:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-10  3:44 mozilla status Stephen Williams
1998-04-10  5:02 ` Artimage
1998-04-10  5:25 ` Edwin Koshimoto
1998-04-10 13:31   ` J. Daniel Powell
1998-04-10 14:28     ` Christopher Curtis
1998-04-10 14:40     ` Uncle George
  -- strict thread matches above, loose matches on Subject: below --
1998-04-01  8:18 Mozilla status Hugo van der Kooij
1998-04-01  8:43 ` Brian Lund
1998-04-01 10:05   ` Uncle George
1998-04-01 11:19   ` Hugo van der Kooij
1998-04-01 18:00     ` Eric Barkie
1998-04-01 18:15       ` Jochen K"upper
1998-04-01 19:05       ` Harvey J. Stein
1998-04-02  2:21         ` Eric Barkie
1998-04-02  8:02           ` Hugo van der Kooij
1998-04-01 19:12       ` Uncle George
1998-04-02  2:25         ` Eric Barkie
1998-04-02  2:30           ` Christopher Curtis
1998-04-02 12:32             ` Uncle George
1998-04-01 19:17       ` Hugo van der Kooij
1998-04-02  2:19         ` Eric Barkie
1998-04-02  9:16           ` Hugo van der Kooij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox