The collected works of eudatux23 - Page 1

I would really love to see:
A newer webbrowser than Firefox 3. Maybe something webkit-based?

Also a newer office suite than OpenOffice 1 would be great. What about Libreoffice?

Another really great thing to port would be the Telegram messenger (Source Code available here: https://github.com/telegramdesktop/tdesktop ). Especially this one would be really really great to have on my Octane.

Thanks if something of it is possible!
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
This is my main SGI workstation running IRIX 6.5.30. I use it mainly for watching graphics demos, light web surfing and playing OpenGL-games like Quake III. IMHO it is amazing what this old machines can do. It's a lot of fun using it today.

Here are the relevant outputs for you:

hinv -vm:

Code: Select all

rocktane 3# hinv -vm
Location: /hw/node
PM20400MHZ Board: barcode MDA241     part 030-1476-002 rev  B
Location: /hw/node/xtalk/15
IP30 Board: barcode FTB546     part 030-1467-001 rev  A
Location: /hw/node/xtalk/15/pci/2
PWR.SPPLY.ER Board: barcode AAE1090253 part 060-0035-002 rev  A
FP1 Board: barcode 27915C     part 030-0891-003 rev  E
Location: /hw/node/xtalk/11
ODY32 Board: barcode LLX642     part 030-1403-003 rev  B
2 400 MHZ IP30 Processors
Heart ASIC: Revision F
CPU: MIPS R12000 Processor Chip Revision: 3.5
FPU: MIPS R12010 Floating Point Chip Revision: 0.0
Main memory size: 2560 Mbytes
Xbow ASIC: Revision 1.4
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Secondary unified instruction/data cache size: 2 Mbytes
Integral SCSI controller 0: Version QL1040B (rev. 2), single ended
Disk drive: unit 1 on SCSI controller 0 (unit 1)
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended
IOC3/IOC4 serial port: tty1
IOC3/IOC4 serial port: tty2
IOC3 parallel port: plp1
Graphics board: V6
Integral Fast Ethernet: ef0, version 1, pci 2
Iris Audio Processor: version RAD revision 12.0, number 1
PCI Adapter ID (vendor 0x10a9, device 0x0003) PCI slot 2
PCI Adapter ID (vendor 0x1077, device 0x1020) PCI slot 0
PCI Adapter ID (vendor 0x1077, device 0x1020) PCI slot 1
PCI Adapter ID (vendor 0x10a9, device 0x0005) PCI slot 3


/usr/gfx/gfxinfo:

Code: Select all

rocktane 4# /usr/gfx/gfxinfo
Graphics board 0 is "ODYSSEY" graphics.
Managed (":0.0") 1024x768
BUZZ version A.1
PB&J version 1
32MB memory
Banks: 2, CAS latency: 3
Monitor 0 type: Unknown
Channel 0:
Origin = (0,0)
Video Output: 1024 pixels, 768 lines, 59.96Hz (1024x768_60)


uname -aR:

Code: Select all

rocktane 5# uname -aR
IRIX64 rocktane 6.5 6.5.30m 07202013 IP30


scsicontrol -i /dev/scsi/sc0d1l0:

Code: Select all

rocktane 8# scsicontrol -i /dev/scsi/sc0d1l0
/dev/scsi/sc0d1l0:  Disk          SEAGATE ST173404LC      0004
ANSI vers 3, ISO ver: 0, ECMA ver: 0; supports:  16bit synch linkedcmds cmdqueing
Device is  ready
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
nongrato wrote:
uunix wrote: 700Kms.. oooh that's some love.


That was a deal you don't want to miss. As I told SGI boxes are super rare in Russia and the price was just a joke. Now I have tons of fun with my Octane :mrgreen: :

http://www.youtube.com/watch?v=70VAIj6K ... HJgx5XcfhA
http://www.youtube.com/watch?v=gLwzMMtk ... HJgx5XcfhA

What program did you use to creat these?
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Thanks!
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Thank you very very much! I had the same problem today on my Octane and after turning esp off, it worked like a charme!

Can someone tell me, what this service esp does? Thanks
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Thanks!
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Hi,
because some Nekoware packages like neverball, audacity and so on require libtiff in version 3, is it possible to install it as addition to the libtiff version 4?

I have seen libtiff 3 in the archive part of nekoware, but if I want to install it, inst wants to uninstall version 4. I think version 4 will be needed by other packages?

Thanks in advance!
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Hi,
foetz wrote: you could install the older one to an alternative location (inst/swmgr option -r) and put the files that have different names than what comes with the current version of the lib into one of your library paths

Thank you very much! Using inst -f . -r /usr/oldlib/ worked fine. Now I can use LD_LIBRARY_PATH to set the old tiff version if I need it. Perfect!

The symlink variant sadly doesn't seem to work on libtiff. But with the separate version installed I am happy.
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
To avaoid such problems, I just created a small script called /usr/local/bin/oldtiff.sh. It contains nothing more than:

Code: Select all

#!/usr/nekoware/bin/bash
LD_LIBRARY_PATH=/usr/oldlib/usr/nekoware/lib:/usr/nekoware/lib ${*}


Running it like

Code: Select all

oldtiff.sh neverball

works perfect (Assuming that /usr/local/bin and /usr/nekoware/bin are in PATH)

I just created entries in the toolchest for neverball and so on running it just this way.
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
In my oppionion it is a wrapper script. It is just usable for any desired program without changing it.
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Hi,
As the ehternet port on mine broke down, I am looking for a replacement board for my Octane 2. I need only the board, no CPU/RAM/etc.

Does anyone have one to offer? Thanks!
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Yeah back again :D
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Looks very interesting! Can you do a tardist of it? :-)
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
diegel wrote: I believe khalidschofield is in the US. If he would get that lot, I am interested to buy some from him.

Me too. Would be great to update my O2 with that. But then I would still need help from someone who can do this. Anyone from Germany (Nordrhein Westfalen) here?
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Hi,
I just found out, that ResidualVM seems to be buildable in IRIX if I see this link correctly:
https://github.com/residualvm/residualv ... dists/irix

Sadly I don't have a compiler here. Can someone build a pakage out of it?

With such a package, many old LucasArts 3D adventure games like Grim Fandango would work on our SGI machines!


Thanks in advance
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
May it work when building with GCC instead of MIPSpro?
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
joostp wrote: While the current 0.2.0 release of ResidualVM should compile without problems (it does for me, anyway), it has a bug that makes Grim Fandango not work on IRIX.
This issue has been fixed for the next release. When that comes out I'll do an 'official' IRIX build that can be grabbed from the ResidualVM downloads page.
Great! Can't wait for it and play Grim Fandango on my Octane! Thanks! :)
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Hmm the last commit of Telegram Desktop is only 3 days old, so it seems to be pretty alive. Would be really great if you try to port it. As far as I see it uses QT.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thank you very very very much! :)

I will try it in the next days and give you informations about how it runs on my machine.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
One of my Linux servers:
$ uptime
11:50:36 up 284 days, 9:55, 1 user, load average: 1,06, 2,53, 2,70
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
As far as I remember, the window manager of the installer is just TWM.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Hi,
sorry that I only reply this late.

I tested it yesterday on my Octane with V12. It kind of works but with a low framerate of approximately 10 fps. Also there seem to be some glitches, i.e. Manny walking over a table etc. When the glitches appear, it also writes stuff into the terminal, which I will post here on Saturday. In Software Mode the Framerate is a bit better than in OpenGL mode, but the colors are a bit washed out. I will create a video to further describe it on Saturday and will post it here then.

Anyway, thank you very very much for making it possible to run Grim Fandango on IRIX. :)
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
I just made a video showing Grim Fandango in ResidualVM using both OpenGL and software renderer:
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
I will do a test on the O2 on Saturday.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Hi,

I just bought a new monitor. It is a AOC i2476Vw. Sadly the image is very very green tinted. After short googleing, I found out that this is because of Sync on Green. Is there any form of converter available to convert the Sync on Green signal to separated Sync as it is found on PCs?

Thanks in advnace!
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Sorry that I took so long for an answer. ClassicHasClass, thanks for the hint, maybe I find such a device. At the moment I will just continue using my 19" lcd monitor, which works just fine with it. Thanks for your answers.
:Octane2: SGI Octane 2 - Dual R12K 400MHz - 2500MB RAM - 73GB HDD - vPro v12 - IRIX 6.5.30
:O2: SGI O2 - R5K 180MHz - 96MB RAM - 18GB HDD - CRM - IRIX 6.5.30
Hi,

I just tried to compile telegram-purple on IRIX. It is a plugin to use the Telegram protocol in Pidgin.

The configure-Script ran after I gave it the parameter --with-zlib=/usr/nekoware

Unfortunately gmake doesn't want to do anything:

Code: Select all

17:05 root@rocktane /root/telegram/telegram-purple-master
% gmake
gmake: *** Keine Regel vorhanden, um das Target »tgl/scheme.tl«,
benötigt von »auto/scheme.tl«, zu erstellen.  Schluss.


I also tried the "classic" make from IRIX which just gives a syntax error:

Code: Select all

17:06 root@rocktane /root/telegram/telegram-purple-master
% make
make: file `./Makefile.tl-parser' line 5: Syntax error


Here you can see the output of configure if it helps:

Code: Select all

17:03 root@rocktane /root/telegram/telegram-purple-master
% ./configure --with-zlib=/usr/nekoware
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/nekoware/bin/install -c
checking for sqrt in -lm... yes
checking for clock_gettime in -lrt... yes
checking for pkg-config... /usr/nekoware/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/nekoware/bin/grep
checking for egrep... /usr/nekoware/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for PURPLE... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h


And a link to the GitHub Repository of it: https://github.com/majn/telegram-purple

Does anybody have an idea why gmake fails?

Thanks in advance!
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
New picture added:
Image
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Hi,

thanks for the hint! I recloned it (This time on my Linux machine, because I'm not at home at them moment) and seen that it cloned "tgl-parser" etc too. I think the case is closed.

Tomorrow I will test it out with a new git clone.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Is it possible to change the thread title because of the upgrade to V12?
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
I guess I ran into a new problem..

Code: Select all

21:41 root@rocktane /root/telegram-purple
% LANG=C gmake
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c
gcc: ./tgl/tl-parser: linker input file unused because linking not done
cc1: error: unrecognized command line option "-iquote"
cc1: ./tgl/tl-parser: No such file or directory
gmake: *** [objs/tl-parser.o] Error 1

This was fixed easily by using the newer GCC (neko_gcc46)

However, after that I got a new error:

Code: Select all

21:50 root@rocktane /root/telegram-purple
% LANG=C gmake
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c
tgl/tl-parser/tlc.c:40:22: fatal error: execinfo.h: No such file or directory
compilation terminated.
gmake: *** [objs/tlc.o] Error 1

Maybe my libpurple or glibc is too old? Exactly the same source files build just fine on my Linux workstation.

Thanks in advance!
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thanks for the hint! This seemed to help. After that I got the error that "-rdynamic" is not supported. After removing that, it seemed to work. But after some time:

Code: Select all

7:36 root@rocktane /root/telegram-purple
% gmake
gcc objs/tl-parser.o objs/tlc.o objs/crc32.o -L/usr/nekoware/lib -L/usr/nekoware/lib -L/usr/nekoware/lib   -L/usr/nekoware/lib -lpurple -lglib-2.0 -lintl   -lz -lrt -lm  -lcrypto -ggdb -o bin/tl-parser
ld32: WARNING 84 : /usr/nekoware/lib/libpurple.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/nekoware/lib/libz.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/librt.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/nekoware/lib/libcrypto.so is not used for resolving any symbol.
bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c
tgl/generate.c: In function 'get_string':
tgl/generate.c:134:3: warning: implicit declaration of function 'strndup' [-Wimplicit-function-declaration]
tgl/generate.c:134:13: warning: incompatible implicit declaration of built-in function 'strndup' [enabled by default]
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
tgl/tools.c: In function 'tgl_asprintf':
tgl/tools.c:84:3: warning: implicit declaration of function 'vasprintf' [-Wimplicit-function-declaration]
gcc objs/generate.o objs/tools.o -L/usr/nekoware/lib -L/usr/nekoware/lib -L/usr/nekoware/lib   -L/usr/nekoware/lib -lpurple -lglib-2.0 -lintl   -lz -lrt -lm  -lcrypto -ggdb -o bin/generate
ld32: WARNING 84 : /usr/nekoware/lib/libpurple.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/librt.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/libm.so is not used for resolving any symbol.
ld32: ERROR   33 : Unresolved data symbol "strndup" -- 1st referenced by objs/generate.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR   33 : Unresolved data symbol "vasprintf" -- 1st referenced by objs/tools.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
collect2: error: ld returned 2 exit status
gmake: *** [bin/generate] Fehler 1


Seems to be that it doesn't support vasprintf and strndup?

GCC is version 4.7.1 from Nekoware:

Code: Select all

7:46 root@rocktane /root/telegram-purple
% gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/nekoware/gcc-4.7/libexec/gcc/mips-sgi-irix6.5/4.7.1/lto-wrapper
Target: mips-sgi-irix6.5
Configured with: ../gcc-4.7.1/configure --prefix=/usr/nekoware/gcc-4.7 --with-gmp=/usr/nekoware/gcc-4.7 --with-mpfr=/usr/nekoware/gcc-4.7 --with-mpc=/usr/nekoware/gcc-4.7 --with-cloog=/usr/nekoware/gcc-4.7 --with-ppl=/usr/nekoware/gcc-4.7 --with-as=/usr/nekoware/gcc-4.7/bin/as --with-gnu-as --without-gnu-ld --with-ld=/usr/bin/ld --with-host-libstdcxx=/opt/gcc-4.7.1/lib32/libstdc++.a --disable-libssp --disable-nls --disable-lto --disable-shared --enable-static --enable-threads=posix --enable-libgomp --enable-obsolete --enable-checking=release --enable-languages=c,c++,fortran,objc,obj-c++ --with-arch=mips4 --with-abi=n32
Thread model: posix
gcc version 4.7.1 (GCC)



Thanks in advance!
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Any idea how to do this? Is it enough to just change the words in the source code? I can try it this evening.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
That worked. But now after these changes I even got a new error:

Code: Select all

18:29 root@rocktane /root/telegram-purple
% LANG=C gmake
bin/generate -H auto/scheme.tlo > auto/auto-header.h
Assertion failed: EX, file tgl/generate.c, line 1511, pid 1489
gmake: *** [auto/auto-header.h] Error 1
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
The content of this line is:
assert (t->constructors_num >= 0 && t->constructors_num <= 1000);

It is part of the following struct:

Code: Select all

struct tl_type *read_types (void) {
struct tl_type *t = malloc0 (sizeof (*t));
t->name = get_int ();
t->id = get_string ();
t->print_id = strdup (gen_print_id (t->id));
assert (t->print_id);

t->constructors_num = get_int ();
assert (t->constructors_num >= 0 && t->constructors_num <= 1000);

t->constructors = malloc0 (sizeof (void *) * t->constructors_num);
t->flags = get_int ();
t->arity = get_int ();
t->params_types = get_long (); // params_types
t->extra = 0;
tl_type_insert_by_name (t);
return t;
}


Any ideas? Thanks!
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
After uncommenting this line, the problem sadly hasn't changed. I also tried a gmake clean to make sure that no rests of the old binaries is there. The message is still the same at the end.

Code: Select all

20:09 root@rocktane /root/telegram-purple
% LANG=C gmake
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl/tl-parser -c -MP -MD -MF dep/crc32.d -MQ objs/crc32.o -o objs/crc32.o tgl/tl-parser/crc32.c
gcc objs/tl-parser.o objs/tlc.o objs/crc32.o -L/usr/nekoware/lib -L/usr/nekoware/lib -L/usr/nekoware/lib   -L/usr/nekoware/lib -lpurple -lglib-2.0 -lintl   -lz -lrt -lm  -lcrypto -ggdb -o bin/tl-parser
ld32: WARNING 84 : /usr/nekoware/lib/libpurple.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/nekoware/lib/libz.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/librt.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/nekoware/lib/libcrypto.so is not used for resolving any symbol.
bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
tgl/tools.c: In function 'tgl_asprintf':
tgl/tools.c:85:3: warning: implicit declaration of function 'g_vasprintf' [-Wimplicit-function-declaration]
gcc objs/generate.o objs/tools.o -L/usr/nekoware/lib -L/usr/nekoware/lib -L/usr/nekoware/lib   -L/usr/nekoware/lib -lpurple -lglib-2.0 -lintl   -lz -lrt -lm  -lcrypto -ggdb -o bin/generate
ld32: WARNING 84 : /usr/nekoware/lib/libpurple.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/librt.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib/../lib32/libm.so is not used for resolving any symbol.
bin/generate auto/scheme.tlo > auto/auto.c
Assertion failed: EX, file tgl/generate.c, line 107, pid 1226
gmake: *** [auto/auto.c] Error 1
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Yes, it exists. It's a 168KB binary file. When opening it with "strings", a lot of things related to the messenger (for example "messages.messages")
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thanks! Any idea what can be done against that? Once it is compiled, the performance wouldn't be that important.

Interesting, this time it gone a whole more further. But now there's a new problem. Maybe some missing headers?

Code: Select all

In file included from tgl/mtproto-common.c:42:0:
tgl/mtproto-common.h: In function 'fetch_bool':
tgl/mtproto-common.h:301:3: error: 'CODE_bool_true' undeclared (first use in this function)
tgl/mtproto-common.h:301:3: note: each undeclared identifier is reported only once for each function it appears in
tgl/mtproto-common.h:301:3: error: 'CODE_bool_false' undeclared (first use in this function)
gmake: *** [objs/mtproto-common.o] Error 1


After a bit of looking I have seen that these get declared in "constants.h" which was empty.
So I changed it to this:
https://github.com/INTECOCERT/telegram_ ... onstants.h

Now I get the following:

Code: Select all

21:20 root@rocktane /root/telegram-purple
% gmake
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/mtproto-common.d -MQ objs/mtproto-common.o -o objs/mtproto-common.o tgl/mtproto-common.c
gcc  -g -O2 -I/usr/nekoware/include/libpurple -I/usr/nekoware/include/glib-2.0 -I/usr/nekoware/lib/glib-2.0/include   -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -I. -I. -fno-strict-aliasing -fPIC -I/usr/nekoware/include -I/usr/nekoware/include -DFLAGS -iquote ./tgl -c -MP -MD -MF dep/mtproto-client.d -MQ objs/mtproto-client.o -o objs/mtproto-client.o tgl/mtproto-client.c
In file included from tgl/auto.h:46:0,
from tgl/queries.h:24,
from tgl/mtproto-client.c:50:
./auto/auto-header.h:1:1: error: expected identifier or '(' before numeric constant
./auto/auto-header.h:2:1: warning: null character(s) ignored [enabled by default]
./auto/auto-header.h:3:1: warning: null character(s) ignored [enabled by default]
In file included from tgl/mtproto-client.c:50:0:
tgl/queries.h:32:50: warning: 'struct query' declared inside parameter list [enabled by default]
tgl/queries.h:32:50: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
tgl/queries.h:33:49: warning: 'struct query' declared inside parameter list [enabled by default]
tgl/queries.h:34:51: warning: 'struct query' declared inside parameter list [enabled by default]
tgl/mtproto-client.c: In function 'process_respq_answer':
tgl/mtproto-client.c:377:3: warning: implicit declaration of function 'skip_type_any' [-Wimplicit-function-declaration]
tgl/mtproto-client.c:377:1: error: 'tl_type_res_p_q' undeclared (first use in this function)
tgl/mtproto-client.c:377:1: note: each undeclared identifier is reported only once for each function it appears in
tgl/mtproto-client.c:385:3: error: 'CODE_res_p_q' undeclared (first use in this function)
tgl/mtproto-client.c: In function 'process_dh_answer':
tgl/mtproto-client.c:442:1: error: 'tl_type_server_d_h_params' undeclared (first use in this function)
tgl/mtproto-client.c:451:3: error: 'CODE_server__d_h_params_ok' undeclared (first use in this function)
tgl/mtproto-client.c:451:3: error: 'CODE_server__d_h_params_fail' undeclared (first use in this function)
tgl/mtproto-client.c:485:1: error: 'tl_type_server_d_h_inner_data' undeclared (first use in this function)
tgl/mtproto-client.c:535:53: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
tgl/mtproto-client.c: In function 'process_auth_complete':
tgl/mtproto-client.c:572:1: error: 'tl_type_set_client_d_h_params_answer' undeclared (first use in this function)
tgl/mtproto-client.c: In function 'get_server_time':
tgl/mtproto-client.c:690:21: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
tgl/mtproto-client.c: In function 'process_rpc_message':
tgl/mtproto-client.c:1099:7: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
tgl/mtproto-client.c: In function 'get_server_time':
tgl/mtproto-client.c:691:1: warning: control reaches end of non-void function [-Wreturn-type]
gmake: *** [objs/mtproto-client.o] Error 1
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
Thanks for the hint! I will try this change this evening.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
This is my new Indigo² Impact 10000. I just did a test install of IRIX 6.5.22 and it worked great.

Everything works fine. At the weekend I'll get a High Impact-AA with TRAM extension instead of the current "normal" High Impact. Also the RAM and hard disk will be expanded.

Specs:
  • R10000 @ 175 MHz
  • 128 MB RAM (will be expanded) 320 MB RAM
  • High Impact (will be changed to a High-AA Impact with TRAM) High-AA Impact with TRAM
  • 9 GB HDD (will be expanded to 73 GB) 73 GB HDD
  • IRIX 6.5.22f

Also I have included a photo of it.

OLD hinv -vm:

Code: Select all

FPU: MIPS R10010 Floating Point Chip Revision: 0.0
CPU: MIPS R10000 Processor Chip Revision: 2.5
1 175 MHZ IP28 Processor
Main memory size: 128 Mbytes
Secondary unified instruction/data cache size: 1 Mbyte
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Integral SCSI controller 0: Version WD33C93B, revision D
Disk drive: unit 1 on SCSI controller 0 (unit 1)
Integral SCSI controller 1: Version WD33C93B, revision D
On-board serial ports: 2
On-board bi-directional parallel port
Graphics board: High Impact
Integral Ethernet: ec0, version 1
Iris Audio Processor: version A2 revision 1.1.0
EISA bus: adapter 0


OLD gfxinfo:

Code: Select all

Graphics board 0 is "IMPACTPC" graphics.
Managed (":0.0") 1280x1024
Product ID 0x0, 1 GE, 1 RE, 1 TRAM
MGRAS revision 3, RA revision 5
HQ rev A, GE11 rev B, RE4 rev A, PP1 rev A,
VC3 rev A, CMAP rev EMC rev D
21" monitor (id 0xb)

Channel 0:
Origin = (0,0)
Video Output: 1280 pixels, 1024 lines, 72.24Hz (1280x1024_72)
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30