[Nice] undefined reference to `nice_agent_set_port_range'

Riccardo Colamatteo riccardo.colamatteo at gmail.com
Tue Oct 18 06:52:01 PDT 2011


Hi to all members,

I'm having troubble with the compilation process of test-fullmode.c,
infact after doing the command

gcc -lnice `pkg-config --cflags --libs gtk+-2.0` test-fullmode.c,

the compiler output is

/tmp/cceeL4Qj.o: In function `run_full_test':
test-fullmode.c:(.text+0x8bd): undefined reference to
`nice_agent_set_port_range'
test-fullmode.c:(.text+0x8e7): undefined reference to
`nice_agent_set_port_range'
test-fullmode.c:(.text+0x911): undefined reference to
`nice_agent_set_port_range'
test-fullmode.c:(.text+0x93b): undefined reference to
`nice_agent_set_port_range'
test-fullmode.c:(.text+0xa7e): undefined reference to
`nice_agent_set_port_range'
collect2: ld returned 1 exit status

Thanks to all
Best regards
Riccardo


More information about the Nice mailing list