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

Re: ns compiling problem



> 
> Dear ns users,
> 
> I am compiling ns-2.1b2 with other current packages on FreeBSD.
> At final linking stage, I got the error message:
> 
> ld: No reference to __DYNAMIC
> *** Error code 1
> 
> I am not using shared lib, c++ compile with -static option, what is
> the problem?
> 
> thanks for help
> 
> /oliver
> 
> 
Oliver,

I had a similar problem trying to compile as static. I just removed the -static
option and added the -ldl library for dynamic. The dl library might be specific
to linux (debian), just put the equivalent for FreeBSD

    Duke