Linking under QCC

Hi All,

I use QNX NEUTRINO and QCC

I have a multiple libraries, when I’m trying to assembly it (using
makefile) with next line of code:

LFLAGS
–M -N32K -L/lib -lc -lm -lcpp -L/usr/lib/ -lphrender -lsocket -lPtW
eb

I always get " undefined reference to (some function) "

Does someone may give some suggestions about it?
I haven’t that problems under QNX 4

Regards,
Boris

Michel Royer <support@tilcon.com> wrote:

Hi All,

I use QNX NEUTRINO and QCC

I have a multiple libraries, when I’m trying to assembly it (using
makefile) with next line of code:

LFLAGS
–M -N32K -L/lib -lc -lm -lcpp -L/usr/lib/ -lphrender -lsocket -lPtW
eb

I always get " undefined reference to (some function) "

Does someone may give some suggestions about it?

Hello Michel,

You’ll need to add -lPh to end of your line.

Regards,

Marcin

I haven’t that problems under QNX 4

Regards,
Boris