SourceForge.net
2004-07-24 05:16:11 UTC
Bugs item #996993, was opened at 2004-07-24 07:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=996993&group_id=1814
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: gian paolo ciceri (zanzi)
Assigned to: Nobody/Anonymous (nobody)
Summary: in 0.3.8 PATH_MAX not defined on MacOsX
Initial Comment:
Hello all,
Trying to build 0.3.8. on MacOsX I take:
----
g++ -g -O2 -pipe -Iinclude -DNDEBUG -DUNSTABLE -O2
-Wall -Woverloaded-virtual -fno-rtti -fno-exceptions
-fpic -c -o xplc/modulemgr.o xplc/modulemgr.cpp
cc1plus: warning: -fpic is not supported; -fPIC assumed
xplc/modulemgr.cpp: In member function `virtual
IServiceHandler*
ModuleManagerFactory::createModuleManager(const char*)':
xplc/modulemgr.cpp:79: error: `PATH_MAX' undeclared
(first use this function)
xplc/modulemgr.cpp:79: error: (Each undeclared
identifier is reported only once
for each function it appears in.)
xplc/modulemgr.cpp:102: error: `fname' undeclared
(first use this function)
make: *** [xplc/modulemgr.o] Error 1
----
Grepping my includes I've found
sys/syslimits.h:#define PATH_MAX 1024 /* max bytes
in pathname */
So I suppose it'll be only a matter to add an include
somewhere.
Regards
/gp
p.s.: there's the warning about -fpic not supported, too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=996993&group_id=1814
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=996993&group_id=1814
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: gian paolo ciceri (zanzi)
Assigned to: Nobody/Anonymous (nobody)
Summary: in 0.3.8 PATH_MAX not defined on MacOsX
Initial Comment:
Hello all,
Trying to build 0.3.8. on MacOsX I take:
----
g++ -g -O2 -pipe -Iinclude -DNDEBUG -DUNSTABLE -O2
-Wall -Woverloaded-virtual -fno-rtti -fno-exceptions
-fpic -c -o xplc/modulemgr.o xplc/modulemgr.cpp
cc1plus: warning: -fpic is not supported; -fPIC assumed
xplc/modulemgr.cpp: In member function `virtual
IServiceHandler*
ModuleManagerFactory::createModuleManager(const char*)':
xplc/modulemgr.cpp:79: error: `PATH_MAX' undeclared
(first use this function)
xplc/modulemgr.cpp:79: error: (Each undeclared
identifier is reported only once
for each function it appears in.)
xplc/modulemgr.cpp:102: error: `fname' undeclared
(first use this function)
make: *** [xplc/modulemgr.o] Error 1
----
Grepping my includes I've found
sys/syslimits.h:#define PATH_MAX 1024 /* max bytes
in pathname */
So I suppose it'll be only a matter to add an include
somewhere.
Regards
/gp
p.s.: there's the warning about -fpic not supported, too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101814&aid=996993&group_id=1814