[Kalzium] [Bug 146425] New: Kalzium compilation fails - incorrcet include malloc.h
jeremyhu at uclink4.berkeley.edu
jeremyhu at uclink4.berkeley.edu
Tue Jun 5 21:32:44 CEST 2007
------- 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=146425
Summary: Kalzium compilation fails - incorrcet include malloc.h
Product: kalzium
Version: unspecified
Platform: Compiled Sources
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kalzium kde org
ReportedBy: jeremyhu uclink4 berkeley edu
Version: (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc 4.0.1
OS: OS X
stdlib.h is the correct include to get malloc(), not malloc.h
[ 64%] Building CXX object marble/src/lib/CMakeFiles/marblewidget.dir/kml/KMLFeature.o
/Users/jeremy/src/kde-svn/trunk/KDE/kdeedu/kalzium/compoundviewer/openbabel2wrapper.cpp:24:20: error: malloc.h: No such file or directory
Index: kalzium/compoundviewer/openbabel2wrapper.cpp
===================================================================
--- kalzium/compoundviewer/openbabel2wrapper.cpp (revision 671896)
+++ kalzium/compoundviewer/openbabel2wrapper.cpp (working copy)
@ -21,7 +21,7 @
#include <iostream>
#include <fstream>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <QMouseEvent>
#include <QLayout>
More information about the Kalzium
mailing list