Hi Robert, > gcc -Wall -o "using-libserialport" "using-libserialport.c" -pthread
I don't see the inclusion of the actual library there. Please go to Build->Set Build Commands, add "-lserialport" to the command line and try again. That should work if you installed the library system-wide. If you however downloaded the source and installed the library to a local directory only, you'll have to specify the location of libserialport.so using the "-L" parameter to gcc. All the best, -Soeren > (in > directory: /home/me/Desktop/C-Code) > /tmp/ccf1XJzB.o: In function `main': > using-libserialport.c:(.text+0x10): undefined reference to > `sp_list_ports' > using-libserialport.c:(.text+0x35): undefined reference to > `sp_get_port_name' > using-libserialport.c:(.text+0x70): undefined reference to > `sp_free_port_list' > collect2: error: ld returned 1 exit status > Compilation failed. > > What have I missed? Thanks for any help anyone can provide... > Robert > > ------------------------------------------------------------------- > ----------- > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel