Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:5571] RE: Csound4 GBS not compiling

Date2004-12-22 20:07
From"gogins@pipeline.com"
Subject[CSOUND-DEV:5571] RE: Csound4 GBS not compiling
Are you linking with the --subsystem:console linker option?

Original Message:
-----------------
From: steven yi stevenyi@csounds.com
Date: Wed, 22 Dec 2004 11:08:34 -0800
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:5569] Csound4 GBS not compiling


Hi All,

Trying to compile csound4 on my new Fedora Core 3 laptop and I get

/usr/lib/gcc/i386-redhat/3.4.2/../../../crt1.o(.text+0x18)_: In function 
'_start':
: undefined reference to main

This seems to happen when compiling the csound executable.  Any ideas?

Thanks,
steven


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-12-22 20:27
Fromsteven yi
Subject[CSOUND-DEV:5572] RE: Csound4 GBS not compiling
No, should that be an option?  (I haven't seen that before).  Here's a 
more exhaustive output:

gcc -g -O2 -Wall -falign-loops=4 -falign-jumps=4 -ffast-math 
-fomit-frame-pointer -finline-functions -funroll-loops -O2 -g -pipe 
-march=i386 -mcpu=i686 -I/usr/X11R6/include -o csound ccsound.o  
./.libs/libcsound.a -L/usr/X11R6/lib -lportaudio -lasound 
/usr/lib/libfreetype.so -lz -lXrender -lfontconfig -lfltk -lXft -lXext 
-lX11 -lsupc++ -lstdc++ -lpthread -ldl -lm
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crt1.o(.text+0x18): In 
function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make[2]: *** [csound] Error 1
make[2]: Leaving directory `/home/steven/workspace/csound/csound'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/steven/workspace/csound/csound'
make: *** [all-recursive] Error 1

This also happens on my Fedora Core 2 system.

steven


gogins@pipeline.com wrote:

>Are you linking with the --subsystem:console linker option?
>
>Original Message:
>-----------------
>From: steven yi stevenyi@csounds.com
>Date: Wed, 22 Dec 2004 11:08:34 -0800
>To: csound-dev@eartha.mills.edu
>Subject: [CSOUND-DEV:5569] Csound4 GBS not compiling
>
>
>Hi All,
>
>Trying to compile csound4 on my new Fedora Core 3 laptop and I get
>
>/usr/lib/gcc/i386-redhat/3.4.2/../../../crt1.o(.text+0x18)_: In function 
>'_start':
>: undefined reference to main
>
>This seems to happen when compiling the csound executable.  Any ideas?
>
>Thanks,
>steven
>
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>
>  
>