On Wed, 13 Aug 2008, Christoph Otto via RT wrote:

> On Mon Aug 11 16:21:07 2008, [EMAIL PROTECTED] wrote:
> > src/main.o(.text+0x5c): In function `main':
> > src/main.c:52: undefined reference to `Parrot_new'
> > src/main.o(.text+0x6a):src/main.c:53: undefined reference to
> > `imcc_initialize'
> > src/main.o(.text+0x86):src/main.c:58: undefined reference to
> > `string_from_cstring'
> > src/main.o(.text+0x95):src/main.c:58: undefined reference to
> > `Parrot_set_executable_name'
> > src/main.o(.text+0xae):src/main.c:60: undefined reference to
> > `parseflags'
> > src/main.o(.text+0xd1):src/main.c:61: undefined reference to
> > `imcc_run'
> > src/main.o(.text+0xdf):src/main.c:65: undefined reference to
> > `Parrot_destroy'
> > src/main.o(.text+0xf2):src/main.c:66: undefined reference to
> > `Parrot_exit'
> > src/null_config.o(.text+0x25): In function `Parrot_set_config_hash':
> > src/null_config.c:29: undefined reference to
> > `Parrot_set_config_hash_internal'
> > collect2: ld returned 1 exit status
> > make: *** [miniparrot] Error 1

> The solution was to run Configure.pl and make under bash instead of
> tcsh.  Since the problem has been solved, I'm resolving this ticket.

Just running under tcsh seems unlikely to have been the root cause.  I 
suspect that what really happens is you have different environment 
variables set under tcsh and bash.  This error looks like the one we see 
when there is an already-installed libparrot.so somewhere that conflicts 
with the the one you're trying to build.  (You don't show the compiler 
command line that generated the error, so this is only a guess.)

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to