আমি একটি সংকলন সমস্যা ডিবাগ করার চেষ্টা করছি, তবে প্রকৃত সংকলক এবং লিঙ্কার কমান্ডগুলি এটি সম্পাদন করছে তা দেখানোর জন্য আমি জিসিসি (বা এটি এটি তৈরি হয় ??) পেতে পারি না।
আমি যে আউটপুটটি দেখছি তা এখানে:
CCLD libvirt_parthelper
libvirt_parthelper-parthelper.o: In function `main':
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:102: undefined reference to `ped_device_get'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:116: undefined reference to `ped_disk_new'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:122: undefined reference to `ped_disk_next_partition'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:172: undefined reference to `ped_disk_next_partition'
/root/qemu-build/libvirt-0.9.0/src/storage/parthelper.c:172: undefined reference to `ped_disk_next_partition'
collect2: ld returned 1 exit status
make[3]: *** [libvirt_parthelper] Error 1
আমি যা দেখতে চাই তা এর মতো হওয়া উচিত:
$ make
gcc -Wall -c -o main.o main.c
gcc -Wall -c -o hello_fn.o hello_fn.c
gcc main.o hello_fn.o -o main
এই উদাহরণটিতে সম্পূর্ণ gccকমান্ড প্রদর্শিত হয়েছে তা লক্ষ্য করুন । উপরের উদাহরণটি কেবল "সিসিএলডি লাইবভিার্ট_ পার্থেল্পার" এর মতো জিনিসগুলি দেখায়। আমি কীভাবে এই আচরণটি নিয়ন্ত্রণ করব তা নিশ্চিত নই।
gccআদেশ?