LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't '$make xconfig' anymore - undefined reference (https://www.linuxquestions.org/questions/slackware-14/cant-%24make-xconfig-anymore-undefined-reference-523973/)

bioe007 01-30-2007 02:08 AM

can't '$make xconfig' anymore - undefined reference
 
i seem to have done something bad to my Slack-11 dell laptop. :D

In the interest of full disclosure it bears mentioning I have been screwing with (up) ATI drivers and direct rendering etc.. upon realizing my card was supported by Xorg's drivers I have since removed the proprietary ATI drivers (by running sh ./ati-uninstall.sh -> something like that anyway). I have also been compiling lots of kernels to try and get the DRI working.

but thats a different problem, now I am getting this error when I try and make xconfig:

Code:

perry@slkwr:~/src/linux-2.6.19.1$ make xconfig
  CHECK  qt
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
  HOSTCC  scripts/kconfig/kconfig_load.o
/usr/lib/qt/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
  HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
/usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2c63): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeQueryVersion'
/usr/X11R6/lib/libGL.a(glxcmds.o)(.text+0x2c98): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2
perry@slkwr:~/src/linux-2.6.19.1$

it seems that '$make menuconfig' is still working though, and '$make oldconfig' does not appear to have any errors, but I lose the top of it in the console. I am now worried/wondering whats going on here - and of course how i can fix it.

I am working with kernel 2.6.19.1, and have several working versions. this is the first time I've come across this error. My machine otherwise seems to be working ok, x is running (sans DRI)

I also have a backup source directory, and I get the same error from there.

-Does the ATI uninstaller shell do something bad to Slackware?

-Is there something else I need to fix after uninstalling the ATI drivers?

Let me know if any more info could be helpful. many thanks!

Alien Bob 01-30-2007 02:23 AM

This happened most probably because that Ati installer replaced your /usr/lib/libGL.* files and unintalling the driver has not replaced the original files.

Try re-installing the x1 and x11-devel packages, or else try extracting those missing libGL files from the two packages and copy them to the correct location.

Eric

bioe007 01-30-2007 05:47 PM

thanks,

will do.

bioe007 01-31-2007 01:31 AM

stupid question:

Quote:

Originally Posted by Alien Bob
...the x1 and x11-devel packages...

do you mean the 'x11 and x11-devel' packages?

I have no x1 package...

no I'm not being a smart @ss - i really looked for an x1 package, i don't have one, am I supposed to?

sorry if my newbie is showing :D

bioe007 01-31-2007 01:36 AM

HA!

it worked - i re-installpkg'd both x11-6.9.0* and x11-devel* , restarted X and xconfig is up and running now.

thanks!

now if i could just remember why i was going to recompile my kernel... :)


All times are GMT -5. The time now is 02:32 AM.