Date: Tue, 27 Feb 2001 21:23:09 -0800 From: Kent Stewart <kstewart@urx.com> To: Will Andrews <will@physics.purdue.edu>, Will Andrews <will@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/editors/koffice Makefile ports/editors/koffice/filespatch-kpbackground.h.new patch-kppixmapobject.h patch-kspread.hpatch-kspread_cluster.h patch-kword_frame.cc patch-kword_page.cc Message-ID: <3A9C8B3D.822D9142@urx.com> References: <200102272230.f1RMU9n54092@freefall.freebsd.org> <3A9C40E6.8CA110B5@urx.com> <20010227192046.A767@ohm.physics.purdue.edu> <3A9C6D62.6D22CD56@urx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Will, I think I have an idea where the /usr/local/include/getopt.h came from. It hasn't been too long since I upgraded to the local docproj setup. The getopt.h looks very close to the one in the tex codes. It wouldn't surpise me if one of those codes corrupted my system. It has only had FreeBSD installed since the end of Nov 2000 BTW, I mv'ed it to o.getopt.h and kdemultimedia2 was able to successfully install. It is cool looking :). Kent Kent Stewart wrote: > > Will Andrews wrote: > > > > On Tue, Feb 27, 2001 at 04:05:58PM -0800, Kent Stewart wrote: > > > I side stepped this one and hit another block in kdemultimedia2. The > > > messages are > > > > > > gmake[5]: Entering directory > > > `/usr/ports/audio/kdemultimedia2/work/kdemultimedia-2.1/mpeglib/example/yaf/yafsplay' > > > c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../include > > > -I/usr/local/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include > > > -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -O2 > > > -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith > > > -Wmissing-prototypes -Wwrite-strings -Wno-long-long -Wnon-virtual-dtor > > > -fno-builtin -O -pipe -march=i686 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT > > > -DQT_NO_ASCII_CAST -c splay_control.cpp > > > In file included from splay_control.cpp:30: > > > /usr/local/include/getopt.h:108: declaration of C function `int > > > getopt()' conflicts with > > > /usr/include/unistd.h:112: previous declaration `int getopt(int, char > > > *const *, const char *)' here > > > splay_control.cpp: In function `int main(int, char **)': > > > /usr/local/include/getopt.h:108: too many arguments to function `int > > > getopt()' > > > splay_control.cpp:97: at this point in file > > > > That is a result of a conflict with your local getopt.h. I'm not real > > sure how to solve that, but if you'd post your > > /usr/local/include/getopt.h that would help tremendously. > > I still am having problems with abs function in koffice. It isn't > building still. > > Here is /usr/loca/include/getopt.h > > topaz# cat getopt.h > /* Declarations for getopt. > Copyright (C) 1989,90,91,92,93,94,96,97 Free Software Foundation, > Inc. > > NOTE: The canonical source of this file is maintained with the GNU C > Library. > Bugs can be reported to bug-glibc@prep.ai.mit.edu. > > This program is free software; you can redistribute it and/or modify > it > under the terms of the GNU General Public License as published by the > Free Software Foundation; either version 2, or (at your option) any > later version. > > This program is distributed in the hope that it will be useful, > but WITHOUT ANY WARRANTY; without even the implied warranty of -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9C8B3D.822D9142>
