View Single Post
Old 10-22-2008, 12:02 PM   #1
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
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
Adam B. is offline   Reply With Quote