Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Ronny Haryanto
On Tue, Feb 28, 2006 at 01:22:14PM +0700, Adrian wrote: jika saya paksakan meng-configure dengan opsi --host (sesuai dengan error message diatas), gak bermasalah tapi bermasalah saat kompilasi (make). Itu kan dia bilang juga _IF_ you are cross-compiling. Kalo anda pake arch x86 dan compile utk

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 15:38, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 01:22:14PM +0700, Adrian wrote: jika saya paksakan meng-configure dengan opsi --host (sesuai dengan error message diatas), gak bermasalah tapi bermasalah saat kompilasi (make). Itu kan dia bilang juga _IF_ you

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 15:38, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 01:22:14PM +0700, Adrian wrote: jika saya paksakan meng-configure dengan opsi --host (sesuai dengan error message diatas), gak bermasalah tapi bermasalah saat kompilasi (make). Itu kan dia bilang juga _IF_ you are

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 16:31, Willy Sudiarto Raharjo wrote: configure:2205: result: a.out configure:2210: checking whether the C compiler works configure:2216: ./a.out ./configure: line 2217: 8234 Segmentation fault ./$ac_file configure:2219: $? = 139 configure:2228: error: cannot

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 16:47, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 03:56:23PM +0700, Adrian wrote: configure:2216: ./a.out ./configure: line 2217: 8234 Segmentation fault ./$ac_file Ya itu, hasil compilenya segfault pas dijalankan. Coba bikin program C kecil aja:

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 17:35, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 04:45:04PM +0700, Adrian wrote: # vi coba.c # gcc coba.c # ./a.out Segmentation fault Coba dibacktrace. Enable coredump dengan 'ulimit -c unlimited', lalu compile ulang dengan 'gcc -g coba.c', lalu './a.out'

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Ronny Haryanto
On Tue, Feb 28, 2006 at 05:45:31PM +0700, Adrian wrote: # gdb a.out core /home/adrian/test/core: No such file or directory. Loh, habis dijalanin ./a.out dia menghasilkan coredump ndak? Kalo iya harusnya keluar pesan Segmentation fault (core dumped) dan ada file judulnya core. Ronny

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 18:07, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 05:45:31PM +0700, Adrian wrote: # gdb a.out core /home/adrian/test/core: No such file or directory. Loh, habis dijalanin ./a.out dia menghasilkan coredump ndak? Kalo iya harusnya keluar pesan Segmentation fault

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Ronny Haryanto
On Tue, Feb 28, 2006 at 06:05:01PM +0700, Adrian wrote: Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x39d000 Core was generated by `./a.out'. Program terminated with signal 11, Segmentation fault. ... #0 0x00dd7ff8 in ?? () (gdb) bt #0

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Ronny Haryanto
On Tue, Feb 28, 2006 at 10:30:28PM +1100, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 06:05:01PM +0700, Adrian wrote: Itu symbolsnya distrip semua sama distro anda kayaknya. Jadi gak bisa didebug gitu keluarnya ?? semua. Paling ya file a bug report aja ke distronya. Atau coba tanya ke

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Adrian
On Tue, February 28, 2006 18:30, Ronny Haryanto wrote: On Tue, Feb 28, 2006 at 06:05:01PM +0700, Adrian wrote: Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x39d000 Core was generated by `./a.out'. Program terminated with signal 11,

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-28 Terurut Topik Ronny Haryanto
On Wed, Mar 01, 2006 at 07:51:28AM +0700, Adrian wrote: # strace ./a.out execve(./a.out, [./a.out], [/* 21 vars */]) = 0 brk(0) = 0x8acb000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fdd000 access(/etc/ld.so.preload,

Re: [tanya-jawab] FC4: cannot run C compiled programs [SOLVED!]

2006-02-28 Terurut Topik Adrian
On Wed, March 1, 2006 08:23, Ronny Haryanto wrote: On Wed, Mar 01, 2006 at 07:51:28AM +0700, Adrian wrote: # strace ./a.out execve(./a.out, [./a.out], [/* 21 vars */]) = 0 brk(0) = 0x8acb000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,

[tanya-jawab] FC4: cannot run C compiled programs

2006-02-27 Terurut Topik Adrian
rekans, sekarang ini saya sama sekali tidak bisa melakukan kompilasi di fedora core 4. masalah ini sepertinya terjadi setelah saya melakukan update via yum beberapa waktu yang lalu dan baru diketahui kemaren (27/02/2006) ini. setiap akan melakukan instalasi via source code selalu gagal ditahap

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-27 Terurut Topik Ronny Haryanto
On Tue, Feb 28, 2006 at 11:36:55AM +0700, Adrian wrote: checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. sudah coba googling tapi gak ada yang sesuai dengan masalah

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-27 Terurut Topik Andika Triwidada
On 2/28/06, Adrian [EMAIL PROTECTED] wrote: rekans, sekarang ini saya sama sekali tidak bisa melakukan kompilasi di fedora core 4. masalah ini sepertinya terjadi setelah saya melakukan update via yum beberapa waktu yang lalu dan baru diketahui kemaren (27/02/2006) ini. setiap akan melakukan

Re: [tanya-jawab] FC4: cannot run C compiled programs

2006-02-27 Terurut Topik Adrian
On Tue, February 28, 2006 13:15, Andika Triwidada wrote: On 2/28/06, Adrian [EMAIL PROTECTED] wrote: rekans, setiap akan melakukan instalasi via source code selalu gagal ditahap configure dengan error message sebagai berikut: checking for gcc... gcc checking for C compiler default output