[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster] OSX Compile errors (revisited)
- To: xmlblaster at server.xmlBlaster.org
- Subject: [xmlblaster] OSX Compile errors (revisited)
- From: "Rizwan Kassim" <rizwank at geekymedia.com>
- Date: Fri, 12 Jan 2007 22:58:33 -0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fYL3hoIXHsjYIn0Ac29IRue3a/t3WIGzCS6wPjnUED/riiYnYqs61Hh89GxGFi0SpVKmic6kmPJNrWcgDj8zUF50BuZ+ryYQiGbnRyrNAQVicUMGsgWTnP41Oi4oxy6WTi93HuqYMtCHLY1LbN7cSvJPp7na0egp5MFrTSzz+us=
- In-reply-to: <e3ea231b0701122258w321e97f7l66f33db927263d46 at mail.gmail.com>
- References: <e3ea231b0701122258w321e97f7l66f33db927263d46 at mail.gmail.com>
- Reply-to: xmlblaster at server.xmlBlaster.org
- Sender: owner-xmlblaster at server.xmlBlaster.org
To ressurrect an old thread...
http://www.xmlblaster.org/mhonarc-xmlBlaster/msg02580.html
http://www.xmlblaster.org/mhonarc-xmlBlaster/msg02579.html
(I'm using OSX.)
I just wanted to
In an attempt to build the clibrary (required to run the built-in
tests), I'll run the following:
sudo ./build -verbose -DCFLAGS=-I/usr/lib/malloc c-delete c-lib
(adding or removing the DCFLAGS doesn't seem to make a difference)
(see Exhibit [1])
I'm able to fix it in Release 1.4, by using the suggestion [2], FYI. I
just wanted to report that it didn't compile out of the box correctly.
I'm not sure what the problem is with SVN latest, so I wanted to call
attention to that bug as well.
[1]
Release 1.4 gives me:
c-lib:
[mkdir] Created dir: /opt/xmlBlaster/build.tmp/objCD
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
[cc] 9 total files to be compiled.
[cc] gcc -c -g -fPIC -I/opt/xmlBlaster/build.tmp/src/c
/opt/xmlBlaster/build.tmp/src/c/util/helper.c
/opt/xmlBlaster/build.tmp/src/c/socket/XmlBlasterAccessUnparsed.c
/opt/xmlBlaster/build.tmp/src/c/socket/CallbackServerUnparsed.c
/opt/xmlBlaster/build.tmp/src/c/socket/XmlBlasterConnectionUnparsed.c
/opt/xmlBlaster/build.tmp/src/c/util/msgUtil.c
/opt/xmlBlaster/build.tmp/src/c/socket/xmlBlasterSocket.c
/opt/xmlBlaster/build.tmp/src/c/util/Properties.c
/opt/xmlBlaster/build.tmp/src/c/socket/xmlBlasterZlib.c
/opt/xmlBlaster/build.tmp/src/c/socket/XmlBlasterUnmanaged.c
[cc] Starting link
[cc] gcc -g -prebind -dynamiclib -o libxmlBlasterClientCD.dylib
../build.tmp/objCD/helper.o
../build.tmp/objCD/XmlBlasterAccessUnparsed.o
../build.tmp/objCD/CallbackServerUnparsed.o
../build.tmp/objCD/XmlBlasterConnectionUnparsed.o
../build.tmp/objCD/msgUtil.o ../build.tmp/objCD/xmlBlasterSocket.o
../build.tmp/objCD/Properties.o ../build.tmp/objCD/xmlBlasterZlib.o
../build.tmp/objCD/XmlBlasterUnmanaged.o
[cc] ld: warning prebinding disabled because of undefined symbols
[cc] ld: Undefined symbols:
[cc] _gethostbyname_r
[cc] /usr/bin/libtool: internal link edit command failed
SVN latest (15910) gives me :
c-lib:
[mkdir] Created dir: /opt/xmlBlaster-latest/build.tmp/objCD
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
Property ${LDFLAGS} has not been set
[cc] 10 total files to be compiled.
[cc] gcc -c -g -fPIC -I/opt/xmlBlaster-latest/build.tmp/src/c
/opt/xmlBlaster-latest/build.tmp/src/c/util/helper.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterAccessUnparsed.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/CallbackServerUnparsed.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterConnectionUnparsed.c
/opt/xmlBlaster-latest/build.tmp/src/c/util/msgUtil.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/xmlBlasterSocket.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterUnmanagedCE.c
/opt/xmlBlaster-latest/build.tmp/src/c/util/Properties.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/xmlBlasterZlib.c
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterUnmanaged.c
[cc] In file included from
/opt/xmlBlaster-latest/build.tmp/src/c/util/msgUtil.h:10,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/XmlBlasterAccessUnparsed.h:28,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/XmlBlasterUnmanagedCE.h:29,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterUnmanagedCE.c:13:
[cc] /opt/xmlBlaster-latest/build.tmp/src/c/util/helper.h:121:
error: parse error before '*' token
[cc] In file included from
/opt/xmlBlaster-latest/build.tmp/src/c/util/msgUtil.h:10,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/XmlBlasterAccessUnparsed.h:28,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/XmlBlasterUnmanaged.h:29,
[cc] from
/opt/xmlBlaster-latest/build.tmp/src/c/socket/XmlBlasterUnmanaged.c:11:
[cc] /opt/xmlBlaster-latest/build.tmp/src/c/util/helper.h:121:
error: parse error before '*' token
[2]
Quoted from previous thread : "
But xmlBlaster still has problems in the ./build process. It seems
that the __MacOSX__ isn't defined. In order to compile I changed the
# elif defined(__hpux) /* with gcc 2.8 - 3.4.3 */
# else
# define HAVE_FUNC_GETHOSTBYNAME_R_6 /* Linux */
# endif
#endif
to
# elif defined(__hpux) /* with gcc 2.8 - 3.4.3 */
# else
# define LOCAL_GETHOSTBYNAME_R /* Linux */
# endif
#endif "
--
Rizwan Kassim
http://www.geekymedia.com
"If you have a problem and you think awk(1) is the solution, then you
have two problems." -David Tilbrook
--
Rizwan Kassim
Software and Systems Engineer, uWink Interactive Bistro
http://www.geekymedia.com
"If you have a problem and you think awk(1) is the solution, then you
have two problems." -David Tilbrook