On Wed, Apr 26, 2017 at 1:30 PM, Sebastian Kuzminsky <s...@highlab.com> wrote:
> 2.7 should build anywhere the master branch (2.8-prerelease) builds, what
> build error do you get?
Attached are the configure and build runs. I tried playing with the
--enable-non-distributable=yes option but it still lands on the same
error.
This is just the error extracted from the build.
Compiling hal/user_comps/mb2hal/mb2hal.c
hal/user_comps/mb2hal/mb2hal.c: In function ‘get_tx_connection’:
hal/user_comps/mb2hal/mb2hal.c:362:5: warning: passing argument 2 of
‘modbus_set_response_timeout’ makes integer from pointer without a
cast [enabled by default]
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:188:16: note: expected ‘uint32_t’ but
argument is of type ‘struct timeval *’
hal/user_comps/mb2hal/mb2hal.c:362:5: error: too few arguments to
function ‘modbus_set_response_timeout’
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:188:16: note: declared here
hal/user_comps/mb2hal/mb2hal.c:369:5: warning: passing argument 2 of
‘modbus_set_byte_timeout’ makes integer from pointer without a cast
[enabled by default]
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:191:16: note: expected ‘uint32_t’ but
argument is of type ‘struct timeval *’
hal/user_comps/mb2hal/mb2hal.c:369:5: error: too few arguments to
function ‘modbus_set_byte_timeout’
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:191:16: note: declared here
make: *** [Makefile:211: objects/hal/user_comps/mb2hal/mb2hal.o] Error 1
> And how does matter fail to run?
2.8-prerelease has some quirks you should know. (or perhaps i am miss using it)
1. It doesn't understand --prefix= as other packages seem too in my
experience. When I went to do make install it complained about not
having a DESTDIR so I added DESTDIR := / to the Makefile.
2. It doesn't understand that when --prefix= points to say
/home/username/programs/whatever/ that it has to use the installers
permission level. (it kept bugging me for root)
I added the following to my .bashrc because it is not installed in /
export PATH=/home/user1/programs/linuxcnc/bin:${PATH}
export LD_LIBRARY_PATH=/home/user1/programs/linuxcnc/lib:$LD_LIBRARY_PATH
export
PKG_CONFIG_PATH=/home/user1/programs/linuxcnc/lib/pkgconfig:$PKG_CONFIG_PATH
When I run this is what happens in the console. In the gui The
LinuxCNC Configuration Selector CURRENT: axis.ini.
I leave it on axis.ini and click Next. When it crashes.
~ $ linuxcnc
LINUXCNC - 2.8.0~pre1
Machine configuration directory is
'/home/user1/programs/linuxcnc/share/doc/linuxcnc/examples/sample-configs/sim/axis'
Machine configuration file is 'axis.ini'
can't find package Linuxcnc
while executing
"package require Linuxcnc "
(file "/home/user1/programs/linuxcnc/share/linuxcnc/hallib/check_config.tcl"
line 83)
check_config validation failed
LinuxCNC terminated with an error. You can find more information in the log:
/home/user1/linuxcnc_debug.txt
and
/home/user1/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
I attached linuxcnc_print.txt but linuxcnc_debug.txt is empty (0 bytes).
Thanks for the continued effort,
Evan (and the rest of the pcb-rnd team)
>
> On April 25, 2017 7:01:29 PM MDT, Evan Foss <evanf...@gmail.com> wrote:
>>
>> On Mon, Apr 24, 2017 at 2:49 PM, Sebastian Kuzminsky <s...@highlab.com>
>> wrote:
>>>
>>> On 04/23/2017 09:25 PM, Evan Foss wrote:
>>>>
>>>> Ok so I tried
>>>> LDFLAGS=-L/usr/lib64 ./configure --without-libmodbus
>>>> --with-realtime=uspace --with-python=/usr/bin/python2.7
>>>> --with-boost-python=py27
>>>> (all one line) and it still lands in the same failure. I attached the
>>>> logfile
>>>
>>>
>>> Chris Radek pointed out to me on IRC that i'd given you the wrong
>>> boost-python library name. That command line is right except it should
>>> be --with-boost-python=2.7, *not* =py2.7.
>>
>>
>> You and Chris Radek ROCK! This worked past the configure stage but now
>> i have a different problem...
>> ./configure --enable-simulator --with-python=/usr/bin/python2.7
>> --with-boost-python=2.7 --prefix=/home/user1/programs/linuxcnc
>>
>> Using release 2.7.8 the build fails. Using the current git head it
>> builds but fails run. Which should I focus on?
>>
>>>
>>> --
>>> Sebastian Kuzminsky
>>>
>>> ________________________________
>>>
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ________________________________
>>>
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>>
>
> --
> Sebastian Kuzminsky
--
Home
http://evanfoss.googlepages.com/
Work
http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai
VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6ds10ow2C30X4ohCqOd
hCVg5C+ILmQkEffFrFODy3ji+PYTF4pADvHCWsTMv0hf0llwFOJsBCK6cl02IffE
JPqy4PjM1nZ9HpzT84JBaG/4OGvTZ8SQ2yFUl265jagvygPTf88H1xpZHH1r8dB1
stjUHLmPH8AOyDgKxFchgGeDc3p/vJtgDDIXAFfDXG0NSRovLmtaQdGxe47Zf/go
bXiEM7YL2WqQe5zfEA919JxkEwlDKYniOSVzABEBAAG0N0V2YW4gRm9zcyAoVGhp
cyBpcyBteSBwdWJsaWMga2V5LikgPGV2YW5mb3NzQGdtYWlsLmNvbT6JATkEEwEC
ACMFAlYy4RYCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCIpQTcE8nN
bbBaCACAm8pU5lG1ev2Fsw68Axtcl57SJrYieqX96c3YuYH9JpqMqJRnd9nDKw9X
tQuvuH7tUk0VbOaDqReOYJVI/4c5wb9AaOFp6K2DUcupq6XhgXpvz3HzoPwjAdIj
XuQzdRUx5+innTJrSkGuBYW/CZ2zqEx4xfLlq4rO0hoTUMR8QVp2cCrkw6BT0m86
APIw/ZnjoxM8IEzr7MxfRIg3qpzrZk28rmhx+k78Jyk61UhwcCPGIm/pjUopTwYJ
3YBdRB2cYD2aN7A1JVf5cRmSQYooHBGpH0kYvomGk97PKqypVuJ7OpG9xM58wUcC
qUVt9hKlePLzP8csYjt8onqI7qIIuQENBFYy4RYBCADlH8spG3WkCx62vB5mr5Z0
SCDd/RcyA4A5y5EOj5KurQkrSWpgi9Ho1yKruMJ6blQR2qkc66KqH9pnXDm/ZI1M
K/wdW3ngETxBmXoozzFMT89aEWIVR5/PFodWK1elekE9iJxACuR98Zg2QttTD3x8
A9w8VEyMLOXcDTrPFpHegMKswFBg5iuMulAdXAoGejWTI3n+qKFpabHm2Lfs6wjk
5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/
xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er
ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2
Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8
0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D
gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24
CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD
fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3
EY347EidAw==
=Ta4p
-----END PGP PUBLIC KEY BLOCK-----
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/user1/programs/linuxcnc/bin
LINUXCNC_TCL_DIR=/home/user1/programs/linuxcnc/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/home/user1/programs/linuxcnc/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/home/user1/programs/linuxcnc/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
INIFILE=/home/user1/programs/linuxcnc/share/doc/linuxcnc/examples/sample-configs/sim/axis/axis.ini
VERSION=1.0
build/linuxcnc-2.7.8/src $ ./configure --with-realtime=uspace
--with-python=/usr/bin/python2.7 --with-boost-python=2.7
--enable-non-distributable=yes --prefix=/home/user1/programs/linuxcnc
checking build toplevel... /home/user1/Documents/build/linuxcnc-2.7.8
checking installation prefix... /home/user1/programs/linuxcnc
checking for grep... /bin/grep
checking for egrep... /bin/egrep
checking for pkg-config... /usr/bin/pkg-config
checking for RT dir... Using userspace realtime
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 225
checking for cc version... not specified
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for usability of rdtscll from asm/msr.h... no
checking for usability of linux/hidraw.h... yes
checking for libmodbus3... yes - version 3.1.2
checking for libusb-1.0... yes
checking for module installation directory...
/home/user1/programs/linuxcnc/lib/linuxcnc/modules
checking for glib... yes - 2.50.3
checking for GTK 2.4.0 or above... yes - 2.24.29
checking for libgnomeprintui-2.2... no -- printing from classicladder will not
be possible
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install
checking for sed... /bin/sed
checking for ps... /bin/ps
checking for kill... /bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for insmod... /sbin/insmod
checking for rmmod... /sbin/rmmod
checking for lsmod... /bin/lsmod
checking for pidof... /usr/bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /bin/fuser
checking for mandb... /usr/bin/mandb
checking for /usr/bin/python2.7... /usr/bin/python2.7
checking whether to build documentation... no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for sincos function... yes
checking for __sincos... no
checking for tcl... /usr/lib64/tclConfig.sh found
checking for tk... /usr/lib64/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.5... found
checking for BLT using tclsh8.5... found
checking for img::png using /usr/bin/tclsh8.5... found
checking for tclX using /usr/bin/tclsh8.5... found
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/Xaw/XawInit.h... yes
checking for XawDialogGetValueString in -lXaw... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... no
Readline does not require -ltermcap
checking whether readline license is compatible with GPL-2... no
configure: WARNING: The LinuxCNC binary you are building may not be
distributable due to a license incompatibility with LinuxCNC (some portions
GPL-2 only) and Readline version 6 and greater (GPL-3 or later).
configure: WARNING: User requested to enable non-distributable builds.
Continuing.
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for xgettext tcl bug... xgettext version 0.19.7 OK
checking for msgfmt... /usr/bin/msgfmt
checking for --tcl support in msgfmt... yes
checking for Python support... yes
checking python version... OK
checking version of python libraries... python2.7
checking match between tk and Tkinter versions... 8.5
checking location of Python header files... /usr/include/python2.7
checking for Python headers... -I/usr/include/python2.7
checking for Python libraries... -lpthread -ldl -lutil
checking whether the Boost::Python headers are available... yes
checking for boost::python shared library... -lboost_python-2.7
checking /usr/include/python2.7/Python.h usability... yes
checking /usr/include/python2.7/Python.h presence... yes
checking for /usr/include/python2.7/Python.h... yes
checking for site-package location... /usr/lib64/python2.7/site-packages
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for glBegin in -lGL... yes
checking for working GLU quadrics... yes
checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
checking libgl1-mesa-dri workaround... not required
configure: creating ./config.status
config.status: creating ../scripts/rtapi.conf
config.status: creating ../scripts/linuxcnc
config.status: creating ../scripts/halrun
config.status: creating ../scripts/rip-environment
config.status: creating ../scripts/haltcl
config.status: creating ../scripts/realtime
config.status: creating ../scripts/linuxcnc_var
config.status: creating Makefile.inc
config.status: creating Makefile.modinc
config.status: creating ../tcl/linuxcnc.tcl
config.status: creating ../lib/python/nf.py
config.status: creating ../scripts/linuxcncmkdesktop
config.status: creating ../share/applications/linuxcnc-latency.desktop
config.status: creating ../share/applications/linuxcnc.desktop
config.status: creating ../share/desktop-directories/cnc.directory
config.status: creating ../share/menus/CNC.menu
config.status: creating config.h
config.status: config.h is unchanged
######################################################################
# LinuxCNC - Enhanced Machine Controller #
######################################################################
# #
# LinuxCNC is a software system for computer control of machine #
# tools such as milling machines. LinuxCNC is released under the #
# GPL. Check out http://www.linuxcnc.org/ for more details. #
# #
# #
# It seems that ./configure completed successfully. #
# This means that RT is properly installed #
# If things don't work check config.log for errors & warnings #
# #
# warning: If you already have an installed linuxcnc, this will #
# replace an existing installation. If you have installed #
# a linuxcnc package, this will damage the package. #
# hint: To test a self-built version of linuxcnc without damaging #
# the package version, don't specify a --prefix #
# #
# Next compile by typing #
# make #
# then install it by typing #
# sudo make install #
# #
# To run the software type #
# linuxcnc #
# #
######################################################################
build/linuxcnc-2.7.8/src $ make
Reading 0/186 dependency files
Done reading dependencies
Reading 0/87 realtime dependency files
Done reading realtime dependencies
Creating serport.mak
Creating xor2.mak
Creating xhc_hb04_util.mak
Creating wcomp.mak
Creating updown.mak
Creating tristate_float.mak
Creating tristate_bit.mak
Creating toggle2nist.mak
Creating toggle.mak
Creating timedelta.mak
Creating timedelay.mak
Creating time.mak
Creating threadtest.mak
Creating thcud.mak
Creating thc.mak
Creating sum2.mak
Creating steptest.mak
Creating sphereprobe.mak
Creating simple_tp.mak
Creating sim_spindle.mak
Creating sim_parport.mak
Creating sim_home_switch.mak
Creating sim_axis_hardware.mak
Creating select8.mak
Creating scale.mak
Creating sample_hold.mak
Creating orient.mak
Creating or2.mak
Creating oneshot.mak
Creating offset.mak
Creating not.mak
Creating near.mak
Creating mux8.mak
Creating mux4.mak
Creating mux2.mak
Creating mux16.mak
Creating multiswitch.mak
Creating multiclick.mak
Creating mult2.mak
Creating moveoff.mak
Creating minmax.mak
Creating message.mak
Creating match8.mak
Creating maj3.mak
Creating lut5.mak
Creating lowpass.mak
Creating logic.mak
Creating lincurve.mak
Creating limit3.mak
Creating limit2.mak
Creating limit1.mak
Creating latencybins.mak
Creating knob2float.mak
Creating joyhandle.mak
Creating invert.mak
Creating integ.mak
Creating ilowpass.mak
Creating hypot.mak
Creating histobins.mak
Creating gray2bin.mak
Creating gearchange.mak
Creating gantry.mak
Creating flipflop.mak
Creating feedcomp.mak
Creating estop_latch.mak
Creating edge.mak
Creating deadzone.mak
Creating ddt.mak
converting conv for conv_u32_s32.comp
Creating conv_u32_s32.mak
converting conv for conv_u32_float.comp
Creating conv_u32_float.mak
converting conv for conv_u32_bit.comp
Creating conv_u32_bit.mak
converting conv for conv_s32_u32.comp
Creating conv_s32_u32.mak
converting conv for conv_s32_float.comp
Creating conv_s32_float.mak
converting conv for conv_s32_bit.comp
Creating conv_s32_bit.mak
converting conv for conv_float_u32.comp
Creating conv_float_u32.mak
converting conv for conv_float_s32.comp
Creating conv_float_s32.mak
converting conv for conv_bit_u32.comp
Creating conv_bit_u32.mak
converting conv for conv_bit_s32.comp
Creating conv_bit_s32.mak
Creating constant.mak
Creating comp.mak
Creating clarkeinv.mak
Creating clarke3.mak
Creating clarke2.mak
Creating charge_pump.mak
Creating carousel.mak
Creating blend.mak
Creating bldc_hall3.mak
Creating bldc.mak
Creating bitwise.mak
Creating bitslice.mak
Creating biquad.mak
Creating bin2gray.mak
Creating axistest.mak
Creating and2.mak
Creating abs_s32.mak
Creating abs.mak
Reading 0/186 dependency files
Done reading dependencies
Reading 0/183 realtime dependency files
Done reading realtime dependencies
Compiling libnml/inifile/inifile.cc
Creating shared library liblinuxcncini.so.0
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Compiling libnml/inifile/inivar.cc
Linking inivar
Compiling libnml/posemath/_posemath.c
Compiling libnml/posemath/posemath.cc
Compiling libnml/posemath/gomath.c
Compiling libnml/posemath/sincos.c
Creating shared library libposemath.so.0
ln -sf libposemath.so.0 ../lib/libposemath.so
Compiling libnml/rcs/rcs_print.cc
Compiling libnml/rcs/rcs_exit.cc
Compiling libnml/os_intf/_sem.c
Compiling libnml/os_intf/_shm.c
Compiling libnml/os_intf/_timer.c
Compiling libnml/os_intf/sem.cc
Compiling libnml/os_intf/shm.cc
Compiling libnml/os_intf/timer.cc
Compiling libnml/buffer/locmem.cc
Compiling libnml/buffer/memsem.cc
Compiling libnml/buffer/phantom.cc
Compiling libnml/buffer/physmem.cc
Compiling libnml/buffer/recvn.c
Compiling libnml/buffer/sendn.c
Compiling libnml/buffer/shmem.cc
Compiling libnml/buffer/tcpmem.cc
Compiling libnml/cms/cms.cc
Compiling libnml/cms/cms_aup.cc
Compiling libnml/cms/cms_cfg.cc
Compiling libnml/cms/cms_in.cc
Compiling libnml/cms/cms_dup.cc
Compiling libnml/cms/cms_pm.cc
Compiling libnml/cms/cms_srv.cc
Compiling libnml/cms/cms_up.cc
Compiling libnml/cms/cms_xup.cc
Compiling libnml/cms/cmsdiag.cc
Compiling libnml/cms/tcp_opts.cc
Compiling libnml/cms/tcp_srv.cc
Compiling libnml/nml/cmd_msg.cc
Compiling libnml/nml/nml_mod.cc
Compiling libnml/nml/nml_oi.cc
Compiling libnml/nml/nml_srv.cc
Compiling libnml/nml/nml.cc
Compiling libnml/nml/nmldiag.cc
Compiling libnml/nml/nmlmsg.cc
Compiling libnml/nml/stat_msg.cc
Compiling libnml/linklist/linklist.cc
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/uspace_rtapi_app.cc
rtapi/uspace_rtapi_app.cc: In function ‘int main(int, char**)’:
rtapi/uspace_rtapi_app.cc:453:34: warning: ignoring return value of ‘int
setreuid(__uid_t, __uid_t)’, declared with attribute warn_unused_result
[-Wunused-result]
Compiling rtapi/uspace_rtapi_parport.cc
Compiling rtapi/uspace_rtapi_string.c
Compiling rtapi/rtapi_pci.cc
Linking rtapi_app
Compiling rtapi/test_rtapi_vsnprintf.c
Linking test_rtapi_vsnprintf
Compiling hal/components/streamer_usr.c
Compiling hal/hal_lib.c
Compiling rtapi/uspace_ulapi.c
Creating shared library liblinuxcnchal.so.0
Linking halstreamer
Compiling hal/components/sampler_usr.c
Linking halsampler
Compiling hal/user_comps/mb2hal/mb2hal.c
hal/user_comps/mb2hal/mb2hal.c: In function ‘get_tx_connection’:
hal/user_comps/mb2hal/mb2hal.c:362:5: warning: passing argument 2 of
‘modbus_set_response_timeout’ makes integer from pointer without a cast
[enabled by default]
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:188:16: note: expected ‘uint32_t’ but argument is
of type ‘struct timeval *’
hal/user_comps/mb2hal/mb2hal.c:362:5: error: too few arguments to function
‘modbus_set_response_timeout’
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:188:16: note: declared here
hal/user_comps/mb2hal/mb2hal.c:369:5: warning: passing argument 2 of
‘modbus_set_byte_timeout’ makes integer from pointer without a cast [enabled by
default]
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:191:16: note: expected ‘uint32_t’ but argument is
of type ‘struct timeval *’
hal/user_comps/mb2hal/mb2hal.c:369:5: error: too few arguments to function
‘modbus_set_byte_timeout’
In file included from hal/user_comps/mb2hal/mb2hal.h:18:0,
from hal/user_comps/mb2hal/mb2hal.c:27:
/usr/include/modbus/modbus.h:191:16: note: declared here
make: *** [Makefile:211: objects/hal/user_comps/mb2hal/mb2hal.o] Error 1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users