KDE 3.2

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
dexter1
Moderator
Moderator
Posts: 2738
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Qt 3.3.1 MIPSPro built

Unread postby dexter1 » Fri Mar 12, 2004 3:27 pm

Hello,

i've just uploaded a 75Mb tardist of Qt 3.3.1 on my university server:
http://www.mechanics.citg.tudelft.nl/~e ... s3.tardist
I have uploaded it to neko's ftp server as well. Basically it's a full MIPSPro build in mips3, no dependencies with freeware, and both single and multi threaded libraries exist. It's all in the nekoware format, so you can build the stuff yourself.

FWIW i've built it on a Challenge S irix 6.5.20m with MIPSPro 7.4.1 and POSIX/MIPSPro patches. A small patch to /usr/include/stdlib.h was necessary to build qmake, which is included. From there on it's a breeze :) Well, apart from creating the idb file, that has taken me several hours :(

More to come ! (KDE 3.2.1)

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Fri Mar 12, 2004 3:40 pm

It's been moved to your contrib directory.

I apologize for the downtime - I just realized this occurred while you were uploading Qt. Had some major upgrades to the web server hardware this afternoon - plus after installing the second tower I decided to reinstall the memory modules to a more symmetrical configuration (512+128 on each tower).

I probably won't have to touch it for a while now though :)
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
dexter1
Moderator
Moderator
Posts: 2738
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Unread postby dexter1 » Fri Mar 12, 2004 4:12 pm

That's ok. I'm a patient man and my wine bottle is not empty yet :drinking:

LoWeN
Posts: 256
Joined: Thu Aug 28, 2003 11:45 am
Location: Belgium

Unread postby LoWeN » Sat Mar 13, 2004 4:34 am

Hello,

Dexter1 welcome in the try.
Building kde went really easy on my octane and tooks around 1h30 minutes.
But Iwas killed by arts and C++.
I hope you will have more success with 6.5.20 and MIPSpro 7.4.
Sounds that 6.5.17 + 7.3.1.3 will never do the work:'(

Keep us posted I am fairly impatient to see and maybe help.

@+

LoWeN
UX powered

User avatar
nvukovlj
Posts: 356
Joined: Mon Jun 09, 2003 8:27 am
Location: London, UK
Contact:

Unread postby nvukovlj » Tue Mar 16, 2004 7:48 am

LoWeN wrote:Hello,


I got the following with mipspro C/C++ 7.3.1.3

cc-1239 CC: ERROR File = dispatcher.cc, Line = 1004
"cerr" is ambiguous.

cerr << "WARNING: got corrupt MCOP message !??" << endl;

It is possible to solve this by chqmging iostream in iostream.h
Sounds mipro don't know which cerr to use whem both iostream and iostream.h are included



You should have either one or the other... Why are both included ?
If the code is using <iostream>, then you should also have -LANG:std on the compile line. If <iostream.h> is used than you don't need -LANG:std.

LoWeN wrote:
cc-1312 CC: ERROR File = /usr/include/unistd.h, Line = 525
More than one instance of overloaded function "getdomainname" has "C" linkage.

extern int getdomainname(char *, int);

A non solution is to remove that definition out of the header file... dumb but working

LoWeN


Hmm, this is a little weird... unistd.h prototypes are not setup for the functions defined there to work with C++ linker...
I could be wrong as I'm still learning about C++ intricacies, but you may want to try something like this in the code that includes unistd.h:

#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#include <unistd.h>
}
#endif

Hope this helps...

Nik.

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Tue Mar 16, 2004 7:55 am

I have build Qt 3.3.1 n32 mips4 r12k with high optimization last night.
No dependencies. Built with Mips Pro 7.41.

So if anyone is interested ... :)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
nvukovlj
Posts: 356
Joined: Mon Jun 09, 2003 8:27 am
Location: London, UK
Contact:

Unread postby nvukovlj » Tue Mar 16, 2004 8:06 am

Oops, I should really check the dates before posting. :?

Away for 2 weeks and now catching up...

It is looking to me more and more like 7.3.1.3 just isn't great with C++. A lot of the headers weren't converted to use standard C++ conventions...

I really need to get a Developer Plus account sorted out...

Nik.

User avatar
Dubhthach
Posts: 779
Joined: Tue Oct 07, 2003 8:16 am
Location: Bláth Cliath, Éire

Unread postby Dubhthach » Tue Mar 16, 2004 2:36 pm

whiter wrote:I have build Qt 3.3.1 n32 mips4 r12k with high optimization last night.
No dependencies. Built with Mips Pro 7.41.

So if anyone is interested ... :)

Yeah i'm interested, you got a link?

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Wed Mar 17, 2004 12:50 am

I'll build inst packages of it when I'm at home.

Every package I build will be built with Mips Pro 7.41 and these flags:

Code: Select all

DEFAULTS = -DEFAULT:abi=n32:isa=mips4:proc=r12k:platform=ip30
CFLAGS = -Ofast
CXXFLAGS = -Ofast
LDFLAGS = -IPA
PREFIX = /opt/local


Or if IPA fails, a bit changed:

Code: Select all

CFLAGS = -O3 -OPT:Olimit=0:roundoff=3:div_split=ON:alias=typed
CXXFLAGS = -O3 -OPT:Olimit=0:roundoff=3:div_split=ON:alias=typed
LDFLAGS =


Last night I built gettext, bash, wget, qt-x11-free-3.3.1, qt-x11-free-3.3.1-mt

This reinstall of the O200 makes it work much smoother indeed. Yahoo :)

If I build inst packages for those, can I upload them somewhere on the nekochan server, or should I host them myself somewhere ? There will be loads more to come.
Last edited by whiter on Wed Mar 17, 2004 3:44 pm, edited 2 times in total.
Shall I describe it to you? Or do you want me to get you a box?

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Wed Mar 17, 2004 1:00 am

whiter wrote:If I build inst packages for those, can I upload them somewhere on the nekochan server, or should I host them myself somewhere ? There will be loads more to come.


Sure, I can set up a contrib folder for you. The server has plenty of storage space.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
whiter
Posts: 975
Joined: Tue Apr 29, 2003 2:02 pm
Location: Melbourne, Australia
Contact:

Unread postby whiter » Wed Mar 17, 2004 1:04 am

nekonoko wrote:Sure, I can set up a contrib folder for you. The server has plenty of storage space.


Nice. Then please do so :-)
Shall I describe it to you? Or do you want me to get you a box?

User avatar
squeen
Moderator
Moderator
Posts: 2933
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Wed Mar 17, 2004 3:15 am

Nice work dexter1 -- I haven't had a chance to install it yet. I'll let you know how it goes. Yippee!

rmigfr
Posts: 18
Joined: Sun Feb 08, 2004 11:59 am

Unread postby rmigfr » Wed Mar 17, 2004 5:22 am

If it can help someone, I got two recurent error during building of qt 3.3.1 with Mips Pro 7.4 on Irix 6.5 64 bits.

The first :

cc-1020 CC: ERROR File = /foo/qt/src/tools/qdatastream.cpp, Line = 514
The identifier "strtoll" is undefined.
return strtoll( buf, (char**)0, 10 ); // C99 function

It was badly corrected by modifying "/usr/include/stdlib.h".

/usr/include/stdlib.h: Add the following at line 13
------------------------------------------------------------------------
#if defined(__c99) || ((defined(_SGIAPI) || defined(_ABIAPI)) &&
defined(_NO_ANSIMODE))
__SGI_LIBC_USING_FROM_STD(strtoll)
__SGI_LIBC_USING_FROM_STD(strtoull)
#endif

The second one : a core dump during making of QT Designer. Two solutions: upgrade to 7.4.1 or link to the libc.so version of memcmp(). To use the libc.so version, comment out the '#pragma intrinsic (memcmp)' line in the file '/usr/include/internal/string_core.h.

The two original sources where I find my answers:

http://lists.trolltech.com/qt-interest/ ... 315-0.html
http://www.trolltech.com/developer/compilers/mips.html

Hope it can help some people.

User avatar
dexter1
Moderator
Moderator
Posts: 2738
Joined: Thu Feb 20, 2003 6:57 am
Location: Zoetermeer, The Netherlands

Unread postby dexter1 » Wed Mar 17, 2004 7:20 am

In the qt331 tardist i included that exact strtoll as a patch to /usr/include/stdlib.h

strtoll is actually a C99 function but not a C++ 99 one (yet)

User avatar
foetz
Moderator
Moderator
Posts: 6544
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Mon Mar 22, 2004 2:18 am

hello,

got the qt pack but qmake is missing!!!! the whole folder!


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest