> mypc@mypc:~/linuxcnc-dev$ '/home/mypc/linuxcnc-dev/tests/build/ui/test.sh' > + g++ -I /home/mypc/linuxcnc-dev/tests/build/ui/nml-position-logger.cc -L /home/mypc/linuxcnc-dev/lib -lnml -llinuxcnc -o /dev/null > /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: nella funzione "_start": > (.text+0x20): riferimento non definito a "main" > collect2: error: ld returned 1 exit statusmypc@mypc:~/linuxcnc-dev$ '/home/mypc/linuxcnc-dev/tests/build/ui/test.sh'
mypc@mypc:~/linuxcnc-dev$ '/home/mypc/linuxcnc-dev/tests/build/ui/test.sh' + g++ -I /home/mypc/linuxcnc-dev/tests/build/ui/nml-position-logger.cc -L /home/mypc/linuxcnc-dev/lib -lnml -llinuxcnc -o /dev/null /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: into function "_start": (.text+0x20): undefined references to "main" collect2: error: ld returned 1 exit status bkt Il giorno ven 12 ott 2018 alle ore 12:07 theman whosoldtheworld < [email protected]> ha scritto: > I have a rip install SIM only no realtime on ubuntu 16.04.xx (last one) > with all library needed installed ... as suggest me from other post i try > to use with no success nml-position-logger.cc for UI study porpuse .... tha > compiling fails in every situation so I try to use the bash script test.sh > included in linuxcnc-dev/tests/build/ui adding (for more security ) the > absolute path of library and file .... but obtain these error: > > mypc@mypc:~/linuxcnc-dev$ > '/home/mypc/linuxcnc-dev/tests/build/ui/test.sh' > + g++ -I /home/mypc/linuxcnc-dev/tests/build/ui/nml-position-logger.cc -L > /home/mypc/linuxcnc-dev/lib -lnml -llinuxcnc -o /dev/null > /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: nella > funzione "_start": > (.text+0x20): riferimento non definito a "main" > collect2: error: ld returned 1 exit status > > someone know the origin of these? ... I think is the most part of my > problem with my c++ test > > I try to re-install libc-dev (actually libc6-dev) I try to make simbolic > link like so > sudo ln -s /usr/lib/x86_64-linux-gnu /usr/lib64... > I try to install gcc-multilib .... I try to add options to test.sh like so > ... -B/usr/lib/x86_64-linux-gnu .... the same error every time > > > bkt > > _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
