users-prolog
[Top][All Lists]
Advanced

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

GNU Prolog 1.2.8 new install question


From: Jonathan Schreiter
Subject: GNU Prolog 1.2.8 new install question
Date: Mon, 13 May 2002 08:33:14 -0700 (PDT)

Hello all,
I apologize if this problem seems trivial, but I
cannot seem to figure out the problem (new to this).

I am running cygwin 1.3.10 on a windows 2000 box.   I
installed gnu prolog in /usr/local/gprolog-1.2.8/.  I
then tried to run the test files to ensure that the C
/ Prolog connections work properly.  Basically, I am
trying to call prolog from G++.  

The /usr/local/gprolog-1.2.8/ExamplesC/Makefile that
comes standard with the installation gives me the
following errors:

Any help would be appreciated.

Regards,
Jonathan

-- snip --

$ make
gplc -C '-Wall -g' examp.pl examp_c.c
/tmp/gplc000580.o: In function `first_occurrence':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0xc):
multiple definition of
`first_occurrence'
/tmp/gplc000580.o(.text+0xc):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
first
 defined here
/tmp/gplc000580.o: In function `occurrence':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x74):
multiple definition of
 `occurrence'
/tmp/gplc000580.o(.text+0x74):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
firs
t defined here
/tmp/gplc000580.o: In function `occurrence2':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0xf4):
multiple definition of
 `occurrence2'
/tmp/gplc000580.o(.text+0xf4):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
firs
t defined here
/tmp/gplc000580.o: In function `char_ascii':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x1a8):
multiple definition o
f `char_ascii'
/tmp/gplc000580.o(.text+0x1a8):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
fir
st defined here
/tmp/gplc000580.o: In function `char_ascii2':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x1fc):
multiple definition o
f `char_ascii2'
/tmp/gplc000580.o(.text+0x1fc):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
fir
st defined here
/tmp/gplc000580.o: In function `my_call':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x274):
multiple definition o
f `my_call'
/tmp/gplc000580.o(.text+0x274):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
fir
st defined here
/tmp/gplc000580.o: In function `my_call2':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x310):
multiple definition o
f `my_call2'
/tmp/gplc000580.o(.text+0x310):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
fir
st defined here
/tmp/gplc000580.o: In function `all_op':
/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c(.text+0x364):
multiple definition o
f `all_op'
/tmp/gplc000580.o(.text+0x364):/usr/local/gprolog-1.2.8/ExamplesC/examp_c.c:
fir
st defined here
collect2: ld returned 1 exit status
compilation failed
make: *** [examp] Error 1



__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



reply via email to

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