Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This also fails...
- CC='gcc -m32' CXX='g++ -m32' /sw32/bin/python2.7 /sw32/bin/scons check
- /sw32/bin/python2.7 /sw32/bin/scons check
- scons: Reading SConscript files ...
- Checking whether the C++ compiler works(cached) yes
- Checking for C function daemon()... (cached) no
- Checking for C function strlcpy()... (cached) no
- Checking for C function strlcat()... (cached) no
- Checking for ncurses... (cached) no
- ...
- scons: done reading SConscript files.
- scons: Building targets ...
- substituter(["jsongen.py"], ["jsongen.py.in"])
- chmod -w jsongen.py
- chmod +x jsongen.py
- substituter(["maskaudit.py"], ["maskaudit.py.in"])
- chmod -w maskaudit.py
- chmod +x maskaudit.py
- 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"])
- Creating 'gpsd_config.h'
- Creating 'gpsd.h'
- 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
- gpsd.c: In function 'set_serial':
- gpsd.c:941: warning: format '%d' expects type 'int', but argument 3 has type 'speed_t'
- gpsd.c: In function 'main':
- gpsd.c:1925: warning: 'daemon' is deprecated (declared at /usr/include/stdlib.h:289)
- ...
- 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
- 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
- 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
- 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)
- Undefined symbols for architecture x86_64:
- "_Py_InitModule4_64", referenced from:
- _initclienthelpers in gpsclient-py.os
- "_PyModule_AddIntConstant", referenced from:
- _initclienthelpers in gpsclient-py.os
- "_PyArg_ParseTuple", referenced from:
- _gpsclient_maidenhead in gpsclient-py.os
- _gpsclient_gpsd_units in gpsclient-py.os
- _gpsclient_deg_to_str in gpsclient-py.os
- _gpsclient_wgs84_separation in gpsclient-py.os
- "_Py_BuildValue", referenced from:
- _gpsclient_maidenhead in gpsclient-py.os
- _gpsclient_gpsd_units in gpsclient-py.os
- _gpsclient_deg_to_str in gpsclient-py.os
- _gpsclient_wgs84_separation in gpsclient-py.os
- ld: symbol(s) not found for architecture x86_64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement