[Simgrid-user] Problem while executing 1st exemple SimDag

Arnaud Legrand arnaud.legrand at imag.fr
Thu Jul 24 17:44:08 CEST 2008


Amel Hamdi a écrit :
>   Hi all,
>  I'm a new SimGrid user.
>  I tried to execute a first SIMDAG exemple (source code found in
> "/home/amel/Desktop/simgrid-3.2/examples/simdag/sd_test.c") and typed a
> command line program:
> 
> "gcc -I/home/amel/Desktop/simgrid-3.2/include/
> -L/home/amel/Desktop/simgrid-3.2/src/.libs/libgras.a
> -L/home/amel/Desktop/simgrid-3.2/src/.libs/libsimgrid.a sd_test.c".
> 
> I get this error: /tmp/ccmXA95i.o: In function
> `main':sd_test.c:(.text+0x32): undefined reference to `SD_init'

What about trying make sd_test instead of compiling by hand ?

Cheers,

     Arnaud

-- 
Perhaps if we wrote programs from childhood on, as adults we'd be able to
read them.
    -- "Epigrams in Programming", by Alan J. Perlis of Yale University.




More information about the Simgrid-user mailing list