[Kst]
[Bug 64926] New: included plugin linefit does not compile
Matthew Truch
matt at truch.net
Thu Sep 25 14:53:20 CEST 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=64926
Summary: included plugin linefit does not compile
Product: kst
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst at kde.org
ReportedBy: matt at truch.net
Version: 0.92 (using KDE KDE 3.1)
Installed from: Compiled From Sources
Compiler: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS: Linux
I was unable to compile the linefit plugin for kst included in the source tree.
Below is output from gcc:
[matt at cherry linefit]$ make linefit
gcc -ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -DQT_THREAD_SUPPORT -D_REENTRANT linefit.c
-o linefit
linefit.c:19: warning: no previous prototype for `linefit'
linefit.c: In function `linefit':
linefit.c:51: warning: implicit declaration of function `lrint'
linefit.c:16: warning: unused parameter `is'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
/tmp/ccNkyzrF.o(.text+0x161): In function `linefit':
: undefined reference to `lrint'
/tmp/ccNkyzrF.o(.text+0x171): In function `linefit':
: undefined reference to `floor'
/tmp/ccNkyzrF.o(.text+0x1dd): In function `linefit':
: undefined reference to `lrint'
/tmp/ccNkyzrF.o(.text+0x1ed): In function `linefit':
: undefined reference to `floor'
collect2: ld returned 1 exit status
make: *** [linefit] Error 1
More information about the Kst
mailing list