[Top][All Lists]

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

[Bug-gsl]compilation bug when using the `gsl_vector_complex_sub' functio

From: van den Bosch
Subject: [Bug-gsl]compilation bug when using the `gsl_vector_complex_sub' function
Date: Thu, 23 Jan 2003 18:08:40 +0100
User-agent: KMail/1.4.3


I'm using the GSL since several months and there is a problem that I can't 
solve when linking the program to the libraries:

address@hidden tests]$ gcc -c test_bidon.c
address@hidden tests]$ gcc test_bidon.o -lgsl -lgslcblas -lm
test_bidon.o: In function `main':
test_bidon.o(.text+0x23e): undefined reference to `gsl_vector_complex_sub'
test_bidon.o(.text+0x26a): undefined reference to `gsl_vector_complex_scale'
collect2: ld returned 1 exit status
address@hidden tests]$

However, as you can see in the program 'test_bidon.c' attached, the matrix 
versions of these functions don't cause any problem. Do you have any clue of 
what's happening? Thanks for your help,

Ides van den Bosch

GSL version: 1.3
system: intel pentium 3 733 MHz 128 RAM
OS: Mandrake Linux 9.0
compiler: GCC 3.2
compiler options: see above

Ir Idesbald van den Bosch
PhD Student
3, Place du Levant - B√Ętiment Maxwell
1348            Louvain-la-Neuve
tel.: +32 (0)10 47 81 06
fax : +32 (0)10 47 87 05

Attachment: test_bidon.c
Description: Text Data

reply via email to

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