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

List:       koffice
Subject:    k...anything compilation problems
From:       Slav Inger <vinger () ford ! com>
Date:       1999-05-11 14:01:41
[Download RAW message or body]

Hello,

I'm having problems with compiling any k...program, including koffice,
klyx, ktop, kcli, and others.  I'm running Solaris 2.6 SPARC, using gcc
and g++ (from www.sunfreeware.com) in /usr/local/bin.  Linker is NOT GNU
- it's in /usr/ccs/bin/ld.  gcc works with no problem, but weird things
happen with g++:  compiles a sample helloworld fine, but if no input
files are given, it complains of unresolved symbols in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1/crt1.o. (using
stdlibc++ 2.8.1).  When I run make on any k package, I get output
similar to this:

<snip>
make[3]: Entering directory `/ford/sic64148/u/vinger/kde/ktop/ktop'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include
-I/usr/local/qt/include  -I/usr/openwin/include    -O2 -Wall -c
OSProcess.cpp
OSProcess.cpp:308: prototype for `bool OSProcess::read(const char *)'
does not match any in class `OSProcess'
OSProcess.h:160: candidate is: bool OSProcess::read(const void *)
OSProcess.cpp: In method `bool OSProcess::read(const char *)':
OSProcess.cpp:309: warning: control reaches end of non-void function
`OSProcess::read(const char *)'
make[3]: *** [OSProcess.o] Error 1
make[3]: Leaving directory `/ford/sic64148/u/vinger/kde/ktop/ktop'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ford/sic64148/u/vinger/kde/ktop/ktop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ford/sic64148/u/vinger/kde/ktop'
make: *** [all-recursive-am] Error 2

The above was generated with ktop, but it fails similarly on all.  I
find it interesting that make fails abruptly on object files, without
compiler giving any _errors_ prior to failure.  I'm suspecting that ld
is causing these problems.

Any suggestions?

Thanks.

- Slav Inger.
- vinger@ford.com

--
Ford Motor Co., FSIC QPL
UNIX Server Group
Phone:  1-313-594-0216
E-mail: vinger@ford.com

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

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