Subject: devel/glib2 fails on Linux with "syntax error in VERSION script"
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 03/16/2007 12:58:18
devel/glib2 fails on Linux with "syntax error in VERSION script". This is
on Ubuntu.
gcc -shared .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o
.libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o
.libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o
.libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o
.libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o
.libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o
.libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o
.libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o
.libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o
.libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o
.libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o
.libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o
.libs/gprintf.o .libs/giounix.o .libs/gspawn.o -Wl,--whole-archive
libcharset/.libs/libcharset.a -Wl,--no-whole-archive
-L/opt/pkgsrc/pkgsrc/devel/glib2/work/.buildlink/lib -Wl,-R/usr/pkg/lib
-Wl,-soname -Wl,libglib-2.0.so.0 -Wl,-version-script
-Wl,.libs/libglib-2.0.ver -o .libs/libglib-2.0.so.0.1200.9
/usr/bin/ld:.libs/libglib-2.0.ver:2: ignoring invalid character `\001' in
script
/usr/bin/ld:.libs/libglib-2.0.ver:2: syntax error in VERSION script
collect2: ld returned 1 exit status
That work/glib-2.12.9/glib/.libs/libglib-2.0.ver file contains a CTRL-A:
{ global:
^A;
local: *; };
I am trying to track down what generated this.
Jeremy C. Reed