Mailing List Archive

Support open source code!


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

tlug: Problems with gcc and gtk on IRIX 6.2




I work on Indigo 2 with IRIX 6.2. I have a problem with the gcc compiler.
I want use the gtk libraries for my programs and if I try to compile the
examples of these libraries I have no problems (for example 
gcc `gtk-config --cflags` helloworld.c -o helloword `gtk-config --libs`
it's OK), but when I try to link some libraries (the audio library) then I
have many problems. For reference, here is a problem: 
 
gcc -I/usr/include -I/usr/include/CC -o gtkprova -laudiofile -laudioutil
gtkprova.o audio.o `gtk-config --cflags` `gtk-config --libs` -L/usr/lib32

ld: WARNING 84: /usr/lib32/libaudiofile.so is not used for resolving any
symbol. 
ld: WARNING 85: definition of __register_frame_info_table in
/usr/local/lib/libgtk.so preempts that definition in
/usr/local/lib/libgdk.so. 
ld: WARNING 85: definition of __frame_state_for in
/usr/local/lib/libgtk.so preempts that definition in 
/usr/local/lib/libgdk.so. 
ld: WARNING 85: definition of __register_frame_info in
/usr/local/lib/libgtk.so preempts that definition
in /usr/local/lib/libgdk.so. 
ld: WARNING 85: definition of __deregister_frame_info in
/usr/local/lib/libgtk.so preempts that
definition in /usr/local/lib/libgdk.so. 
ld: WARNING 85: definition of __register_frame_info_table in
/usr/local/lib/libgdk.so preempts that
definition in /usr/local/lib/libgmodule.so. 
ld: WARNING 85: definition of __frame_state_for in
/usr/local/lib/libgdk.so preempts that definition in
/usr/local/lib/libgmodule.so. 
ld: WARNING 85: definition of __register_frame_info in
/usr/local/lib/libgdk.so preempts that definition
in /usr/local/lib/libgmodule.so. 
ld: WARNING 85: definition of __deregister_frame_info in
/usr/local/lib/libgdk.so preempts that
definition in /usr/local/lib/libgmodule.so. 
ld: WARNING 85: definition of __register_frame_info_table in
/usr/local/lib/libgmodule.so preempts that
definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __frame_state_for in
/usr/local/lib/libgmodule.so preempts that definition
in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __register_frame_info in
/usr/local/lib/libgmodule.so preempts that
definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __deregister_frame_info in
/usr/local/lib/libgmodule.so preempts that
definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __register_frame_info_table in
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/libgcc.a(frame.o)
preempts that definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __frame_state_for in
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/libgcc.a(frame.o)
preempts that definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __deregister_frame_info in
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/libgcc.a(frame.o)
preempts that definition in /usr/local/lib/libglib.so. 
ld: WARNING 85: definition of __register_frame_info in
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/libgcc.a(frame.o)
preempts that definition in /usr/local/lib/libglib.so. 
ld: ERROR 33: Unresolved text symbol "ALnewconfig__Fv" -- 1st referenced by
gtkprova.o.
ld: ERROR 33: Unresolved text symbol "ALsetchannels__FP9_ALconfigl" -- 1st
referenced by gtkprova.o. 
ld: ERROR 33: Unresolved text symbol "ALsetsampfmt__FP9_ALconfigl" -- 1st
referenced by gtkprova.o. 
ld: ERROR 33: Unresolved text symbol "ALsetwidth__FP9_ALconfigl" -- 1st
referenced by gtkprova.o. 
ld: ERROR 33: Unresolved text symbol "ALopenport__FPCcT0P9_ALconfig" -- 1st
referenced by gtkprova.o. 
ld: ERROR 33: Unresolved text symbol "ALwritesamps__FP7_ALportPvl" -- 1st
referenced by gtkprova.o. 
ld: ERROR 33: Unresolved text symbol
"afOpenFile" -- 1st referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "cerr" -- 1st
referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "__ls__7ostreamPCc" -- 1st referenced
by audio.o. 
ld: ERROR 33: Unresolved text symbol "endl__FR7ostream" -- 1st referenced
by audio.o. 
ld: ERROR 33: Unresolved text symbol "__ls__7ostreamPFR7ostream_R7ostream"
-- 1st referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "afGetRate" --
1st referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "afGetChannels" -- 1st referenced by
audio.o. 
ld: ERROR 33: Unresolved text symbol "afGetSampleFormat" -- 1st referenced
by audio.o. 
ld: ERROR 33: Unresolved text symbol "afGetFrameCount" -- 1st referenced
by audio.o.
ld: ERROR 33: Unresolved text symbol "afCloseFile" -- 1st referenced by
audio.o. 
ld: ERROR 33: Unresolved text symbol "afReadFrames" -- 1st
referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "afSeekFrame" -- 1st referenced by
audio.o. 
ld: ERROR 33: Unresolved text symbol "_$_13Iostream_init" -- 1st
referenced by audio.o. 
ld: ERROR 33: Unresolved text symbol "__13Iostream_init" -- 1st referenced
by audio.o.
ld: INFO 60: Output file removed because of error.
*** Error code 1 (bu21)

I hope you can help me. Thanks Ale.


-------------------------------------------------------------------
Next Nomikai: TBD                    Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: June 12 (Sat), 12  :30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links