help-octave
[Top][All Lists]
Advanced

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

Qhull Compilation problem


From: Yan Wu
Subject: Qhull Compilation problem
Date: Tue, 18 Dec 2007 00:40:10 -0800 (PST)

Hi,
  I was compiling octave 2.9.18 with the qhull static library built from
source and the enable-shared flag. It turned out with an error asking for a
dynamic qhull library libqhull.so.
  I tried with the following script into the Makefile of qhull-2003.1:

libqhull.so: $(OBJS)
        c++ -shared -Xlinker -soname -Xlinker $@ -o libqhull.so $(OBJS)

  But it failed with the following:

/usr/lib/crt1.o(.text+0x41): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libqhull.so] Error 1

  Can anybody enlighten me about how to create the dynamic library?

Best wishes,
Yan
-- 
View this message in context: 
http://www.nabble.com/Qhull-Compilation-problem-tp14384541p14384541.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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