I should have googled first... Maybe this is relevant: http://oss.oracle.com/pipermail/ocfs2-tools-devel/2008-August/001028.html
Thanks, Herbert. Herbert van den Bergh wrote: > > The symbols the compiler is complaining about should be defined in > /usr/include/limits.h. Is that file missing on your system? Is it not > being included by the ocfs2 source file? > > I did notice you ran configure with 2 different --prefix options. Any > reason for doing this? Which one is the correct one? > > Thanks, > Herbert. > > > Zemke, Kai wrote: >> >> Hi, >> >> i’am trying to install the OCFS2 Tools from source but after the >> configure script it just fails. I’am not able to solve the problem >> via the output I have and I couldn’t find any suitable help via >> google. So I hope that you can give me the hint that I need to get >> this running. >> >> Im running configure with this call: >> >> ./configure --prefix=/usr --host=x86_64-pc-linux-gnu >> --mandir=/usr/share/man --infodir=/usr/share/info >> --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib >> --prefix=/ --enable-ocfs2console --enable-dynamic-fsck >> --enable-dynamic-ctl --libdir=/lib64 --build=x86_64-pc-linux-gnu >> >> But when I run “make” it quickly stops with the following message: >> >> make -C include >> >> make[1]: Entering directory `/opt/INSTALL/ocfs2-tools-1.4.1/include' >> >> make -C ocfs2-kernel >> >> make[2]: Entering directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/ocfs2-kernel' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/ocfs2-kernel' >> >> make -C o2dlm >> >> make[2]: Entering directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/o2dlm' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/o2dlm' >> >> make -C o2cb >> >> make[2]: Entering directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/o2cb' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory `/opt/INSTALL/ocfs2-tools-1.4.1/include/o2cb' >> >> make -C ocfs2 >> >> make[2]: Entering directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/ocfs2' >> >> make[2]: Nothing to be done for `all'. >> >> make[2]: Leaving directory >> `/opt/INSTALL/ocfs2-tools-1.4.1/include/ocfs2' >> >> make[1]: Leaving directory `/opt/INSTALL/ocfs2-tools-1.4.1/include' >> >> make -C libo2dlm >> >> make[1]: Entering directory `/opt/INSTALL/ocfs2-tools-1.4.1/libo2dlm' >> >> make[1]: Nothing to be done for `all'. >> >> make[1]: Leaving directory `/opt/INSTALL/ocfs2-tools-1.4.1/libo2dlm' >> >> make -C libo2cb >> >> make[1]: Entering directory `/opt/INSTALL/ocfs2-tools-1.4.1/libo2cb' >> >> x86_64-pc-linux-gnu-gcc -O2 -Wall -Wstrict-prototypes >> -Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -I../include >> -I. -MD -MP -MF ./.client_proto.d -o client_proto.o -c client_proto.c >> >> client_proto.c: In function 'parse_itemcount': >> >> client_proto.c:228: error: 'LONG_MAX' undeclared (first use in this >> function) >> >> client_proto.c:228: error: (Each undeclared identifier is reported >> only once >> >> client_proto.c:228: error: for each function it appears in.) >> >> client_proto.c:228: error: 'UINT_MAX' undeclared (first use in this >> function) >> >> client_proto.c: In function 'parse_status': >> >> client_proto.c:248: error: 'LONG_MIN' undeclared (first use in this >> function) >> >> client_proto.c:248: error: 'LONG_MAX' undeclared (first use in this >> function) >> >> client_proto.c:249: error: 'INT_MIN' undeclared (first use in this >> function) >> >> client_proto.c:249: error: 'INT_MAX' undeclared (first use in this >> function) >> >> make[1]: *** [client_proto.o] Error 1 >> >> make[1]: Leaving directory `/opt/INSTALL/ocfs2-tools-1.4.1/libo2cb' >> >> make: *** [libo2cb] Error 2 >> >> Can you help me? What am I doing wrong here? >> >> Mit freundlichen Grüßen >> >> Kai Zemke >> >> =========================================================== >> smartnet Online Service GmbH, Schnackenburgallee 177, 22525 Hamburg >> =========================================================== >> Geschäftsführer: Christian Suding, Claus Masch >> Ust.IdNr.:DE191136350 >> Handelsregister HRB 66463 >> Steuernummer: FA: Hamburg 54/855/01047 >> Fon: +49 (0) 40 5540-0 >> Fax: +49 (0) 40 5540-1040 >> [email protected] <mailto:[email protected]> >> Weitere Informationen siehe: http://www.smartnet.de >> <http://www.smartnet.de/> >> =========================================================== >> >> Hinweis: >> Diese Email kann vertrauliche und/oder rechtlich geschützte >> Informationen enthalten. Wenn Sie nicht der beabsichtigte >> Empfänger sind oder diese Email irrtümlich erhalten haben, >> informieren Sie bitte sofort den Absender telefonisch oder >> per Email und löschen Sie diese Email aus Ihrem System. >> Das unerlaubte Kopieren, sowie die unbefugte Weitergabe >> dieser Email ist nicht gestattet.Wir haften nicht für die >> Unversehrtheit von Emails, nachdem sie unseren Einfluss- >> Bereich verlassen haben. >> >> ------------------------------------------------------------------------ >> / IMPORTANT: The contents of this email and any attachments are >> confidential. They are intended for the named recipient(s) only. >> If you have received this email in error, please notify the system >> manager or the sender immediately and do not disclose the contents to >> anyone or make copies thereof. >> /**** eSafe scanned this email for viruses, vandals, and malicious >> content. **** >> ------------------------------------------------------------------------ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Ocfs2-users mailing list >> [email protected] >> http://oss.oracle.com/mailman/listinfo/ocfs2-users _______________________________________________ Ocfs2-users mailing list [email protected] http://oss.oracle.com/mailman/listinfo/ocfs2-users
