← Back to team overview

touch-packages team mailing list archive

[Bug 1521806] [NEW] undefined reference to glProgramUniform3fv when building opengl app

 

Public bug reported:

A library which is being developed against the nvidia libGL.so fails to link against mesa's libGL.so.
The linker complains:

foo: undefined reference to `glProgramUniform1fv'
foo: undefined reference to `glProgramUniform1i'
foo: undefined reference to `glProgramUniform2fv'
foo: undefined reference to `glProgramUniform3fv'
foo: undefined reference to `glProgramUniform4fv'
foo: undefined reference to `glProgramUniformMatrix3fv'
foo: undefined reference to `glProgramUniformMatrix4fv'
foo: undefined reference to `glXCreateContextAttribsARB'

Is this expected behavior, punishing the developer for not using an extension loader, or something?
Or should mesa export everything nvidia exports?

Sounds like it's expected behavior, given http://sourceforge.net/p/mesa3d/mailman/message/26157363/
but I thought I'd file it in case some other OpenGL noob runs into it.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libgl1-mesa-dev 10.1.3-0ubuntu0.4
ProcVersionSignature: Ubuntu 3.13.0-55.92-generic 3.13.11-ckt20
Uname: Linux 3.13.0-55-generic x86_64
NonfreeKernelModules: veth aufs xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables rfcomm bnep bluetooth coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmw_balloon aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw vmwgfx ppdev ttm parport_pc lp parport drm shpchp mac_hid vmw_vmci i2c_piix4 psmouse vmw_pvscsi vmxnet3 mptspi e1000 floppy mptscsih mptbase pata_acpi
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue Dec  1 15:29:17 2015
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mesa
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1521806

Title:
  undefined reference to  glProgramUniform3fv when building opengl app

Status in mesa package in Ubuntu:
  New

Bug description:
  A library which is being developed against the nvidia libGL.so fails to link against mesa's libGL.so.
  The linker complains:

  foo: undefined reference to `glProgramUniform1fv'
  foo: undefined reference to `glProgramUniform1i'
  foo: undefined reference to `glProgramUniform2fv'
  foo: undefined reference to `glProgramUniform3fv'
  foo: undefined reference to `glProgramUniform4fv'
  foo: undefined reference to `glProgramUniformMatrix3fv'
  foo: undefined reference to `glProgramUniformMatrix4fv'
  foo: undefined reference to `glXCreateContextAttribsARB'

  Is this expected behavior, punishing the developer for not using an extension loader, or something?
  Or should mesa export everything nvidia exports?

  Sounds like it's expected behavior, given http://sourceforge.net/p/mesa3d/mailman/message/26157363/
  but I thought I'd file it in case some other OpenGL noob runs into it.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libgl1-mesa-dev 10.1.3-0ubuntu0.4
  ProcVersionSignature: Ubuntu 3.13.0-55.92-generic 3.13.11-ckt20
  Uname: Linux 3.13.0-55-generic x86_64
  NonfreeKernelModules: veth aufs xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables x_tables rfcomm bnep bluetooth coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel vmw_balloon aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw vmwgfx ppdev ttm parport_pc lp parport drm shpchp mac_hid vmw_vmci i2c_piix4 psmouse vmw_pvscsi vmxnet3 mptspi e1000 floppy mptscsih mptbase pata_acpi
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  Date: Tue Dec  1 15:29:17 2015
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1521806/+subscriptions