Advertisement
goatbar

scons building fights against the packager

Aug 27th, 2011
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. This also fails...
  2.  
  3. CC='gcc -m32' CXX='g++ -m32' /sw32/bin/python2.7 /sw32/bin/scons check
  4.  
  5.  
  6.  
  7. /sw32/bin/python2.7 /sw32/bin/scons check
  8. scons: Reading SConscript files ...
  9. Checking whether the C++ compiler works(cached) yes
  10. Checking for C function daemon()... (cached) no
  11. Checking for C function strlcpy()... (cached) no
  12. Checking for C function strlcat()... (cached) no
  13. Checking for ncurses... (cached) no
  14. ...
  15. scons: done reading SConscript files.
  16. scons: Building targets ...
  17. substituter(["jsongen.py"], ["jsongen.py.in"])
  18. chmod -w jsongen.py
  19. chmod +x jsongen.py
  20. substituter(["maskaudit.py"], ["maskaudit.py.in"])
  21. chmod -w maskaudit.py
  22. chmod +x maskaudit.py
  23. check_compile(["python-compilation-regress"], ["gpscap.py", "gpssim.py", "jsongen.py", "leapsecond.py", "maskaudit.py", "test_maidenhead.py", "valgrind-audit.py", "gps/__init__.py", "gps/client.py", "gps/fake.py", "gps/gps.py", "gps/misc.py", "gpscat", "gpsfake", "gpsprof", "xgps", "xgpsspeed", "gegps", "SConstruct"])
  24. Creating 'gpsd_config.h'
  25. Creating 'gpsd.h'
  26. gcc -o gpsd.o -c -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -O2 -pthread -I/sw32/include/libusb-1.0 gpsd.c
  27. gpsd.c: In function 'set_serial':
  28. gpsd.c:941: warning: format '%d' expects type 'int', but argument 3 has type 'speed_t'
  29. gpsd.c: In function 'main':
  30. gpsd.c:1925: warning: 'daemon' is deprecated (declared at /usr/include/stdlib.h:289)
  31. ...
  32. cc -o gpsdclient-py.os -c -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -O2 -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw32/include/python2.7 gpsdclient.c
  33. gcc -o strl-py.os -c -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -D_GNU_SOURCE -O2 -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw32/include/python2.7 strl.c
  34. gcc -L/sw32/lib -bundle -L/sw32/lib/python2.7/config -lpython2.7 -L/sw32/lib -o gps/clienthelpers.so gpsclient-py.os geoid-py.os gpsdclient-py.os strl-py.os -L. -L/usr/local/lib
  35. ld: warning: ignoring file /sw32/lib/python2.7/config/libpython2.7.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)
  36. Undefined symbols for architecture x86_64:
  37. "_Py_InitModule4_64", referenced from:
  38. _initclienthelpers in gpsclient-py.os
  39. "_PyModule_AddIntConstant", referenced from:
  40. _initclienthelpers in gpsclient-py.os
  41. "_PyArg_ParseTuple", referenced from:
  42. _gpsclient_maidenhead in gpsclient-py.os
  43. _gpsclient_gpsd_units in gpsclient-py.os
  44. _gpsclient_deg_to_str in gpsclient-py.os
  45. _gpsclient_wgs84_separation in gpsclient-py.os
  46. "_Py_BuildValue", referenced from:
  47. _gpsclient_maidenhead in gpsclient-py.os
  48. _gpsclient_gpsd_units in gpsclient-py.os
  49. _gpsclient_deg_to_str in gpsclient-py.os
  50. _gpsclient_wgs84_separation in gpsclient-py.os
  51. ld: symbol(s) not found for architecture x86_64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement