[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation error: undefined reference to `main'
From: |
Paul Jarc |
Subject: |
compilation error: undefined reference to `main' |
Date: |
Wed, 29 Aug 2001 15:18:15 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 |
I ran ./configure like this:
LD_RUN_PATH=/path/to/tetex/lib CFLAGS="-L/path/to/tetex/lib
-I/path/to/tetex/lib/include" LDFLAGS=-L/path/to/tetex/lib ./configure
and make like this:
LD_RUN_PATH=/path/to/tetex/lib make
and I got this error:
c++ -o out/Paul -L/package/0/tetex/lib -L/package/0/guile-1.4/lib -lguile
-lm
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [out/Paul] Error 1
make[1]: Leaving directory `/fs/lvm/mount/home/prj/lilypond-1.4.7/scripts'
make: *** [all] Error 2
Looks like a Makefile bug. This was with version 1.4.7, but I've also
gotten the error with 1.5.7 and many previous versions. The complete
configure output, make output, and config.status are available at
<URL:http://multivac.cwru.edu/prj/lily/>.
paul
- compilation error: undefined reference to `main',
Paul Jarc <=