SORU
28 NİSAN 2011, PERŞEMBE


Nasıl bana göstermek için gcc olun force komutları mı?

Derleme bir sorun hata ayıklamak için çalışıyorum, ama ben yapamam GCC almak gibi görünüyor (ya da belki değil mi??) bana gerçek derleyici ve linker göstermek için çalıştırma komutları. Burada görüyorum çıktı:

  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

Görmek istediğim şey bu benzer olmalıdır:

$ 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

Bu örnekte, tam gcc komutu görüntülenen gösterdiğini fark etmiş. Yukarıdaki örnek sadece bir şey gibi gösterir "CCLD libvirt_parthelper". Bu davranışı denetlemek için nasıl emin değilim. Yardım? :)

CEVAP
28 NİSAN 2011, PERŞEMBE


Bir çağırmak içinkuru çalıştırın:

$ make -n

Bu make yapmaya ne olduğunu gösterecektir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Alfredo Garcia

    Alfredo Garc

    25 Mayıs 2007
  • cosmicrocketman

    cosmicrocket

    17 NİSAN 2006
  • RickardRick

    RickardRick

    9 Mart 2007