Hi there
I downloaded the file MySQL-4.1.0-0.src.rpm. I try to build it by entering:
rpm --rebuild MySQL-4.1.0-0.src.rpm --target=i686 (i have an AthlonXP so the
optimised code should work better).
The problem is that compilation (and hence installation) fails with the
messages:
"
gcc -O3 -DDBUG_OFF -O2 -march=i486 -mcpu=i686 -rdynamic -o isamchk isamchk.o
sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a
.../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
.../mysys/libmysys.a(my_t empnam.o)(.text +0x4e): In function `my_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
.../mysys/libmysys.a(raid .o)(.text+0x95) : In function `my_raid_create ':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid .o)(.text+0x10f ): In function `my_raid_create ':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid .o)(.text+0x195 ): In function `my_raid_open':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid .o)(.text+0x208 ): In function `my_raid_open':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid .o)(.text+0x785 ): In function `my_raid_close' :
: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha'
make: *** [all] Error 2
Bad exit status from /var/tmp/rpm-tmp.46261 (%build) "
I don't have any scsi or raid devices on my computer. DO i need to install
any drivers in order to use this package? Is there an error in the source
code that fails the compilation?
Can anybody give me some help?
Ioannis
PS: I am running SuSE Linux 8.2 professional.
I downloaded the file MySQL-4.1.0-0.src.rpm. I try to build it by entering:
rpm --rebuild MySQL-4.1.0-0.src.rpm --target=i686 (i have an AthlonXP so the
optimised code should work better).
The problem is that compilation (and hence installation) fails with the
messages:
"
gcc -O3 -DDBUG_OFF -O2 -march=i486 -mcpu=i686 -rdynamic -o isamchk isamchk.o
sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a
.../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
.../mysys/libmysys.a(my_t empnam.o)(.text +0x4e): In function `my_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
.../mysys/libmysys.a(raid .o)(.text+0x95) : In function `my_raid_create ':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid .o)(.text+0x10f ): In function `my_raid_create ':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid .o)(.text+0x195 ): In function `my_raid_open':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid .o)(.text+0x208 ): In function `my_raid_open':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid .o)(.text+0x785 ): In function `my_raid_close' :
: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha'
make: *** [all] Error 2
Bad exit status from /var/tmp/rpm-tmp.46261 (%build) "
I don't have any scsi or raid devices on my computer. DO i need to install
any drivers in order to use this package? Is there an error in the source
code that fails the compilation?
Can anybody give me some help?
Ioannis
PS: I am running SuSE Linux 8.2 professional.