![]() |
#1 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Anyone able to compile liberregxml?
I'm getting compile errors when trying to build liberregxml. Has anyone been able to successfully compile it?
The output is: Code:
make all-recursive make[1]: Entering directory `/home/developer/irex/liberregxml/liberregxml-0.212' Making all in src make[2]: Entering directory `/home/developer/irex/liberregxml/liberregxml-0.212/src' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/arm/oe/arm-linux/include/libxml2 -I../inc -g -Wall -Werror -fno-strict-aliasing -DDATADIR=\"/usr/local/var\" -g -O2 -MT erregtypes.lo -MD -MP -MF ".deps/erregtypes.Tpo" -c -o erregtypes.lo erregtypes.c; \ then mv -f ".deps/erregtypes.Tpo" ".deps/erregtypes.Plo"; else rm -f ".deps/erregtypes.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/arm/oe/arm-linux/include/libxml2 -I../inc -g -Wall -Werror -fno-strict-aliasing -DDATADIR=\"/usr/local/var\" -g -O2 -MT erregtypes.lo -MD -MP -MF .deps/erregtypes.Tpo -c erregtypes.c -fPIC -DPIC -o .libs/erregtypes.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/arm/oe/arm-linux/include/libxml2 -I../inc -g -Wall -Werror -fno-strict-aliasing -DDATADIR=\"/usr/local/var\" -g -O2 -MT erregtypes.lo -MD -MP -MF .deps/erregtypes.Tpo -c erregtypes.c -o erregtypes.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/arm/oe/arm-linux/include/libxml2 -I../inc -g -Wall -Werror -fno-strict-aliasing -DDATADIR=\"/usr/local/var\" -g -O2 -MT erregxml.lo -MD -MP -MF ".deps/erregxml.Tpo" -c -o erregxml.lo erregxml.c; \ then mv -f ".deps/erregxml.Tpo" ".deps/erregxml.Plo"; else rm -f ".deps/erregxml.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/arm/oe/arm-linux/include/libxml2 -I../inc -g -Wall -Werror -fno-strict-aliasing -DDATADIR=\"/usr/local/var\" -g -O2 -MT erregxml.lo -MD -MP -MF .deps/erregxml.Tpo -c erregxml.c -fPIC -DPIC -o .libs/erregxml.o erregxml.c: In function `regValidate': erregxml.c:68: error: structure has no member named `szFileName' erregxml.c: In function `regParseSingleFile': erregxml.c:88: warning: implicit declaration of function `ermXmlOpenFile' erregxml.c: In function `regStore': erregxml.c:203: warning: passing arg 1 of `ermXmlSaveAs' from incompatible pointer type erregxml.c:203: warning: passing arg 2 of `ermXmlSaveAs' from incompatible pointer type erregxml.c: In function `regGetVersion': erregxml.c:272: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetVersion': erregxml.c:307: warning: implicit declaration of function `ermXmlCheckXpath' erregxml.c:310: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetUserProfile': erregxml.c:341: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:353: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:365: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:383: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetUserProfile': erregxml.c:420: error: too few arguments to function `ermXmlSetString' erregxml.c:435: error: too few arguments to function `ermXmlSetString' erregxml.c:450: error: too few arguments to function `ermXmlSetString' erregxml.c:465: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetUserSetting': erregxml.c:497: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:509: warning: implicit declaration of function `ermXmlGetBoolean' erregxml.c:525: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c:555: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c:567: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c: In function `regSetUserSetting': erregxml.c:614: error: too few arguments to function `ermXmlSetString' erregxml.c:635: warning: implicit declaration of function `ermXmlSetBoolean' erregxml.c: In function `regGetPCConfig': erregxml.c:729: warning: implicit declaration of function `ermXmlGetNodeNr' erregxml.c:748: warning: passing arg 1 of `ermXmlGetAttributeString' discards qualifiers from pointer target type erregxml.c: In function `regGetPCProfile': erregxml.c:817: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:826: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:838: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:850: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:862: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:874: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetPCProfile': erregxml.c:921: error: too few arguments to function `ermXmlSetString' erregxml.c:936: error: too few arguments to function `ermXmlSetString' erregxml.c:951: error: too few arguments to function `ermXmlSetString' erregxml.c:966: error: too few arguments to function `ermXmlSetString' erregxml.c:981: error: too few arguments to function `ermXmlSetString' erregxml.c:996: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetAutoConnect': erregxml.c:1145: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1168: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c: In function `regSetAutoConnect': erregxml.c:1202: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetTimedIds': erregxml.c:1302: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetTimedIds': erregxml.c:1406: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetContentCategory': erregxml.c:1460: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1482: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetContentCategory': erregxml.c:1521: error: too few arguments to function `ermXmlSetString' erregxml.c:1535: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetExportMemType': erregxml.c:1576: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetExportMemType': erregxml.c:1605: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regSetLastRead': erregxml.c:1710: error: too few arguments to function `ermXmlSetString' erregxml.c:1724: error: too few arguments to function `ermXmlSetString' erregxml.c:1738: error: too few arguments to function `ermXmlSetString' erregxml.c:1752: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetUserAppList': erregxml.c:1797: warning: passing arg 1 of `ermXmlGetAttributeString' discards qualifiers from pointer target type erregxml.c: In function `regGetUserApp': erregxml.c:1830: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1841: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1852: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1863: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1874: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c:1884: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:1905: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetUserApp': erregxml.c:1940: error: too few arguments to function `ermXmlSetString' erregxml.c:1952: error: too few arguments to function `ermXmlSetString' erregxml.c:1964: error: too few arguments to function `ermXmlSetString' erregxml.c:1976: error: too few arguments to function `ermXmlSetString' erregxml.c:1999: error: too few arguments to function `ermXmlSetString' erregxml.c:2019: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetExtInfoList': erregxml.c:2070: warning: implicit declaration of function `ermXmlSelectNodes' erregxml.c:2070: warning: assignment makes pointer from integer without a cast erregxml.c:2098: warning: implicit declaration of function `ermXmlGetChildNode' erregxml.c:2098: warning: initialization makes pointer from integer without a cast erregxml.c:2104: warning: initialization makes pointer from integer without a cast erregxml.c:2110: warning: initialization makes pointer from integer without a cast erregxml.c:2116: warning: initialization makes pointer from integer without a cast erregxml.c: In function `regGetStartUp': erregxml.c:2207: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2218: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetStartUp': erregxml.c:2255: error: too few arguments to function `ermXmlSetString' erregxml.c:2270: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `getProxySettings': erregxml.c:2301: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2310: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c: In function `getIpSettings': erregxml.c:2334: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2343: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2352: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2361: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `getWirelessSettings': erregxml.c:2387: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2396: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2407: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `getDialupSettings': erregxml.c:2443: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2452: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2461: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regGetNetworkConfig': erregxml.c:2527: warning: passing arg 1 of `ermXmlGetAttributeString' discards qualifiers from pointer target type erregxml.c: In function `regGetNetworkProfile': erregxml.c:2604: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2613: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:2699: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c: In function `setWirelessSettings': erregxml.c:2805: error: too few arguments to function `ermXmlSetString' erregxml.c:2818: error: too few arguments to function `ermXmlSetString' erregxml.c:2832: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `setDialupSettings': erregxml.c:2872: error: too few arguments to function `ermXmlSetString' erregxml.c:2884: error: too few arguments to function `ermXmlSetString' erregxml.c:2896: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `setProxySettings': erregxml.c:2924: error: too few arguments to function `ermXmlSetString' erregxml.c:2936: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `setIpSettings': erregxml.c:2963: error: too few arguments to function `ermXmlSetString' erregxml.c:2975: error: too few arguments to function `ermXmlSetString' erregxml.c:2987: error: too few arguments to function `ermXmlSetString' erregxml.c:2999: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regSetNetworkProfile': erregxml.c:3039: error: too few arguments to function `ermXmlSetString' erregxml.c:3052: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetLastConnect': erregxml.c:3278: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c:3288: warning: passing arg 1 of `ermXmlGetInt' discards qualifiers from pointer target type erregxml.c:3298: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetLastConnect': erregxml.c:3357: error: too few arguments to function `ermXmlSetString' erregxml.c: In function `regGetIconSet': erregxml.c:3445: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c:3462: warning: passing arg 1 of `ermXmlGetAttributeString' discards qualifiers from pointer target type erregxml.c:3486: warning: passing arg 1 of `ermXmlGetString' discards qualifiers from pointer target type erregxml.c: In function `regSetDeviceDetails': erregxml.c:3575: error: too few arguments to function `ermXmlSetString' erregxml.c:3591: error: too few arguments to function `ermXmlSetString' erregxml.c:3608: error: too few arguments to function `ermXmlSetString' erregxml.c:3624: error: too few arguments to function `ermXmlSetString' erregxml.c:3640: error: too few arguments to function `ermXmlSetString' make[2]: *** [erregxml.lo] Error 1 make[2]: Leaving directory `/home/developer/irex/liberregxml/liberregxml-0.212/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/developer/irex/liberregxml/liberregxml-0.212' make: *** [all] Error 2 |
![]() |
![]() |
![]() |
#2 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Yes, I just successfully compiled it about an hour ago.
I don't know whether it's relevant, but I compiled/installed libergtk before liberregxml. Let me work on my kit for a few minutes and retry, then I'll be able to tell you exactly what setup works. But basically I'm using the entire iRex SDK version 2.11... so I'm not exactly bootstrapping my build. What's your setup? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I'm using Antartica's scratchbox environment for cross compiling. I'll have to try to use the official SDK.
|
![]() |
![]() |
![]() |
#4 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Ah, yeah, that might make a difference. It kind of looks like you've got an old (or missing) header file...
Here's the method I used:
If it doesn't work for you, let me know and we can start looking at versions of compile tools, etc.... |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Thanks! I'll give it another go.
![]() |
![]() |
![]() |
![]() |
#7 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
I fiddled around and it looks like your first few errors, at least, were caused by having an old version of <libermanifest/ermanifest.h>. So if you compile and install that library first, that might do it.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 50
Karma: 32
Join Date: Aug 2008
Device: Irex iLiad
|
Is it possible for someone to give (very clear
![]() |
![]() |
![]() |
![]() |
#9 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
![]() The more I learn, the more I find out I still need to. ![]() |
|
![]() |
![]() |
![]() |
#10 | |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
Has any body a clean environment that is able to compile the newly released sources (so that the resulting binaries run on a standard Iliad)? That would be really handy! B.t.w. I think a standard build environment will be vital soon in order to develop software for Iliads. It's still scary to install binaries uploaded by total strangers... What do you think? After trying to compile liberregxml I got the same errors as shown in the first post of this thread... libermanifest compiled fine... I was using the iRex SDK version 2.11 (I think) on a vmware scratchbox... I ended up by mixing the scratchbox stuff and the some crosstools (I think)... my environment is now corrupted and complaining '/usr/local/arm/oe/bin/arm-linux-gcc: Accessing a corrupted shared library'... I think I'll have to reinstall everything... A sad way to end a lonely hacking evening... My karma is getting lower and lower :-( Happy coding, Hans. |
|
![]() |
![]() |
![]() |
#12 | |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
![]() Quote:
![]() Wonder why it didn't work within scratchbox... It's a pity that evenings are so short ;-) Last edited by hansel; 10-27-2008 at 07:11 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to compile for Kindle DX? | cdisou | Kindle Developer's Corner | 5 | 10-22-2011 07:30 AM |
Xcode compile errors | KLUTCH | Sigil | 3 | 10-04-2010 10:42 AM |
Compile from Source | krischik | Calibre | 8 | 06-04-2010 08:17 AM |
Who can compile a .c program for me? | owl123 | Workshop | 14 | 04-19-2009 04:26 AM |
iLiad Trying to compile xvnc viewer | Mythago | iRex Developer's Corner | 3 | 03-27-2007 04:20 PM |