What am I missing here (gcc/g++)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using gcc-3.4.1 on Fedora Core 3 (kenel-2.6.9SMP)

70_ g++ test.c -o test
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
elf-init.oS(.text+0x1c): undefined reference to `__init_array_end'
elf-init.oS(.text+0x22): undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_fini':
elf-init.oS(.text+0x68): undefined reference to `__fini_array_end'
elf-init.oS(.text+0x6e): undefined reference to `__fini_array_start'
collect2: ld returned 1 exit status
sir-john:~/tmp 08:00:41
71_ more test.c
#include <iostream>

int
main(int argc, char *argv)
{
    return(0);
}

-brian


Brian D. McGrew { brian@xxxxxxxxxxxxxxxxxxx || brian@xxxxxxxxxxxxx }
--
> YOU!  Off my planet! 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux