Jack Moffitt;4783 Wrote: > > > Surely you can make a blank project, drag the files listed into it, > set the compiler defines in the project options, and hit build. > > > Would you like me to ignore all the other files (remove them from a > > project and just include the ones you mention here? > > Exactly. I have no idea how to build every file in the expat library. > Who knows what strange stuff that other stuff is for or what things > it depends on in order to build. >
1)There are a bunch of .h files that I needed to add to your list which include nametab.h, sasl.h, ostypes.h, common.h, ascii.h (you get the drift). 2) It could not locate strophe.h so I renamed the ifndefine tag: /*#ifndef __LIBSTROPHE_STROPHE_H__ #define __LIBSTROPHE_STROPHE_H__ */ #ifndef __STROPHE_H__ #define __STROPHE_H__ That however had no impact and the files can still not find strophe.h 3) I tried to run this project ( http://www.mediafire.com/file/gmknnnm5nye ) and these are the errors I get: ( full file http://www.mediafire.com/?ejnjndcd5tm ) **** Full rebuild of configuration Debug for project StropheCTest **** make -k clean all rm -rf ./active.o ./auth.o ./basic.o ./conn.o ./ctx.o ./event.o ./handler.o ./hash.o ./jid.o ./parser.o ./roster.o ./sasl.o ./snprintf.o ./sock.o ./stanza.o ./thread.o ./util.o ./xmlparse.o ./xmlrole.o ./xmltok.o ./xmltok_impl.o ./xmltok_ns.o ./active.d ./auth.d ./basic.d ./conn.d ./ctx.d ./event.d ./handler.d ./hash.d ./jid.d ./parser.d ./roster.d ./sasl.d ./snprintf.d ./sock.d ./stanza.d ./thread.d ./util.d ./xmlparse.d ./xmlrole.d ./xmltok.d ./xmltok_impl.d ./xmltok_ns.d StropheCTest.exe Building file: ../active.c Invoking: GCC C Compiler gcc -O0 -g3 -Wall -c -fmessage-length=0 -oactive.o ../active.c ../active.c:23:21: strophe.h: No such file or directory ../active.c:25: error: parse error before '*' token ../active.c: In function `handle_reply': ../active.c:29: error: `xmpp_stanza_t' undeclared (first use in this function) ../active.c:29: error: (Each undeclared identifier is reported only once ../active.c:29: error: for each function it appears in.) ../active.c:29: error: `query' undeclared (first use in this function) ../active.c:29: error: `item' undeclared (first use in this function) ../active.c:29: warning: left-hand operand of comma expression has no effect ../active.c:32: warning: implicit declaration of function `xmpp_stanza_get_type' ../active.c:32: error: `stanza' undeclared (first use in this function) ../active.c:32: warning: assignment makes pointer from integer without a cast ../active.c:36: warning: implicit declaration of function `xmpp_stanza_get_child_by_name' ../active.c:38: warning: implicit declaration of function `xmpp_stanza_get_children' ../active.c:39: warning: implicit declaration of function `xmpp_stanza_get_next' (.....) ../xmltok_ns.c:101: error: `versionPtr' undeclared (first use in this function) ../xmltok_ns.c:102: error: `versionEndPtr' undeclared (first use in this function) ../xmltok_ns.c:103: error: `encodingName' undeclared (first use in this function) ../xmltok_ns.c:104: error: `encoding' undeclared (first use in this function) ../xmltok_ns.c:105: error: `standalone' undeclared (first use in this function) make: *** [xmltok_ns.o] Error 1 make: Target `all' not remade because of errors. Build complete for project StropheCTest -- I was just thinking would it not be easier if you were kind enough to put these files in a project and perhaps upload them? thanks for all your help guys! -- ashiraz ------------------------------------------------------------------------ ashiraz's Profile: http://www.jabberforum.org/member.php?userid=17305 View this thread: http://www.jabberforum.org/showthread.php?t=1013 _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________