help-octave
[Top][All Lists]
Advanced

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

Re: Qhull Compilation problem


From: kahacjde
Subject: Re: Qhull Compilation problem
Date: Tue, 18 Dec 2007 00:56:36 -0800 (PST)


Yan Wu wrote:
> 
> 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
> 

Use the src-rpm package [1] it includes a target for a dynamic library.

Kai

[1] http://www.qhull.org/download/qhull-2003.1-1mdk.src.rpm
-- 
View this message in context: 
http://www.nabble.com/Qhull-Compilation-problem-tp14384541p14385831.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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