Anyone succeeded compiling 1.1.2 on IRIX?..

Anyone succeeded compiling 1.1.2 on IRIX?..

Post by Jesper Kjolsru » Tue, 12 Oct 1999 04:00:00



   ...and in that case, what do I have to do to make it work. I've tried
to follow the howto but get stuck on kprocctrl.cpp in kdelibs/kdecore
with this error message:

kprocctrl.cpp: In method `KProcessController::KProcessController()':
kprocctrl.cpp:62: assignment to `void (*)(int)' from `void (*)()'
gmake[2]: *** [kprocctrl.lo] Error 1

   Cheers

/Jeppe

 
 
 

Anyone succeeded compiling 1.1.2 on IRIX?..

Post by Emmanuel Duma » Wed, 13 Oct 1999 04:00:00



> kprocctrl.cpp: In method `KProcessController::KProcessController()':
> kprocctrl.cpp:62: assignment to `void (*)(int)' from `void (*)()'
> gmake[2]: *** [kprocctrl.lo] Error 1

When I've compiled KDE 1.0 on IRIX, I've got this error. I've solve
this problem by editing file and add a cast to (void(*)(int)).

Exemple:
in line 62 in file  kprocctrl.cpp, you've got somthing like this:

signal(25,handler);

change to

signal(25,(void(*)(int))handler);

It isn't a perfect solution, they must be a better solution, but this
solution work.

Emmanuel

 
 
 

Anyone succeeded compiling 1.1.2 on IRIX?..

Post by Chris Sterrit » Wed, 13 Oct 1999 04:00:00




> > kprocctrl.cpp: In method `KProcessController::KProcessController()':
> > kprocctrl.cpp:62: assignment to `void (*)(int)' from `void (*)()'
> > gmake[2]: *** [kprocctrl.lo] Error 1

> When I've compiled KDE 1.0 on IRIX, I've got this error. I've solve
> this problem by editing file and add a cast to (void(*)(int)).

> Exemple:
> in line 62 in file  kprocctrl.cpp, you've got somthing like this:

> signal(25,handler);

> change to

> signal(25,(void(*)(int))handler);

> It isn't a perfect solution, they must be a better solution, but this
> solution work.

This is one of those * C/C++ name overlap things.

I tried the above cast in the early days of running KDE, and found that
it was responsible for crashing KDE sometimes (okay, possibly).

I found the better solution of changing the Makefile for these files to
add '-D_LANGUAGE_C_PLUS_PLUS' to the 'CXXFLAGS=' line.  This tells the
appropriate .h file what to expect, so it finds the right binding.

        Good luck,
        --chris sterritt

 
 
 

1. Anyone succeeded in compiling g77?

Hello,

Is there anyone who succeeded in compiling g77? Well, I've tried
several times but in vain. There seem to be no rpm packages
for g77-alpha in redhat's ftp archive. I'd be appreciating it
if somebody can send me compiling tips for g77.

Thank you in advance. Sorry for my poor english. :)

--
"What you should fear is,  | Sohn Jung-woo
ironically, fear itself."  | Structures lab. Aerospace dept.
 --- Somewhere in The Economist | Seoul National university

2. Power Distribution System

3. anyone succeeded compiling linuc-2.0.33 with LiS ?

4. Dell laptop - Neomagic 2160 - XFree86

5. rsh Not Succeeding Then Succeeding

6. help! wavy screen with AcceleratedX -server

7. Anyone Succeed Running Ultra 133 TX2 at UDMA Mode 6?

8. ftp access permission

9. Linux RH6.2 RAID1 - Anyone succeed at this?

10. Yggdrasil: Anyone succeeded in 300meg install?

11. Anyone succeed in doing non-root crontabs?

12. 2.0.35/BTTV/Hauppauge => anyone succeed?

13. Anyone succeed running alad & ad SCSI Controller ???