[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#2184: compilation problem: kdegraphics
From:       Ralf Fassel <ralf () akutech ! de>
Date:       1999-10-22 10:09:07
[Download RAW message or body]


Package: kdegraphics
Version 1.1.2

Irix 6.5, gcc 2.95.1, kde 1.1.2

gmake[3]: Entering directory `/disk2/ralf/Software/kde/kdegraphics-1.1.2/kghostview'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/software/kde/1.1.2/include -I/work/include    \
                -I/work/include  -D_LANGUAGE_C_PLUS_PLUS -c kpswidget.cpp
kpswidget.cpp: In method `void KPSWidget::startInterpreter()':
kpswidget.cpp:708: implicit declaration of function `int vfork(...)'
gmake[3]: *** [kpswidget.o] Error 1
gmake[3]: Target `all-am' not remade because of errors.
gmake[3]: Leaving directory `/disk2/ralf/Software/kde/kdegraphics-1.1.2/kghostview'
gmake[2]: *** [all-recursive] Error 1

This is simply solved by not using vfork() but fork(), since vfork and
fork are the same on most systems anyway(?).

*** kdegraphics-1.1.2/kghostview/kpswidget.cpp.kde	Sun May 30 00:37:02 1999
--- kdegraphics-1.1.2/kghostview/kpswidget.cpp	Fri Oct 22 11:56:49 1999
***************
*** 705,711 ****
  	//startTimer(200);
  	fullView->setCursor( waitCursor );
  	
!     interpreter_pid = vfork();
      if (interpreter_pid == 0) {
      
    		::close(std_out[0]);
--- 705,711 ----
  	//startTimer(200);
  	fullView->setCursor( waitCursor );
  	
!     interpreter_pid = fork();
      if (interpreter_pid == 0) {
      
    		::close(std_out[0]);

Diff finished at Fri Oct 22 11:57:03

R'


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic