{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1868","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1868/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1868/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1868/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1868","id":38244859,"number":1868,"title":"Compiling on Raspberry Pi","user":{"login":"zeitkunst","id":272601,"avatar_url":"https://avatars.githubusercontent.com/u/272601?v=3","gravatar_id":"","url":"https://api.github.com/users/zeitkunst","html_url":"https://github.com/zeitkunst","followers_url":"https://api.github.com/users/zeitkunst/followers","following_url":"https://api.github.com/users/zeitkunst/following{/other_user}","gists_url":"https://api.github.com/users/zeitkunst/gists{/gist_id}","starred_url":"https://api.github.com/users/zeitkunst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeitkunst/subscriptions","organizations_url":"https://api.github.com/users/zeitkunst/orgs","repos_url":"https://api.github.com/users/zeitkunst/repos","events_url":"https://api.github.com/users/zeitkunst/events{/privacy}","received_events_url":"https://api.github.com/users/zeitkunst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-07-19T21:06:33Z","updated_at":"2015-07-31T20:09:56Z","closed_at":null,"body":"Opening a new issue, rather than responding to the closed one (https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1657).\r\n\r\nI'm trying to get wkhtmltopdf compiled on the Pi, and I'm very close. But I'm encountering an error when I try and build libwkhtmltox.so.0.12.2. At the step when it is running the makefile in wkhtmltopdf/static-build/posix-local/app/src/lib, I'm receiving the following, strange, linker error:\r\n\r\n'.LTHUNK0' referenced in section '.text._ZN15QGraphicsObjectD1EV[QGraphicsObject::~QGraphicsObject()]’ of /home/pi/wkhtmltopdf/static-build/posix-local/qt/lib/libQtGui.a(qgraphicsitem.o): defined in discarded section ‘.text._ZN15QGraphicsObjectsD2Ev[_ZN15QGraphicsObjectD5Ev]’ of /home/pi/wkhtmltopdf/static-build/posix-local/qt/lib/libQtGui.a(qgraphicsitem.o)\r\n\r\nThe only thing I’ve been able to find out about this kind of error is that it possibly has to do with the library link order.\r\n\r\nThe full command is:\r\n\r\nmake[1]: Entering directory ‘/home/pi/wkhtmltopdf/static-build/posix-local/app/src/lib’\r\nrm -f libwkhtmltox.so.0.12.2 libwkhtmltox.so libwkhtmltox.so.0 libwkhtmltox.so.0.12\r\ng++ -Wl,-O1 -shared -Wl,-soname,libwkhtmltox.so.0 -o libwkhtmltox.so.0.12.2 loadsettings.o multipageloader.o tempfile.o converter.o websettings.o reflect.o utilities.o pdfsettings.o pdfconverter.o outline.o tocstylesheet.o imagesettings.o imageconverter.o pdf_c_bindings.o image_c_bindings.o moc_multipageloader.o moc_utilities.o moc_pdfconverter.o moc_imageconverter.o qrc_wkhtmltopdf.o -L/home/pi/wkhtmltopdf/static-build/posix-local/qt/lib -L/home/pi/wkhtmltopdf/static-build/posix-local/qt/plugins/codecs -lqcncodecs -L/home/pi/wkhtmltopdf/static-build/posix-local/qt/lib -lqjpcodecs -lqkrcodecs -lqtwcodecs -lQtWebKit -L/usr/X11R6/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lQtSvg -lQtXmlPatterns -lQtGui -ljpeg -lpng -lXrender -lfontconfig -lfreetype -lXext -lX11 -lQtNetwork -lQtCore -lz lm -ldl -lrt -lpthread\r\n\r\ngcc version 4.6.3 (Debian 4.6.3-14+rpi1)\r\n\r\nI was running out of memory when linking, but I ought to have enough swap space now to work (the swap is not exhausted when the linker is running)\r\n\r\nThanks for any help!"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/126802050","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1868#issuecomment-126802050","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/1868","id":126802050,"user":{"login":"GM-Script-Writer-62850","id":564653,"avatar_url":"https://avatars.githubusercontent.com/u/564653?v=3","gravatar_id":"","url":"https://api.github.com/users/GM-Script-Writer-62850","html_url":"https://github.com/GM-Script-Writer-62850","followers_url":"https://api.github.com/users/GM-Script-Writer-62850/followers","following_url":"https://api.github.com/users/GM-Script-Writer-62850/following{/other_user}","gists_url":"https://api.github.com/users/GM-Script-Writer-62850/gists{/gist_id}","starred_url":"https://api.github.com/users/GM-Script-Writer-62850/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GM-Script-Writer-62850/subscriptions","organizations_url":"https://api.github.com/users/GM-Script-Writer-62850/orgs","repos_url":"https://api.github.com/users/GM-Script-Writer-62850/repos","events_url":"https://api.github.com/users/GM-Script-Writer-62850/events{/privacy}","received_events_url":"https://api.github.com/users/GM-Script-Writer-62850/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T20:09:56Z","updated_at":"2015-07-31T20:09:56Z","body":"what i needed to do was send the pdf out in a email, what i did since i could not use this was generate a link to document and send that along with a html file\r\nid like to send a pdf instead of a html file, but i did not want to setup a free web host just to run this on another server"}}