Using GDB on C with embedded SQL
Just recently, I found it necessary to use GDB so I can look further into a problem I've come across. The code in question is a .PC file containing embedded SQL. I figured that, in order to run the program using GDB, I could take the .C file that resulted from the precompile and simply do:
gdb -g code_file.c -o code_prog But I get a number of messages mentioning "undefined references" to library functions like 'pow', 'sqlcxt' and 'sqlbuft', plus its location in the original .PC file. Apparently, there must be something else I need to do with a .PC file, but I don't know what. Thank you. |
All times are GMT -5. The time now is 12:13 PM. |