bug-bison
[Top][All Lists]
Advanced

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

Bison 2.1: Check references for linking


From: Markus Elfring
Subject: Bison 2.1: Check references for linking
Date: Sun, 23 Apr 2006 12:08:29 +0200

Hello,

How can the linking command be improved so that the executable will be created 
under MinGW?

gcc   -g -O2   -o bison.exe  LR0.o assoc.o closure.o complain.o conflicts.o 
derives.o files.o getargs.o gram.o lalr.o location.o main.o muscle_tab.o 
nullable.o output.o parse-gram.o print.o print_graph.o reader.o reduce.o 
relation.o scan-gram.o scan-skel.o state.o symlist.o symtab.o tables.o 
uniqstr.o vcg.o ../lib/libbison.a  
../lib/libbison.a(subpipe.o)(.text+0x29): In function `create_subpipe':
e:/Programme/GNU/bison-2.1/lib/subpipe.c:104: undefined reference to `pipe'
../lib/libbison.a(subpipe.o)(.text+0x5b):e:/Programme/GNU/bison-2.1/lib/subpipe.c:104:
 undefined reference to `pipe'
../lib/libbison.a(subpipe.o)(.text+0xb1):e:/Programme/GNU/bison-2.1/lib/subpipe.c:113:
 undefined reference to `fork'
collect2: ld returned 1 exit status

Regards,
Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]